Add filter function to Event API to limit the result by specifying a path collection
Event API result is a list of all updated files in an "entire" site.
For enterprise use-cases, the volume of this returned data is inevitably very large.
Thus, even if a part of site needs to be monitored, the network bandwidth is consumed unnecessarily and it casues the performance issue.
Could you add a filter function to Event API so that the API returns only events related to the files in the specified path collection?
This is the API asking to enhance
Also have this need and specifically want to highlight the need to specify a folder_id and have that return events for all child elements of that folder. We have a top-level folder that we want to monitor which has 500k+ sub-folders.
Just to note that the admin console activity report - which does allow specification of a folder to filter results on - only returns events for that folder and none of the sub-elements underneath it.
It would be better if folder_id works as a root directory; i.e. The API returns the events in the folder_id and its subdirectories.
AdminKyle Adams (Admin, Box) commented
Add file_id, folder_id, and user_id as filters to Enterprise Events APIs.
Currently, the only scalable way to filter/query enterprise events is to persist the data to a 3rd-party data store.