Dashboards & Visualizations

Visualize Single value format

tb5821
Communicator

I have my search that currently returns:

name | HH:MM:SS | Val in Seconds

Now I can get my single val stat to display the HH:MM:SS but that doesn't help me when it comes to wanting to range/color the values - is there a way to have the colorize use the val in seconds while the actual single val stat uses the HH:MM:SS to display??

Labels (1)
Tags (1)
0 Karma

niketn
Legend

@tb5821  If you are fine with the use Simple XML JS Extension you can use the following:

https://community.splunk.com/t5/Dashboards-Visualizations/Change-row-color-when-the-field-quot-time-...

If you want to keep the solution to only Simple XML, you can use two columns with one for Display and other for Color and use the approach from following answers (it highlights the complete row using foreach, you would need to restrict to Single column with data concatenated for display and color. https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-font-color-based-on-a-condit...

____________________________________________
| 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, ...