diff --git a/es-index-template.sh b/es-index-template.sh index 9611cd2..67972ce 100644 --- a/es-index-template.sh +++ b/es-index-template.sh @@ -1,4 +1,4 @@ -curl -XPUT "${ES_HOST:-localhost}:${ES_PORT:-9200}/_template/statsd-template" -d ' +curl -XPUT -H 'Content-Type: application/json' "${ES_HOST:-localhost}:${ES_PORT:-9200}/_template/statsd-template" -d ' { "template" : "statsd-*", "settings" : {