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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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