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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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