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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...