Alerting

How to trigger an alert to send an email only when the same hosts fails more than once ?

ReachDataScient
Explorer

I have the splunk alert scheduled to run every 5 min to trigger an email to report if any splunk search peer hosts are down.

| rest splunk_server=local / services/search/distributed/peers/
| where status!="Up" AND disabled=0
| fields peerName, status | rename peerName as Instance, status as Status

I want the alert to trigger to send an email only when the same hosts fails more than once as there seems many false positive.
How to achieve this?

0 Karma

maureend_splunk
Splunk Employee
Splunk Employee
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 ...