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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...