Created
December 11, 2012 11:01
-
-
Save rockdog/4257784 to your computer and use it in GitHub Desktop.
Enable TTL and set default TTL for ElasticSearch/Graylog2
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
curl -XPUT "http://localhost:9200/graylog2/message/_mapping" -d'{"message": {"_ttl" : { "enabled" : true, "default" : "7d" }}}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment