Dashboards & Visualizations

Line chart drilldown question.

aarzhang
New Member

query:
index=app sourcetype=XXXX eventName=xxx | bucket _time span=1m | stats count as total, count(eval(success="false")) as failureCount by _time, eventName | eval successRate=100*(total-failureCount)/total | xyseries _time eventName successRate

I build a line chart like the image.
Now , I want to add drilldown function, how can I get the eventName when I click down.
I have try $click.value$ , $row.field$, $click.value2$, but failed.

alt text

Tags (1)
0 Karma
1 Solution

somesoni2
Revered Legend

Since the value that want to capture is the label/field name for y-axis, try using $click.name2$.

See more details here. Open the link and search for "chart (event tokens)"

http://docs.splunk.com/Documentation/Splunk/6.2.5/Viz/PanelreferenceforSimplifiedXML#Drilldown_eleme...

View solution in original post

0 Karma

somesoni2
Revered Legend

Since the value that want to capture is the label/field name for y-axis, try using $click.name2$.

See more details here. Open the link and search for "chart (event tokens)"

http://docs.splunk.com/Documentation/Splunk/6.2.5/Viz/PanelreferenceforSimplifiedXML#Drilldown_eleme...

0 Karma
Get Updates on the Splunk Community!

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...

Index This | What goes away as soon as you talk about it?

May 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...

What's New in Splunk Observability Cloud and Splunk AppDynamics - May 2025

This month, we’re delivering several new innovations in Splunk Observability Cloud and Splunk AppDynamics ...