Hi @msunilreddy
The get the triggered alerts you can use the REST API endpoint:
/alerts/fired_alerts/
https://docs.splunk.com/Documentation/Splunk/latest/RESTREF/RESTsearch#alerts.2Ffired_alerts
You can then iterate over the returned alerts to check if they are within 5 minutes and also use the "sid" to determine their host, source, response etc
🌟 Did this answer help you? If so, please consider:
Your feedback encourages the volunteers in this community to continue contributing