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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...