Last active
August 29, 2015 14:22
-
-
Save mapcentia/441567faaef94eb9df30 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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