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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...