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!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...