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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...