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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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