Created
February 6, 2020 13:57
-
-
Save ozzimpact/9c467ee21a8a432da73418064d21bff0 to your computer and use it in GitHub Desktop.
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
PUT _template/log_template | |
{ | |
"index_patterns": ["log-*"], | |
"settings": { | |
"index": { | |
"lifecycle": { | |
"name": "logs_policy", | |
"rollover_alias": "rolloverlogs" | |
}, | |
"number_of_shards": "5", | |
"number_of_replicas": "0" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment