forked from Chill-project/chill-skeleton-basic
initial commit
This commit is contained in:
8
docker/logstash/Dockerfile
Normal file
8
docker/logstash/Dockerfile
Normal file
@@ -0,0 +1,8 @@
|
||||
FROM docker.elastic.co/logstash/logstash-oss:8.1.0-amd64
|
||||
|
||||
RUN \
|
||||
bin/logstash-plugin install logstash-output-gelf \
|
||||
&& bin/logstash-plugin install logstash-input-gelf
|
||||
|
||||
COPY ./pipeline /usr/share/logstash/pipeline/
|
||||
|
16
docker/logstash/pipeline/logstash.conf
Normal file
16
docker/logstash/pipeline/logstash.conf
Normal file
@@ -0,0 +1,16 @@
|
||||
input {
|
||||
gelf {
|
||||
# input for php logs
|
||||
port => 12201
|
||||
add_field => [ 'source', "php" ]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
filter {
|
||||
|
||||
}
|
||||
|
||||
output {
|
||||
stdout { }
|
||||
}
|
Reference in New Issue
Block a user