Hey,
I have a query that checks for SharePoint downloads - sanitised query below:
where("source_json.Workload" = "SharePoint" AND "action" = "FileDownloaded"),loose) groupby( "source_json.ObjectId")
This will trigger an alert if there are more than X amount of downloads from SharePoint over a 1 hour period.
Annoyingly, with SharePoint, it will generate multiple download logs per item thats accessed.
The query currently totals up all users downloads over X period, rather than an individual user downloads.
What i want to do is something like:
For each user, if they have downloaded more than X files, raise an alert.
I am not sure how to focus the query like this.
Any ideas?