Splunk Search

Feature Suggestion: Panel-local variables for prebuilt panels

madkins23
New Member

Prebuilt panels would be more useful if they allowed local variables. This would parallel the way macros allow arguments.

Local variables at the panel (and possibly row) levels would allow multiple instantiations of the same prebuilt panel to be used on the same page. Right now these must be provided inline.

Suggested syntax:

<panel ref="prebuilt-panel">
    <set token="some-token">some-value</set>
</panel>

This would save many lines of code for me in my current Splunking endeavors. Row-level scope might be nice as well, but panel-level would be enough.

0 Karma

dvb
Path Finder

This would help me as well

0 Karma
Get Updates on the Splunk Community!

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

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

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