From e4545965f1048f2a035f7d7fc153c3e710c5eae8 Mon Sep 17 00:00:00 2001 From: Juneidy Date: Tue, 27 Oct 2020 09:19:29 +0800 Subject: [PATCH] Fix index creation --- scipts/es-index-template.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scipts/es-index-template.sh b/scipts/es-index-template.sh index f2d637d..3ed94ce 100644 --- a/scipts/es-index-template.sh +++ b/scipts/es-index-template.sh @@ -1,5 +1,4 @@ curl -XPUT -H 'Content-Type: application/json' "${ES_HOST:-localhost}:${ES_PORT:-9200}/_template/statsd-template" -d ' -PUT /_template/statsd-template { "index_patterns" : ["statsd-*"], "settings" : { @@ -85,4 +84,4 @@ PUT /_template/statsd-template } } } -``` \ No newline at end of file +'