Archive

How can I pass parameters to Prebuilt Panels

Path Finder

I want to use common panels across many dashboards. This way I can modify one object, and update all related dashboards. This is an important software principle of Don't Repeat Yourself.

It seems prebuilt panels are very static and do not allow you to pass parameters or use tokens. Can anyone help me use tokens or pass parameters to a prebuilt panel?

0 Karma

Path Finder

It appears you can use tokens in prebuilt panels, but not pass specific parameters.

Example prebuilt panel XML

<panel>
  <table>
    <search>
      <query>index=_internal source=*splunkd.log data_host=$host_pattern$* data_sourcetype=$source_type_pattern$
0 Karma
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!