Getting Data In

Can I use a REST API command to identify saved searches using a summary index?

philip_wong
Communicator

Can use a REST API command to identify saved searches using a summary index?

0 Karma
1 Solution

MuS
Legend

Hi philip.wong,

sure, try this:

| rest /services/saved/searches | search action.summary_index="1" | table title action.summary_index action.summary_index._name

Hope this helps ...

cheers, MuS

View solution in original post

MuS
Legend

Hi philip.wong,

sure, try this:

| rest /services/saved/searches | search action.summary_index="1" | table title action.summary_index action.summary_index._name

Hope this helps ...

cheers, MuS

philip_wong
Communicator

Thanks!

I don't know why | rest /services/saved/searches only returns few saved searches for me.

Finally, I use this to get what I want.

| rest /servicesNS/admin/-/saved/searches
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...