Commit 70c07ac7 authored by Anthony Lapenna's avatar Anthony Lapenna

Fix issue introduced in last commit

parent 17f834cb
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
Run the latest version of the ELK (Elasticseach, Logstash, Kibana) stack with Docker and Docker-compose. Run the latest version of the ELK (Elasticseach, Logstash, Kibana) stack with Docker and Docker-compose.
**Note**: This version has [X-Pack support](https://www.elastic.co/products/x-pack).
It will give you the ability to analyze any data set by using the searching/aggregation capabilities of Elasticseach and the visualization power of Kibana. It will give you the ability to analyze any data set by using the searching/aggregation capabilities of Elasticseach and the visualization power of Kibana.
Based on the official images: Based on the official images:
...@@ -12,11 +14,6 @@ Based on the official images: ...@@ -12,11 +14,6 @@ Based on the official images:
* [logstash](https://registry.hub.docker.com/_/logstash/) * [logstash](https://registry.hub.docker.com/_/logstash/)
* [kibana](https://registry.hub.docker.com/_/kibana/) * [kibana](https://registry.hub.docker.com/_/kibana/)
**Note**: Other branches in this project are available:
* ELK 5 with X-Pack support: https://github.com/deviantony/docker-elk/tree/x-pack
* ELK 5 in Vagrant: https://github.com/deviantony/docker-elk/tree/vagrant
# Requirements # Requirements
## Setup ## Setup
...@@ -63,7 +60,10 @@ Now that the stack is running, you'll want to inject logs in it. The shipped log ...@@ -63,7 +60,10 @@ Now that the stack is running, you'll want to inject logs in it. The shipped log
$ nc localhost 5000 < /path/to/logfile.log $ nc localhost 5000 < /path/to/logfile.log
``` ```
And then access Kibana UI by hitting [http://localhost:5601](http://localhost:5601) with a web browser. And then access Kibana UI by hitting [http://localhost:5601](http://localhost:5601) with a web browser and use the following credentials to login:
* user: *elastic*
* password: *changeme*
*NOTE*: You'll need to inject data into logstash before being able to create a logstash index in Kibana. Then all you should have to do is to hit the create button. *NOTE*: You'll need to inject data into logstash before being able to create a logstash index in Kibana. Then all you should have to do is to hit the create button.
......
...@@ -2,4 +2,6 @@ FROM elasticsearch:5 ...@@ -2,4 +2,6 @@ FROM elasticsearch:5
ENV ES_JAVA_OPTS="-Des.path.conf=/etc/elasticsearch" ENV ES_JAVA_OPTS="-Des.path.conf=/etc/elasticsearch"
RUN elasticsearch-plugin install --batch x-pack
CMD ["-E", "network.host=0.0.0.0", "-E", "discovery.zen.minimum_master_nodes=1"] CMD ["-E", "network.host=0.0.0.0", "-E", "discovery.zen.minimum_master_nodes=1"]
...@@ -9,5 +9,7 @@ input { ...@@ -9,5 +9,7 @@ input {
output { output {
elasticsearch { elasticsearch {
hosts => "elasticsearch:9200" hosts => "elasticsearch:9200"
user => "elastic"
password => "changeme"
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment