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!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...