Getting Data In

Output saved searches by owner

ejread
Explorer

To reduce duplication of efforts and clean up resource-intensive searches, I am trying to output a list of all saved searches, including the following attributes -

  • Name of search
  • Owner
  • Is it scheduled?
  • Schedule time
  • Search string

I have used the Splunk btool command, which provided everything except for the search owner. Is there any way to obtain this info?

Tags (1)
0 Karma
1 Solution

jonuwz
Influencer

This should get you started :

| rest /servicesNS/-/-/saved/searches | fields title *owner* *search* *schedule*

Run from the search bar

View solution in original post

jonuwz
Influencer

This should get you started :

| rest /servicesNS/-/-/saved/searches | fields title *owner* *search* *schedule*

Run from the search bar

ejread
Explorer

This worked great. I had to add the count argument to see them all, but this is exactly what we needed. thanks!

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...