Dashboards & Visualizations

Incorrect value displayed in chart tool tip

nathanallen
Engager

The values being fed into the chart are correct, and the chart is rendering with the correct y-axis values, but the tool tip displays "1e,-20" over the entire series, when it should display 154.73013305664062 (plus or minus a few tenths). I've seen this happen at random points in other charts, but never over the entire series. Can anyone explain what might be happening?

index=test label="ion source voltage 1" | 
eval isabs=abs('payload.raw_value') |
convert ctime(_time) as time timeformat="%m/%d/%Y %H:%M:%S" |
xyseries time, label, isabs

alt text

Tags (1)
0 Karma
1 Solution

niketn
Legend

@natanallen, seems like more than 16 digits will be transformed to exponential number. If you can live with rounded off values you can try the following:

| eval isabs=round(abs('payload.raw_value'),15)
____________________________________________
| makeresults | eval message= "Happy Splunking!!!"

View solution in original post

niketn
Legend

@natanallen, seems like more than 16 digits will be transformed to exponential number. If you can live with rounded off values you can try the following:

| eval isabs=round(abs('payload.raw_value'),15)
____________________________________________
| makeresults | eval message= "Happy Splunking!!!"

nathanallen
Engager

That did it. Thank you!

0 Karma

niketn
Legend

@nathanallen, glad it worked! I have converted to answer. Please accept to mark this as answered.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...