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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...