diff --git a/es-index-template.sh b/es-index-template.sh index 9611cd2..feb646c 100644 --- a/es-index-template.sh +++ b/es-index-template.sh @@ -1,3 +1,5 @@ +#!/bin/sh + curl -XPUT "${ES_HOST:-localhost}:${ES_PORT:-9200}/_template/statsd-template" -d ' { "template" : "statsd-*",