Merge pull request #5759 from ryanpetrello/logstash-stdout

output logs to /logstash.conf in our default compose file
This commit is contained in:
Ryan Petrello 2017-03-16 13:55:09 -04:00 committed by GitHub
commit 886e96dea9
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,5 @@
FROM logstash:5-alpine
COPY logstash.conf /
RUN touch /logstash.log
RUN chown logstash:logstash /logstash.log
CMD ["-f", "/logstash.conf"]

View File

@ -15,5 +15,8 @@ filter {
}
output {
stdout { codec => rubydebug }
stdout { codec => rubydebug }
file {
path => "/logstash.log"
}
}