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!

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

[Puzzles] Solve, Learn, Repeat: Nested loops in Event Conversion

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Your Guide to Splunk Digital Experience Monitoring

A flawless digital experience isn't just an advantage, it's key to customer loyalty and business success. But ...