Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Extend splunk saved search TTL to 1 year
# 31536000 == 1 year (365 days) in seconds
curl -u <USERNAME>:<PASSWORD> --insecure https://<SPLUNK_URL>:8089/services/search/jobs/<JOB_ID>/control -d action=setttl -d ttl=31536000; echo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment