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!

Observability Highlights | January 2023 Newsletter

 January 2023New Product Releases Splunk Network Explorer for Infrastructure MonitoringSplunk unveils Network ...

Security Highlights | January 2023 Newsletter

January 2023 Splunk Security Essentials (SSE) 3.7.0 ReleaseThe free Splunk Security Essentials (SSE) 3.7.0 app ...

Platform Highlights | January 2023 Newsletter

 January 2023Peace on Earth and Peace of Mind With Business ResilienceAll organizations can start the new year ...