Dashboards & Visualizations

Hide Search produced no results error from dashboard in Splunk

sag5757
Explorer

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?

Labels (1)
0 Karma
1 Solution

thambisetty
SplunkTrust
SplunkTrust

The message "could not create search" will not disappear until you choose you value from category input. because subcategory field search might be expecting value from category.

make sure you are getting values into subcategory when chosen value in category.

 

Screen Shot 2020-08-04 at 1.44.18 PM.pngScreen Shot 2020-08-04 at 1.43.51 PM.png

————————————
If this helps, give a like below.

View solution in original post

thambisetty
SplunkTrust
SplunkTrust

Not sure how you are using the input parameter in dashboard search.

 

you can create static values in the input you have created and being populated based on another input and set static value as default.  So you will have always a value in the input even if the Search which is used in input generating no results.

————————————
If this helps, give a like below.
0 Karma

sag5757
Explorer

Hi, I have 2 values category and sub category . Sub category is dependent on category . so I have created lookup to get these values in dropdown.. I just want to remove below error below the sub category field.

sag5757_0-1596533099701.png

 

0 Karma

thambisetty
SplunkTrust
SplunkTrust

The message "could not create search" will not disappear until you choose you value from category input. because subcategory field search might be expecting value from category.

make sure you are getting values into subcategory when chosen value in category.

 

Screen Shot 2020-08-04 at 1.44.18 PM.pngScreen Shot 2020-08-04 at 1.43.51 PM.png

————————————
If this helps, give a like below.
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...