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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...