Alerting

Structure modification of message alert

evang_26
Communicator

Hello Splunk users,

I am eager to know if there is any way to modify the message generated by alerts in terms of structure in order to make it a little bit shiny. Whenever I receive an email alert, is kind of just letters and only a simple html-like table. I want to modify the colors, table and so on.
Could you please me tell where to look to, so as to modify the code there?

Any suggestions are greatly appreciated!
Evang

Tags (3)
0 Karma
1 Solution

tararso
Explorer

You can modify sendemail.py located under $SPLUN_KHOME\etc\apps\search\bin.

View solution in original post

tararso
Explorer

You can modify sendemail.py located under $SPLUN_KHOME\etc\apps\search\bin.

MuS
Legend

Just a reminder: sendemail.py could be overwritten by any Splunk update. So keep that in mind if you change it 😉

evang_26
Communicator

Thanks again Tararso,

I'll try to make it done and let you know.

Regards,
Evang

0 Karma

tararso
Explorer

not in the manager. You need to open sendemail.py from splunk installed folder which is located under $SPLUN_KHOME\etc\apps\search\bin

0 Karma

evang_26
Communicator

Hi Tararso,

Thanks for your reply. I am new to Splunk, would you mind guide me through the $SPLUN_KHOMEetcappssearchbin?
Is it somewhere on the manager?

Thanks,
Evang

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...