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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...