Simplify ElasticSearch to make it more robust
[ta/caas-logging.git] / docker-build / elasticsearch / elasticsearch-setindex.sh
index d931e3b..df3467b 100755 (executable)
@@ -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": {