I want to populate the list of hosts in the multiselect input option in Splunk.
index=someIndexName * host!="notThis*" | stats values(host) as host
I can see the list of hosts getting populated in Splunk. However, they are not getting populated in multiselect list. It says "populating" and nothing shows up.
Hi
Try like below
<form>
<label>multiselect</label>
<fieldset submitButton="false">
<input type="multiselect" token="field1">
<label>field1</label>
<fieldForLabel>host</fieldForLabel>
<fieldForValue>host</fieldForValue>
<search>
<query>index=_internal
| stats count by host</query>
</search>
</input>
</fieldset>
</form>
Hi
Try like below
<form>
<label>multiselect</label>
<fieldset submitButton="false">
<input type="multiselect" token="field1">
<label>field1</label>
<fieldForLabel>host</fieldForLabel>
<fieldForValue>host</fieldForValue>
<search>
<query>index=_internal
| stats count by host</query>
</search>
</input>
</fieldset>
</form>