Dashboards & Visualizations

How to drill down from dashboard to filtered report?

rkassabov
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

niketn
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

niketn
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!!!"

niketn
Legend

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

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

rkassabov
Path Finder

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

0 Karma

niketn
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
Get Updates on the Splunk Community!

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...