Dashboards & Visualizations

Autolist for dropdown from lookup

rakesh_498115
Motivator

Hi.

I have a lookup file which contains a series of fields..Now i want these fields to be loaded in the dropown box in the form..How can do it ??

Please help

Tags (1)
0 Karma

sowings
Splunk Employee
Splunk Employee

Assuming you're using the Simple Form XML, you want to have a '<input' with 'type="dropdown"' and then having a populatingSearch that uses 'inputlookup' (and perhaps uses a fields command to select one field from the contents of the lookup.

You can read this page about inputlookup, and this page about form inputs.

travis_bear
Explorer

This answer could benefit by including an example xml snippet

0 Karma

sowings
Splunk Employee
Splunk Employee

Unfortunately, it seems we don't. There's the 'typeahead' search function, but it's currently only wired up to the search bar in the "flashtimeline" view. At the moment, it seems it's not easy to do what you've asked.

0 Karma

rakesh_498115
Motivator

Do We have any alternative for the above mentioned problem...??

0 Karma

rakesh_498115
Motivator

Hi Sowings..

I dont want to use dropdown since i had a huge list of input variables in lookup.instead i want to use textbox and want to autocomplete the input data on the textbox.

i.e if i type "A" in the textbox , All the inputs that start with "A" should appear below the textbox..this is similar to our basic search textbox we use in splunk..ie if we type anything it will give the list of available options ryt ? . In that fashion i need for my form...

Please Help...

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...