Splunk Search

How can I get a list of all saved searches from all apps using the REST command?

masonmorales
Influencer

So, I know I can get a list of saved searches by doing:

| rest /servicesNS/-/MYAPP/saved/searches | table title 

However, I want to list all saved searches from all Apps (which need to be dynamically discovered). How can I accomplish this?

1 Solution

harsmarvania57
Ultra Champion

Please use | rest /servicesNS/-/-/saved/searches splunk_server=local

Thanks,
Harshil

View solution in original post

harsmarvania57
Ultra Champion

Please use | rest /servicesNS/-/-/saved/searches splunk_server=local

Thanks,
Harshil

masonmorales
Influencer

This is what I needed. Thanks!

0 Karma

Runals
Motivator

I was going to suggest the same. I might suggest looking into the following app. It is a change management/tracker for several Splunk configuration files to include saved searches.

https://splunkbase.splunk.com/app/2627/

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...