Dashboards & Visualizations

How to drill down from dashboard to filtered report?

Path Finder

I am trying to drill down from a dashboard with a stacked bar chart to a filtered report, based on the bar selected.

I understand conceptually how tokens work, but I don't see an option in the drill down menu to do what I want.

  • I can link to a custom search, but that shows the user a report with the events open, rather than the report table
  • I can link to a report, but don't have the option to add a token to pass along (to filter by)

How can I accomplish this task?

0 Karma
1 Solution

Legend

@rkassabov tokens are available only in Dashboards. Only Time input is available in Report even that can not be passed as a form token.

For your use case you can definitely create a Dashboard similar to the report you want to drill down to. That way you can use form tokens to be passed to the target dashboard from the source dashboard with drilldown.

For example

    <drilldown>
      <link target="_blank">/app/<YourAppName>/<YourDashboardName>?form.<targetDashboardTokenName>=$click.name2$</link>
    </drilldown>
____________________________________________
| makeresults | eval message= "Happy Splunking!!!"

View solution in original post

Legend

@rkassabov tokens are available only in Dashboards. Only Time input is available in Report even that can not be passed as a form token.

For your use case you can definitely create a Dashboard similar to the report you want to drill down to. That way you can use form tokens to be passed to the target dashboard from the source dashboard with drilldown.

For example

    <drilldown>
      <link target="_blank">/app/<YourAppName>/<YourDashboardName>?form.<targetDashboardTokenName>=$click.name2$</link>
    </drilldown>
____________________________________________
| makeresults | eval message= "Happy Splunking!!!"

View solution in original post

Legend

@rkassabov, if this has helped please accept the answer to mark the question as answered!

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"

Path Finder

Thanks! How would I then use this token on the new dashboard to filter the table data?

0 Karma

Legend

You can use the targetDashboardTokenName in your query to filter out results specific for the token (if possible in base search). You can refer to Splunk Dashboard Examples App on Splunkbase for Drilldown Options.

Using a form token implies you will have to create an input like dropdown or text box. If you do not want users to input/override the token value you can add depends="$someTokenNameNeverUsed$" to the input. Example of depends and rejects is also present in Splunk Dashboard Examples app.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Don’t Miss Global Splunk
User Groups Week!

Free LIVE events worldwide 2/8-2/12
Connect, learn, and collect rad prizes
and swag!