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!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...