Dashboards & Visualizations

Drill down problem: how to pass the row.content to another view name

akdake
Explorer

Hi ,
I meet difficulty in handling drilldown link, the content of table from the first simple xml view are as following
Count sourcetype
34 bbb
56 ccc

now I want to creat drilldown link to open anther view, by passing the field “sourcetype” to the name of another view, which names as bbb OR ccc.
who can tell me how to realize the drilldown?
TKS

0 Karma

somesoni2
SplunkTrust
SplunkTrust

Try like this

<table>
......
......
<drilldown>
  <link>
  /app/YourAppName/YourDrillDownDashboardName?form.sourcetype=$row.sourcetype$
  </link>
</drilldown>
</table>

Updated answer
If both the dashboards are in same app (search in your case), try like this

<table>
......
......
<drilldown>
  <link>
  $row.sourcetype$
  </link>
</drilldown>
</table>
0 Karma

akdake
Explorer

The name of target dashboard is 'bbb' or 'ccc', What we need is jump to the corresponding target dashboard by clicking the line of table , which pass the $row.sourcetype$
For example ,when we click the line including 'bbb' , the dashboard of bbb will be open in new window

0 Karma

akdake
Explorer

I mean the name of another dashboard view is the same with $row.sourcetype$, just like this



/app/search/$row.sourcetype$

Pls. advise me more suggestion. tks.

0 Karma

somesoni2
SplunkTrust
SplunkTrust

Try the updated answer

0 Karma

somesoni2
SplunkTrust
SplunkTrust

What is the name of the dashboard?

0 Karma

sundareshr
Legend

Try this

<drilldown>
  <set token="tok_sourcetype">$row.sourcetype$</set>
</drilldown>
0 Karma

akdake
Explorer

i try , bus it still doesn't work, cannot open the dashboard bbb/ccc. would you pls. give me detail info?

0 Karma

sundareshr
Legend

You should go with @somesoni2 answer.

0 Karma
Get Updates on the Splunk Community!

Observability | How to Think About Instrumentation Overhead (White Paper)

Novice observability practitioners are often overly obsessed with performance. They might approach ...

Cloud Platform | Get Resiliency in the Cloud Event (Register Now!)

IDC Report: Enterprises Gain Higher Efficiency and Resiliency With Migration to Cloud  Today many enterprises ...

The Great Resilience Quest: 10th Leaderboard Update

The tenth leaderboard update (11.23-12.05) for The Great Resilience Quest is out &gt;&gt; As our brave ...