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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...