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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...