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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...