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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...