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
Revered Legend

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
Revered Legend

Try the updated answer

0 Karma

somesoni2
Revered Legend

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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...