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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.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 ...