Alerting

How do I include the host field in my real-time alert

danieldu
Engager

The Alert:

(host="x.x.x.254" OR host="x.x.x.253" OR host="x.x.x.54" OR host="x.x.x.253") "%PIM-5-NBRCHG" DOWN interface "port-channel*"

The Output:

2015-01-07T10:01:29-0500 <189>294832: 307113: Jan 7 10:01:29 EST: %PIM-5-NBRCHG: neighbor x.x.x.73 DOWN on interface Port-channel15 non DR

So the alert is fine, but how do I know which of the four host its coming from, need to see "host" with the alert. New to this, so appreciate the help.

Tags (3)
0 Karma
1 Solution

somesoni2
Revered Legend

If you're showing the raw event in the alert email, add following to the end if the alert search

| table host, _raw

View solution in original post

somesoni2
Revered Legend

If you're showing the raw event in the alert email, add following to the end if the alert search

| table host, _raw

Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...