Hi,
Is there any way to get all the values in the column from the lookup table to build the default choice option in the drop-down? I want to remove the hard-coded list of hosts in the default and populate it from the look up. I don't want to use static option with All=* as it may pull other host names when I will add the records in the lookup for other environment/location values.
Can some one advise, please?
<input type="multiselect" token="host" searchWhenChanged="true">
<label>VM Host</label>
<prefix>host=</prefix>
<delimiter> OR host=</delimiter>
<search>
<query>| inputlookup gw_host.csv
| search environment=stage
| dedup hostname
| fields hostname</query>
<earliest>-15m</earliest>
<latest>now</latest>
</search>
<fieldForLabel>host</fieldForLabel>
<fieldForValue>hostname</fieldForValue>
<default>h101,h102,h103</default>
</input>
File: gw_host.csv
location,environment,hostname
1,stage,h101
2,stage,h102
3,stage,h103
Thanks,
AJ.
... View more