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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...