diff --git a/docker-compose.yml b/docker-compose.yml index f2bc026..2c36199 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,11 +8,6 @@ services: - elasticsearchData:/usr/share/elasticsearch/data networks: - logging - environment: - xpack.security.enabled: "false" - xpack.monitoring.enabled: "false" - xpack.graph.enabled: "false" - xpack.watcher.enabled: "false" logstash: image: docker.elastic.co/logstash/logstash:5.2.2 @@ -22,7 +17,6 @@ services: - logging volumes: - ./elk/logstash/config/pipeline:/usr/share/logstash/pipeline - - ./elk/logstash/config/logstash.yml:/usr/share/logstash/config/logstash.yml kibana: image: docker.elastic.co/kibana/kibana:5.2.2 @@ -30,11 +24,11 @@ services: - 5601:5601 networks: - logging - volumes: - - ./elk/kibana/config:/usr/share/kibana/config - + environment: + - ELASTICSEARCH_URL=http://elasticsearch:9200 + networks: logging: - + volumes: - elasticsearchData: + elasticsearchData: \ No newline at end of file diff --git a/elk/logstash/config/pipeline/logstash.conf b/elk/logstash/config/pipeline/logstash.conf index d357ad0..f74544c 100644 --- a/elk/logstash/config/pipeline/logstash.conf +++ b/elk/logstash/config/pipeline/logstash.conf @@ -21,6 +21,8 @@ filter { output { elasticsearch { hosts => ["elasticsearch:9200"] + user => "elastic" + password => "changeme" } # This will output every message on stdout. # It is great when testing your setup, but in