Your organization is trying to cut costs. You're thinking about eliminating SharePoint because many users have switched to other systems that have the same functionality. You want to start tracking operations performed on SharePoint to see how much usage it really gets.
- Run the following search. You can optimize it by specifying an index and adjusting the time range.
sourcetype="ms:o365:management" | stats count by Workload
- Examine the workloads shown to find one you want to investigate. Then update the search as follows:
| stats VALUES(src_ip) VALUES(ClientIP) VALUES(Operation) count BY UserId
|sourcetype="ms:o365:management"||Search only ms:o365:management data.|
|| stats count by Workload||Show the number of events for each O365 workload.|
|Workload=<workload>||Search values for the selected workload, for example, Exchange, OneDrive, or, in this scenario, SharePoint.|
|| stats VALUES(src_ip) VALUES(ClientIP) VALUES(Operation) count BY UserId||
Count the number of events connected to each user on your group and show the unique IP addresses and operations for each user.
The src_ip field is aliased for the Office 365 value “ClientIP,” so these values are identical.
The content in this article comes from a previously published blog, one of the thousands of Splunk resources available to help users succeed.