Dashboards & Visualizations

How to color certain columns in mail body?

asish_100
New Member

Hi,

I have a tabular format which is sent as a mail.Below give is the tabular format:

Name BookedHours Violation(in percentage)
XYZ 16 if hours less than 20 then red color
ABC 22 otherwise green

I need to color the violation column as specified in the mail alert.
Is there any way of achieving this?
Thanks in Advance

Tags (1)
0 Karma

niketn
Legend

@asish_100 can you try the sendresults app from Splunkbase to see if you can apply html table formatting to results?

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...