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!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...