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

niketnilay
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
.conf21 Now Fully Virtual!
Register for FREE Today!

We've made .conf21 totally virtual and totally FREE! Our completely online experience will run from 10/19 through 10/20 with some additional events, too!