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
SplunkTrust
SplunkTrust

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
SplunkTrust
SplunkTrust

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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...