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!

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 ...