cond. race for logstash and improve it for kibana

This commit is contained in:
AlfonsoRBJ
2019-03-21 16:29:48 +01:00
parent 6ce25e00c9
commit 3fdba44bfa
3 changed files with 28 additions and 4 deletions
+4 -2
View File
@@ -10,11 +10,13 @@ else
fi
until curl -XGET $el_url; do
>&2 echo "Elastic is unavailable - sleeping"
>&2 echo "Elastic is unavailable - sleeping."
sleep 5
done
>&2 echo "Elastic is up - executing command"
sleep 10
>&2 echo "Elasticsearch is up."
./wazuh_app_config.sh