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
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...