Reporting

[command ]Getting the list of all saved searches-splunk list saved-search

spl109
Explorer

Only the saved APP saved-search list is displayed.
How do I get other APP saved-search listings?

command : $SPLUNK_HOME/bin/splunk list saved-search

alt text

Do not display saved-search of other APP

0 Karma
1 Solution

ramgnisiv
Path Finder

I run this command in Splunk to get the overview of Saved Searches:

| rest /servicesNS/-/-/saved/searches splunk_server=local
| fields title

Perhaps this can guide you in the right direction.

View solution in original post

ramgnisiv
Path Finder
0 Karma

ramgnisiv
Path Finder

I run this command in Splunk to get the overview of Saved Searches:

| rest /servicesNS/-/-/saved/searches splunk_server=local
| fields title

Perhaps this can guide you in the right direction.

spl109
Explorer

thank you for your answer.
I'm looking for other ways without REST API.

command : $SPLUNK_HOME/bin/splunk list saved-search
Is there a way to improve the above command?

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, ...