Dashboards & Visualizations

Drill down from timechart to another dashboard

Marco
Communicator

Hello Splunkers,

I am currently displaying the results of different reports in a time chart. What I would like to do is when a user clicks on a specific line on the graph it redirects them to another dashboard.

For Example:

If the User clicks the blue line (Report 1) it would redirect them to the dashboard one

If the User clicks the Red line (Report 2) it would redirect them to the dashboard two

....

 

Aggregate Reports.png

 

 

 

 

Below is the XML I have coded up:

<dashboard theme="dark"><label>Reports </label>
<row>
<panel>
<chart>
<title>Total AA's</title>
<search ref="Total Reports"></search>
<option name="charting.drilldown">all</option>
<drilldown>
<set token="Report1">$click.name2$</set>
<set token="Report2">$click.name2$</set>
<set token="Report3">$click.name2$</set>
<set token="Report4">$click.name2$</set>
</drilldown>
</chart>
</panel>
</row>
</dashboard>

 

Is there a way to say If user clicks Report2 then go to dashboard2?

 

Labels (8)
0 Karma
1 Solution

Marco
Communicator

I figured it out, you can use these things called conditions inside the drill down.

<drilldown>
<condition field="Report1">
<link>Report1</link>
</condition>
<condition field="Report2">
<link>Report2</link>
</condition>
<condition field="Report3">
<link>Report3</link>
</condition>
<condition field="Report4">
<link>Report4</link>
</condition>
</drilldown>

 

View solution in original post

0 Karma

Marco
Communicator

I figured it out, you can use these things called conditions inside the drill down.

<drilldown>
<condition field="Report1">
<link>Report1</link>
</condition>
<condition field="Report2">
<link>Report2</link>
</condition>
<condition field="Report3">
<link>Report3</link>
</condition>
<condition field="Report4">
<link>Report4</link>
</condition>
</drilldown>

 

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 ...