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!

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

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 ...