How can I include an HTML in the footer when sending an email through Splunk infrastructure?


I am sending an email trough splunk infrastructure, it's not related at all with Alarms. I'm just using Splunk to send an email from the dashboard trough Javascript

 var searchSendEmail = "| sendemail to=" + to + " from=" + from + " subject=" + subject +  " message=" + message;
 sendEmail = new SearchManager({
                earliest_time: "-24h@h",
                search: searchSendEmail

How can I include HTML in the footer so I can apply some branding to my email ? I wanted to put an Image in it. I'm not looking for a pdf solution


@greggz, although this does not answer the HTML part, but footer is an optional parameter for sendemail command which you can use to change the default Splunk email Footer text with the footer text of your choice. Refer to the documentation:

Check out Alert Manager App which allows you to use/modify email template for alerts

| makeresults | eval message= "Happy Splunking!!!"
0 Karma


@niketnilay For some reason that parameter didn't work for me, it didn't overwrite the default.

0 Karma
Get Updates on the Splunk Community!

Happy CX Day, Splunk Community!

Happy CX Day, Splunk Community! CX stands for Customer Experience, and today, October 3rd, is CX Day — a ...

Splunk Observability Cloud | Customer Survey!

If you use Splunk Observability Cloud, we invite you to share your valuable insights with us through a brief ...

.conf23 | Get Your Cybersecurity Defense Analyst Certification in Vegas

We’re excited to announce a new Splunk certification exam being released at .conf23! If you’re going to Las ...