- Product: Splunk Enterprise or Splunk Cloud Platform
- Feature: Search
- Function: Workload management
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.
To optimize the search shown below, you should specify an index and a time range.
- Run the following search:
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.
These additional Splunk resources might help you understand and implement these recommendations: