Alerting

alert

vinod_52791
Engager

HI 

i am getting below response from my Splunk query, please refer below screenshot

vinod_52791_0-1637575852875.png

If you see the above screenshot you can see the result is 92.20%,my requirement is i need to send an alert when ever the percentage is below98.00%

so could you please suggest proper query in order to trigger an alert when ever the result from query is below 98.00% in a time frame of 1 hour

Labels (1)
Tags (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Remove the "%" from successrate.  Add | where successrate < 98 to the end of the query.  If necessary, you can use an eval after that to put the "%" back.  Configure the alert to trigger if there are more than zero results returned by the query.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Reuse: Word-play

This puzzle series (first published here) is based on analysing words.Some of the statements in your puzzle ...

Tuning Edge Processor in Hybrid Mode: What Limits Each Data Path

When you run Edge Processor in hybrid mode, alongside a Splunk heavy forwarder on the same host, two questions ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...