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!

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...

SignalFlow: What? Why? How?

What is SignalFlow? Splunk Observability Cloud’s analytics engine, SignalFlow, opens up a world of in-depth ...

Federated Search for Amazon S3 | Key Use Cases to Streamline Compliance Workflows

Modern business operations are supported by data compliance. As regulations evolve, organizations must ...