Skip to main content
Splunk Lantern

Managing O365 workloads

Applicability

  • Product: Splunk Enterprise or Splunk Cloud Platform
  • Feature: Search
  • Function: Workload management

Problem

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. 

Solution

To optimize the search shown below, you should specify an index and a time range.

  1. Run the following search:
    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
    

Explanations

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.

Additional resources

These additional Splunk resources might help you understand and implement these recommendations:

  • Was this article helpful?