Splunk Search

Reference Manual for Custom User Interface "Manager XML"

guldendraak
Explorer

When defining a custom modular input in an app, it is possible to design a custom user interface for setting up the parameters of that modular input. Some information on how to do this is available here:
https://docs.splunk.com/Documentation/Splunk/7.2.3/AdvancedDev/ModInputsCustomizeUI

That page shows an example XML definition that contains code that seems to generate GUI elements on the fly. For example this:

<key name="processValueEdit">[[ e for e in ['sourcetype'] if form_defaults.get(e) ][0]]</key>

I was unable to figure out how this works and couldn't find more documentation about it. Any hints where to find more information? Thanks!

Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...