Removed build for images. Added logstash configuration volume and default conf. file.
This commit is contained in:
parent
4a7e777809
commit
e9ca10d119
2 changed files with 16 additions and 3 deletions
8
fig.yml
8
fig.yml
|
@ -1,15 +1,17 @@
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
build: ./elasticsearch
|
image: deviantony/elk-elasticsearch
|
||||||
ports:
|
ports:
|
||||||
- "9200:9200"
|
- "9200:9200"
|
||||||
logstash:
|
logstash:
|
||||||
build: ./logstash
|
image: deviantony/elk-logstash
|
||||||
|
volumes:
|
||||||
|
- logstash-conf:/etc/logstash/conf.d
|
||||||
ports:
|
ports:
|
||||||
- "5000:5000"
|
- "5000:5000"
|
||||||
links:
|
links:
|
||||||
- elasticsearch
|
- elasticsearch
|
||||||
kibana:
|
kibana:
|
||||||
build: ./kibana
|
image: deviantony/elk-kibana
|
||||||
ports:
|
ports:
|
||||||
- "8080:80"
|
- "8080:80"
|
||||||
links:
|
links:
|
||||||
|
|
11
logstash-conf/logstash.conf
Normal file
11
logstash-conf/logstash.conf
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
input {
|
||||||
|
tcp {
|
||||||
|
port => 5000
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
# Add your filters here
|
||||||
|
|
||||||
|
output {
|
||||||
|
elasticsearch { }
|
||||||
|
}
|
Loading…
Reference in a new issue