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!

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...