Created
August 24, 2012 15:48
-
-
Save jordan-brough/3452180 to your computer and use it in GitHub Desktop.
Extend splunk saved search TTL to 1 year
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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