Skip to main content
Splunk Lantern

Managing O365 workloads

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. 

Procedure

  1. 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
  2. Examine the workloads shown to find one you want to investigate. Then update the search as follows:
    sourcetype="ms:o365:management" Workload=<workload>
    | stats VALUES(src_ip) VALUES(ClientIP) VALUES(Operation) count BY UserId
    

Search explanation

Splunk Search Explanation
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.

Next steps

This additional Splunk resource might help you understand and implement these recommendations:

Need technical help? Explore our customer success resources to find education and training, engage experts through OnDemand services, view support options, and more.