Skip to content

Instantly share code, notes, and snippets.

@mapcentia
Last active August 29, 2015 14:22
Show Gist options
  • Save mapcentia/441567faaef94eb9df30 to your computer and use it in GitHub Desktop.
Save mapcentia/441567faaef94eb9df30 to your computer and use it in GitHub Desktop.
# Start med at installere Docker
sudo wget -qO- https://get.docker.com/ | sh
# Stop den Elasticsearch, som kører på Vm'et
sudo service elasticsearch stop
# Kør Docker containeren (det tager lige nogle sekunder før alle services er oppe)
sudo docker run -it --rm -p 9200:9200 -p 5601:5601 -v /var/log:/logs gc2logstash
# Kald nogle sider i GC2 og tjek om loggen bliver indekseret.
curl -XGET 'http://localhost:9200/logstash-*/_search?pretty'
# Load Kibana i browser
http://din_host:5601
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment