Alerting

Search Head Cluster : Duplicate alert action

andrei1bc
Communicator

Hi,

I have a search head cluster with 3 members, that connects to an index cluster of 10 members. Both clusters are running version 7.0 with no replication or performance issues. The search head cluster has an additional alert action installed on all nodes, that performs an API call to an external system.

Whenever an alert is triggered, the action is executed by 2 of the search head cluster members, generating duplicate API calls.

Please assist and thanks in advance.

Regards,
Bogdan

0 Karma

somesoni2
Revered Legend

Check scheduler logs (index=_internal sourcetype=scheduler) for your alert search to see if the first invocation was completed successfully or not (I believe it should have an event with status=delegated_remote_completion or something). It it was not, they the captain might have assumed it was not completed and fired it again.

0 Karma

PowerPacked
Builder

Hi @andrei1bc

as somesoni2, mentioned you can look into index=_internal sourcetype=scheduler savedsearch_name=yoursearchname status=success/skipped/delegated/delgated_remote_error/delgated_remote_completion to analyze why its running twice

& also you can look into
index=_introspection sourcetype=splunk_resource_usage component=PerProcess data.process=splunkd data.process_type=search ------- search_props section will list out on what search head the search is running and many other things.

Thanks

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...