Skip to content

Instantly share code, notes, and snippets.

@telamon
Last active November 29, 2018 12:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save telamon/2d3692c19433e4445fd27cc23364582d to your computer and use it in GitHub Desktop.
Save telamon/2d3692c19433e4445fd27cc23364582d to your computer and use it in GitHub Desktop.
Instant kibana

kibup (Kibana up)

Launches a local kibana instance that connects to an Elastic instance specified by url

Installation:

Download kibup script and make it executable chmod +x kibup

Usage:

kibup http://someelastic:9200

Then visit your newly launched kibana on:

http://locahost:5601

Happy kibaning!

#!/bin/bash
KIBANA_VERSION="6.2.2"
IMAGE="docker.elastic.co/kibana/kibana-oss:${KIBANA_VERSION}"
echo "Connecting to $1, listening on 5601"
docker run --rm -e ELASTICSEARCH_URL=$1 --net=host $IMAGE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment