Dashboards & Visualizations

how draw a line connects from plot to plot on scatter chart

r35
Explorer

I would like to draw a line from plot to plot on a scatter chart on a dashboard.

For example;

| makeresults
| eval _raw="play_type,xstart,ystart
touch_start,1,1
touch_end,10,75
kick_start,35,90
kick_end,40,60
throw_start,20,15
throw_end,55,65"
| multikv forceheader=1
| table play_type,xstart,ystart

for this result I would like to draw a line from each *_start point to *_end point, so first one is from "touch_start" to "touch_end", "kick_start" to "kick_end" and last one is from "throw_start" to "throw_end".
How I can draw a line for each? please advise.

Labels (2)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust
| eval play_type=mvindex(split(play_type,"_"),0)
| xyseries xstart play_type ystart

Use line chart visualisation with connect between points

ITWhisperer_0-1613404225642.png

 

View solution in original post

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
| eval play_type=mvindex(split(play_type,"_"),0)
| xyseries xstart play_type ystart

Use line chart visualisation with connect between points

ITWhisperer_0-1613404225642.png

 

0 Karma

r35
Explorer

Thank you, ITWhisper. This solution works well.

0 Karma
Get Updates on the Splunk Community!

More Control Over Your Monitoring Costs with Archived Metrics!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...