Dashboards & Visualizations

How to pass parameters to report from dashboard?

shail2smart
New Member

How to pass a parameter to report (/report) which is called on click of a column within dashboard panel?

<drilldown>
          <condition field="Unfulfilled Count">
            <link target="_blank">/app/gnt-tok/report?s=App Exception Report</link>
          </condition>
</drilldown>
0 Karma

DalJeanis
Legend

You are using a <link>, so you would pass a parameter as a URL key/value pair.

4) <link> [path/viewname?form.token=$dest_value$&earliest=$earliest$&latest=$latest$] </link>

You basically concatenate together a number of items in the form &keyword=$tokenname$, although the first one gets the ? instead.

There are more examples on this page ... http://docs.splunk.com/Documentation/Splunk/6.2.2/Viz/PanelreferenceforSimplifiedXML#link

0 Karma

DalJeanis
Legend

The square braces are NOT part of the code there, and I would not put any space between the open tag <link> and the start of the url, or between the end of the url and the start of the close tag `.

0 Karma

elliotproebstel
Champion

When you say you want to pass a parameter to a report, what do you mean? Generally, I've used drilldowns to pass parameters to forms on dashboards. Are you loading the saved report in the context of another dashboard?

0 Karma
Get Updates on the Splunk Community!

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...