Alerting

How to trigger a query when an alert is triggered

ashwinve1385
Explorer

My requirement is to get the rate of change of a certain parameter if its corresponding alert gets triggered.
To add more details, we have a log file that logs the backlog of database. Once the backlog crosses a certain threshold we trigger an alert, however it could be a false positive since the system may be undergoing maintenance and hence backlog grows.
So I want the alert to trigger another query that captures rate of growth over the last 'x' hours.
This will give more context about what is happening in the system.
How to achieve this in splunk? Please share your ideas

Labels (2)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Build the growth calculation into the alert search such that the alert is only triggered based on both the backlog and the growth

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!

Vibe-coding, AI, and Splunkcraft: Highlights from the .conf26 Builder Bar

If you stopped by the Builder Bar at .conf26, thank you! This year, we brought ...

Thanks for the Memories: .conf26 Took Learning to New Heights

Thank you, Splunk Community, for making .conf26 in Denver one for the books. From packed Splunk University ...

Best Practices: Splunk auto adjust pipeline queue

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