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!

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