Alerting

Logic to find spike in metrics log

KS37
New Member
  • Hi All- Good Morning!

Need quick help to find spike of counter from last hour to current hour if it's 20X then it should trigger.

Using mstats and mcatalog.

Thanks in advance.

 

Currently i have pasted sample query to get the view over logging structure.

| Mcatalog values (stack) as stack values(node) as node values(db) as db values(inst) as inst where index= main and [| mstats avg(_value) as value where index=main and counter=Subject or( counter= wells) metric_name=metrices by inst counter span=10m

|Streamstats global=f window=2 range(value) as value by inst counter

 

 

 

 

 

 

 

 

Labels (1)
Tags (1)
0 Karma
Get Updates on the Splunk Community!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...