We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbecd83 commit 65eb53cCopy full SHA for 65eb53c
1 file changed
scripts/setup-beat.sh
@@ -5,13 +5,15 @@ set -euo pipefail
5
beat=$1
6
es_url=http://elastic:${ELASTIC_PASSWORD}@elasticsearch:9200
7
8
+
9
+until curl -s http://kibana:5601; do
10
+ sleep 2
11
+done
12
+sleep 5
13
14
# Load the sample dashboards for the Beat.
15
# REF: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-sample-dashboards.html
-until ${beat} setup \
16
+${beat} setup \
17
-E setup.kibana.host=kibana \
18
-E setup.kibana.username=elastic \
19
-E setup.kibana.password=${ELASTIC_PASSWORD}
-do
- sleep 2
- echo Retrying...
-done
0 commit comments