Dashboards & Visualizations

Remove " Search produced no results" error


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?

0 Karma


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 ]
If this reply helps you, an upvote would be appreciated.
0 Karma
Did you miss .conf21 Virtual?

Good news! The event's keynotes and many of its breakout sessions are now available online, and still totally FREE!