Splunk Search

Multi-objects performance monitor

sieutruc
Contributor

Hello,

I have a question about how to monitor disk performance, but it requires several related object counters at the same instance of time . That means i create one data input for memory object containing:page/s, avg read byte/s, avg write byte/s; and disk object as above:disk bytes/s; % disk read times... with different polling interval for each object. How can i can combine 2 data inputs together in real time search to make an alert if there is a problem ? For example:if there is a disk problem, maybe disk object is full at the same time with burden of data in memory object too, we need counters from 2 objects to analyse such a problem , can you help me ?

Tags (1)
0 Karma

tfletcher_splun
Splunk Employee
Splunk Employee

Depends on how you are inputting your data. Say you bring in all of the disk performance data under sourcetype="perf" and every object is tagged in a field in the events as objId=GUID. Say you wanted to alert if two metrics, metric1 and metric2 were above 90 for the same object in a 1 minute interval of time:

sourcetype="perf" | bucket _time span=1m | stats max(metric1) as m1 max(metric2) as m2 by objId, _time | search m1>90 m2>90 | table objId m1 m2 _time

You then schedule this search and set it to alert you if there are more than 0 results.

0 Karma
Get Updates on the Splunk Community!

Observability Unlocked: Kubernetes Monitoring with Splunk Observability Cloud

 Ready to master Kubernetes and cloud monitoring like the pros? Join Splunk’s Growth Engineering team for an ...

Update Your SOAR Apps for Python 3.13: What Community Developers Need to Know

To Community SOAR App Developers - we're reaching out with an important update regarding Python 3.9's ...

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...