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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...