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

niketnilay
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
.conf21 CFS Extended through 5/20!

Don't miss your chance
to share your Splunk
wisdom in-person or
virtually at .conf21!

Call for Speakers has
been extended through
Thursday, 5/20!