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!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...