Dashboards & Visualizations

Single Value Radial - negative values

splunkernator
Path Finder

Hi Forum,

I have written a script that pull off the receive power from optical transceivers on every hour.   All is well with this except, as the values are a measurement in loss, they are negative values in bells.

I would really like to represent this with the single value radial - I can get it to work with a perfectly with a marker gauge but having that "rev counter" type representation would not only be so cool bit so useful to get power readings at  glance on our long range transmission kit, its such a perfect representation I think for this kind of measurement, and would really appeal to that more "scientific" engineering type of audience.

When I use the single value radial I cannot for the life of me work out where I can adjust the scale (ideally -40dBm to 0dBm.  I just expected this to be like managing any other sort of float (I am working with a decimal number, not a string or anything), just to happens to be a negative value.

Am I just missing something really silly?  Any help would be gratefully received - I'm using dashboard studio if that makes a difference.

 

Thank you

Labels (3)
0 Karma

_JP
Contributor

You can use the gauge command to set your limits.

Here is a dummy search where I make up some decibel data:

 

index=_internal | eval decibels=(-1 * date_minute) 
| stats avg(decibels) as avg_decibels
| eval avg_decibels = round(avg_decibels,2)
| gauge avg_decibels -100 -75 -50 0

 

 

I can then use that for the radial chart:

 

decibel.png

splunkernator
Path Finder

if only it was supported in dashboard studio!  will use classic for the time being - thank you!

Tags (1)
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...