Skip to content

Instantly share code, notes, and snippets.

@nickethier
Created June 22, 2012 23:24
Show Gist options
  • Select an option

  • Save nickethier/2975747 to your computer and use it in GitHub Desktop.

Select an option

Save nickethier/2975747 to your computer and use it in GitHub Desktop.

Revisions

  1. nickethier created this gist Jun 22, 2012.
    15 changes: 15 additions & 0 deletions curl
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    curl -XPUT es:9200/_template/logstash -d '
    {
    "template" : "logs-*",
    "settings" : {
    "index" : {
    "analysis" : {
    "analyzer" : {
    "default" : {
    "type" : "simple"
    }
    }
    }
    }
    }
    }'