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!

thellmann
Splunk Employee
Splunk Employee

This is now documented on dev.splunk.com: https://dev.splunk.com/enterprise/reference/modinputs/modinputsmanagerxml/

(sorry for the thread necromancy but I like to leave notes for others who stumble across the same questions)

Get Updates on the Splunk Community!

Message Parsing in SOCK

Introduction This blog post is part of an ongoing series on SOCK enablement. In this blog post, I will write ...

Exploring the OpenTelemetry Collector’s Kubernetes annotation-based discovery

We’ve already explored a few topics around observability in a Kubernetes environment -- Common Failures in a ...

Use ‘em or lose ‘em | Splunk training units do expire

Whether it’s hummus, a ham sandwich, or a human, almost everything in this world has an expiration date. And, ...