Skip to content

Instantly share code, notes, and snippets.

@nickethier
Created June 22, 2012 23:24
Show Gist options
  • Save nickethier/2975747 to your computer and use it in GitHub Desktop.
Save nickethier/2975747 to your computer and use it in GitHub Desktop.
logstash elasticsearch template
curl -XPUT es:9200/_template/logstash -d '
{
"template" : "logs-*",
"settings" : {
"index" : {
"analysis" : {
"analyzer" : {
"default" : {
"type" : "simple"
}
}
}
}
}
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment