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!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...