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!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...