Scheduled Reports
I am trying to find a way to schedule reports to run at a given time. I understand that the functionality may be done through a custom API since the Box admin panel doesn't have this feature.
I have searched through
https://developer.box.com/v2.0/reference
However, I am not able to get a positive answer on the possibility of doing so successfully. Can you please assist me in getting the correct information? Any online tutorial or training guide video that would assist. Thanks.
-
Hey ,
Thanks for your message - great question! The number one easiest way to do this is with the Box CLI. If you're familiar with the Heroku CLI or even something like the Git CLI, it's exactly like that - you'd call it from the command line with something as simple as "box events get --options". The reason many people like the CLI is that because you can run it from the command line, commands can be scripted or scheduled 🙂
Take a look at the docs and download it here:
https://developer.box.com/docs/command-line-interface-cli
The other option is to make those API calls yourself for our events stream. On one end, you can walk back from the beginning of time in terms of date options, store those events in a local database, and query them / set up database calls entirely customized to your preference. This option gives you the most flexibility, but takes the most work. On the other hand, you could also make API calls for the date ranges and event types that you're concerned with, but the scheduling of your code would be up to you.
What a lot of customers have in place today is a paid third party solution like the Splunk Add-On for Box. Since it's a pre-built solution (owned by Splunk), you'd be able to get set up fairly quickly.
Hope that helps, and good luck! And if anyone else has more insight I'd love to hear about what people are doing out there 🙂
Thanks,
Jason
Post is closed for comments.
Comments
2 comments