Skip to content

Instantly share code, notes, and snippets.

@mathieue
Forked from deverton/logstash-template.json
Created December 27, 2013 15:10
Show Gist options
  • Save mathieue/8148277 to your computer and use it in GitHub Desktop.
Save mathieue/8148277 to your computer and use it in GitHub Desktop.
{
"template": "logstash-*",
"settings" : {
"number_of_shards" : 1,
"number_of_replicas" : 0,
"index" : {
"store" : { "compress" : { "stored" : true, "tv": true } }
}
}
}
curl -XPUT 'http://localhost:9200/_template/template_logstash/' -d @logstash-template.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment