Splunk Enterprise

dott chart

spisiakmi
Contributor

Hi, can anybody help to create dott chart?

x-axis: _time

y-axis: points of values of fields: tmp, min_w, max_w

Here is the input table:

spisiakmi_0-1753795529332.png

 

Here is the wished chart:

spisiakmi_1-1753796266262.png

 

Labels (1)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust
| eval row=mvrange(0,2)
| mvexpand row
| eval tmp=if(row==0,tmp,null())
| eval min_w=if(row==0,min_w,null())
| eval max_w=if(row==0,max_w,null())
| fields - row

Use line chart with no joining for nulls

View solution in original post

PickleRick
SplunkTrust
SplunkTrust

You can cheat a bit using normal line chart by selecting to not fill gaps and possibly generating empty rows with no value between valid data points.

But there should be better ways to do it.

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
| eval row=mvrange(0,2)
| mvexpand row
| eval tmp=if(row==0,tmp,null())
| eval min_w=if(row==0,min_w,null())
| eval max_w=if(row==0,max_w,null())
| fields - row

Use line chart with no joining for nulls

spisiakmi
Contributor

Hi ITWhisperer, thank you very much. It is working exactly, as I wish. Thank you.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...