X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ta%2Fcaas-logging.git;a=blobdiff_plain;f=docker-build%2Felasticsearch%2Felasticsearch-setindex.sh;h=df3467b1cf67438dcc87617f4e07a22edca2f769;hp=d931e3b3d9f0839ac8c343127c509a67655ad8fd;hb=e4c698f4ece22b2fe2b212801b6d5597c91535e4;hpb=f0e0ff7d87fca007a03f476ce8a8a5d11d431177 diff --git a/docker-build/elasticsearch/elasticsearch-setindex.sh b/docker-build/elasticsearch/elasticsearch-setindex.sh index d931e3b..df3467b 100755 --- a/docker-build/elasticsearch/elasticsearch-setindex.sh +++ b/docker-build/elasticsearch/elasticsearch-setindex.sh @@ -16,7 +16,7 @@ ack="false" while [ "$ack" != "true" ] do - response=$(curl -sS -XPUT "http://localhost:$ELASTICSEARCH_LOGGING_SERVICE_PORT/_template/default_template" -H 'Content-Type: application/json' -d' + response=$(curl -sS -XPUT "http://localhost:$ELASTICSEARCH_SERVICE_PORT/_template/default_template" -H 'Content-Type: application/json' -d' { "index_patterns": ["*"], "settings": {