Reporting

How to get the last updated (or created) time for a saved search?

uuppuluri_splun
Splunk Employee
Splunk Employee

Would like to know get rid of saved searches (and associated jobs) that have been created a long time and are no longer active.

0 Karma
1 Solution

uuppuluri_splun
Splunk Employee
Splunk Employee

With 6.3 (and above), we can get this information using a REST API call. For example,
|rest /services/saved/searches/Test will give this information about the Saved Search "Test" in the updated data key such as the below:
updated
2015-12-30T18:51:48-08:00

The initial time will be for created and will be replaced by the time of last update.

This should help track when the searches were last updated.

View solution in original post

0 Karma

uuppuluri_splun
Splunk Employee
Splunk Employee

With 6.3 (and above), we can get this information using a REST API call. For example,
|rest /services/saved/searches/Test will give this information about the Saved Search "Test" in the updated data key such as the below:
updated
2015-12-30T18:51:48-08:00

The initial time will be for created and will be replaced by the time of last update.

This should help track when the searches were last updated.

0 Karma
Get Updates on the Splunk Community!

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...