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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...