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!

Vibe-coding, AI, and Splunkcraft: Highlights from the .conf26 Builder Bar

If you stopped by the Builder Bar at .conf26, thank you! This year, we brought ...

Thanks for the Memories: .conf26 Took Learning to New Heights

Thank you, Splunk Community, for making .conf26 in Denver one for the books. From packed Splunk University ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...