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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...