Dashboards & Visualizations

How can I pass parameters to Prebuilt Panels

markbarber21
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

markbarber21
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
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...