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
Did you miss .conf21 Virtual?

Good news! The event's keynotes and many of its breakout sessions are now available online, and still totally FREE!