I have a dynamically populated dropdown. Depending on other input values, no values should be populated. However, when this is the case, this error message is displayed below the dropdown, "Search produced no results". How can I stop this error message from displaying?
You need to make sure the search finds something. The appendpipe
command should do it.
... | appendpipe [ stats count | eval dropdownField="N/A" | where count==0 | fields - count ]