Dashboards & Visualizations

Splunk not displaying all my saved searches in the UI drop down.

the_wolverine
Champion

As of version 5, Splunk will not display all of your saved searches in the UI drop down if you have more than 500 searches saved.

0 Karma
1 Solution

the_wolverine
Champion

Splunk has configured a limit of 500 searches that can be displayed in the search dropdown. To get around this limit you will need to edit the following line in $SPLUNKHOME/lib/python2.7/site-packages/splunk/appserver/mrsparkle/controllers/view.py

searches = en.getEntities('saved/searches', namespace=app, search='is_visible=1 AND disabled=0', count=500, _with_new='1') 

Raise 500 to the desired value.

Note that Splunk has advised that editing view.py is not supported and will be overwritten by any upgrade. Also be advised that there may be performance implications from raising this value.

View solution in original post

the_wolverine
Champion

Splunk has configured a limit of 500 searches that can be displayed in the search dropdown. To get around this limit you will need to edit the following line in $SPLUNKHOME/lib/python2.7/site-packages/splunk/appserver/mrsparkle/controllers/view.py

searches = en.getEntities('saved/searches', namespace=app, search='is_visible=1 AND disabled=0', count=500, _with_new='1') 

Raise 500 to the desired value.

Note that Splunk has advised that editing view.py is not supported and will be overwritten by any upgrade. Also be advised that there may be performance implications from raising this value.

Get Updates on the Splunk Community!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...