commit 6c9cb96969d442d7668d61e4ae275c82f8578cca Author: Anthony Lapenna Date: Tue Nov 18 21:08:33 2014 +0100 Init repo diff --git a/README.md b/README.md new file mode 100644 index 0000000..172829a --- /dev/null +++ b/README.md @@ -0,0 +1,16 @@ +# Fig ELK Stack Test + +Test of building an ELK (Elasticseach, Logstash, Kibana) stack with Fig and Docker. + +## Installation and use +1. Install [Docker](http://docker.io). +2. Install [Fig](http://fig.sh). +3. Clone this repo +4. fig up +5. nc localhost 5000 < /some/log/file.log +6. http://localhost:8080 to see the messages show up in Kibana. + +This will create 3 docker containers with Elasticsearch, Kibana, and Logstash running in them and connected to each other. Three ports are exposed for access: +* 5000: Logstash TCP input. +* 9200: Elasticsearch HTTP (With Marvel plugin accessible via [http://localhost:9200/_plugin/marvel](http://localhost:9200/_plugin/marvel)) +* 8080: Kibana web interface. diff --git a/fig.yml b/fig.yml new file mode 100644 index 0000000..db75910 --- /dev/null +++ b/fig.yml @@ -0,0 +1,16 @@ +elasticsearch: + build: ./elasticsearch + ports: + - "9200:9200" +logstash: + build: ./logstash + ports: + - "5000:5000" + links: + - elasticsearch +kibana: + build: ./kibana + ports: + - "8080:80" + links: + - elasticsearch