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
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...