Dashboards & Visualizations

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

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

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

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

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

SplunkTrust
SplunkTrust

Try the updated answer

0 Karma

SplunkTrust
SplunkTrust

What is the name of the dashboard?

0 Karma

Legend

Try this

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

Explorer

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

0 Karma

Legend

You should go with @somesoni2 answer.

0 Karma