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!

Introducing the Splunk Community Dashboard Challenge!

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

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...