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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...