Dashboards & Visualizations

How to change the color of the text of the field value in the table?

a_ameerabbas
New Member

How to change the color of the text (not entire row) of the field value in the table in the report/panel based on the field value ?

Tags (2)
0 Karma

niketn
Legend

@a_ameerabbas from Splunk 6.5 an above you should have option to Edit the Table in UI and directly assign Table Cell color based on your requirement. Refer to the Splunk Documentation for assistance: https://docs.splunk.com/Documentation/Splunk/latest/Viz/TableFormatsFormatting#Column_color

You can also use Simple XML JS and CSS extension along with Splunk JS Stack to render table with required formatting. However, this should be applied only if there is no other direct way to apply the same. There are examples for this in Splunk Dashboard Examples App and also on Splunk Answers, refer to one of my older answer with this as one of the example.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...