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 Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...