Skip to content
This repository was archived by the owner on May 3, 2024. It is now read-only.

Commit 6403b1e

Browse files
authored
Merge pull request #2 from shazChaudhry/auth
Auth
2 parents 69c652c + 17860eb commit 6403b1e

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

docker-compose.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ services:
88
- elasticsearchData:/usr/share/elasticsearch/data
99
networks:
1010
- logging
11-
environment:
12-
xpack.security.enabled: "false"
13-
xpack.monitoring.enabled: "false"
14-
xpack.graph.enabled: "false"
15-
xpack.watcher.enabled: "false"
1611

1712
logstash:
1813
image: docker.elastic.co/logstash/logstash:5.2.2
@@ -22,19 +17,18 @@ services:
2217
- logging
2318
volumes:
2419
- ./elk/logstash/config/pipeline:/usr/share/logstash/pipeline
25-
- ./elk/logstash/config/logstash.yml:/usr/share/logstash/config/logstash.yml
2620

2721
kibana:
2822
image: docker.elastic.co/kibana/kibana:5.2.2
2923
ports:
3024
- 5601:5601
3125
networks:
3226
- logging
33-
volumes:
34-
- ./elk/kibana/config:/usr/share/kibana/config
35-
27+
environment:
28+
- ELASTICSEARCH_URL=http://elasticsearch:9200
29+
3630
networks:
3731
logging:
38-
32+
3933
volumes:
40-
elasticsearchData:
34+
elasticsearchData:

elk/logstash/config/pipeline/logstash.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ filter {
2121
output {
2222
elasticsearch {
2323
hosts => ["elasticsearch:9200"]
24+
user => "elastic"
25+
password => "changeme"
2426
}
2527
# This will output every message on stdout.
2628
# It is great when testing your setup, but in

0 commit comments

Comments
 (0)