Reporting

Alert Email Subject?

diegosainz
Path Finder

Is it possible to get the host name in an alert email subject?

Tags (3)
0 Karma

inventsekar
SplunkTrust
SplunkTrust

Server tokens
Common tokens that provide details available from the Splunk platform server.

Token                    Description
$server.build$          Build number of the Splunk platform instance.
$server.serverName$       Server name hosting the Splunk platform instance.
$server.version$          Version number of the Splunk platform instance.
0 Karma

mrgibbon
Contributor

Late answer I know, but try using $result.host$ 🙂

0 Karma

amgoldschmidt
Explorer

I would also like to know how to do this - $host$ doesn't work for me.

0 Karma

lguinn2
Legend

I think that if you use the $host$ token, it will work.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Kubernetes Alerts That Work Out of the Box with AutoDetect detectors in Splunk ...

A deployment rolls out slowly, one pod sits not ready for a few minutes, and whoever is on call gets an alert ...

Observability at Your Fingertips Directly From Splunk Platform—for Free

At .conf, we announced our roadmap to bring observability foundations to Splunk Platform. Bringing metrics and ...

Accelerate Splunk App Development with AI

  Learn how to automate the repetitive parts of your build cycle.   Watch On-Demand   Replay the Accelerate ...