Alerting

is it possible to set up a single alert for 15 servers?

Abilan1
Path Finder

Hi,

I have 15 servers, I want to set up the same alert for the 15 servers. I am going to use a common search string to search in the all servers log. Is it possible to set up a single alert? also If I set up a single alert how come it will give me the server name in alert?

Thanks,
Abilan

Tags (1)
0 Karma
1 Solution

stephanefotso
Motivator

Let suppose that the host field identify each server. Here yougo!

index=......  host=*  "JDESPECRESULT_JDBFAILED"|table host

Then set up a PerResult alert,

SGF

View solution in original post

0 Karma

stephanefotso
Motivator

Let suppose that the host field identify each server. Here yougo!

index=......  host=*  "JDESPECRESULT_JDBFAILED"|table host

Then set up a PerResult alert,

SGF
0 Karma

Abilan1
Path Finder

Hi Stephane,

Thanks for the help. can you please let me know why we are using Index here?

Regards,
Abilan..

0 Karma

stephanefotso
Motivator

I was in the case, each server is forwarding data to the indexer. But in your case, there is no need to use the index.
Thanks

SGF
0 Karma

woodcock
Esteemed Legend

Yes, mostly. You can do something like this:

... | stats count by server

Then in the Alert set it to trigger an alert for each event returned. I do not know about including the server name in the subject, though.

0 Karma

Abilan1
Path Finder

Thank you. I will check from my side..

0 Karma

stephanefotso
Motivator

I think it is possible. Please what do you want exactly the alert to do with your 15 servers? And also, what is the search query your are using?

SGF
0 Karma

Abilan1
Path Finder

I am going to use this search string "JDESPECRESULT_JDBFAILED". If this string occurs in any of the server logs, I need the server name detail in the alert.

0 Karma
Get Updates on the Splunk Community!

Observability Unlocked: Kubernetes Monitoring with Splunk Observability Cloud

  Ready to master Kubernetes and cloud monitoring like the pros?Join Splunk’s Growth Engineering team for an ...

Wrapping Up Cybersecurity Awareness Month

October might be wrapping up, but for Splunk Education, cybersecurity awareness never goes out of season. ...

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

🗣 You Spoke, We Listened  Audit Trail v2 wasn’t written in isolation—it was shaped by your voices.  In ...