Skip to content

Instantly share code, notes, and snippets.

@baybatu
Last active June 12, 2019 08:28
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save baybatu/7a86960c24da964a5fa1bdbbd8f764e9 to your computer and use it in GitHub Desktop.
Save baybatu/7a86960c24da964a5fa1bdbbd8f764e9 to your computer and use it in GitHub Desktop.
Run Kibana for parameterized Elasticsearch. Kudos @mesut
#!/bin/bash
# USAGE: run-kibana.sh http://localhost:9200
echo "Running kibana for es host:$1"
docker run --name kibana -d -p 5601:5601 \
-e ELASTICSEARCH_HOSTS=$1 \
-e XPACK_GRAPH_ENABLED=false \
-e XPACK_ML_ENABLED=false \
-e XPACK_REPORTING_ENABLED=false \
-e XPACK_SECURITY_ENABLED=false \
-e XPACK_WATCHER_ENABLED=false \
docker.elastic.co/kibana/kibana:6.7.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment