All Apps and Add-ons

Is it possible to get an alert to only detect spikes in data on any host and not a fixed threshold

loureni1
Explorer

Below is the query i have . this can be used with a fixed threshold. I need to know if an host data spikes over a certain percentage and trying to get an alert if such a spike occurs. May be have to compare last one or two hours data .

index=_internal sourcetype=splunkd component=LicenseUsage type=Usage
| bucket span=1h _time
| stats sum(b) as usage by _time h | rename h as host
| eval usageGB=round(usage/1024/1024/1024,3)
| table _time host usageGB
| where usageGB >= 20

0 Karma

tiagofbmm
Influencer
0 Karma

tiagofbmm
Influencer

Please let me know if the answer was useful for you. If it was, accept it and upvote. If not, give us more input so we can help you with that

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...