mirror of
https://github.com/ansible/awx.git
synced 2026-03-09 05:29:26 -02:30
Merge pull request #5759 from ryanpetrello/logstash-stdout
output logs to /logstash.conf in our default compose file
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
FROM logstash:5-alpine
|
FROM logstash:5-alpine
|
||||||
COPY logstash.conf /
|
COPY logstash.conf /
|
||||||
|
RUN touch /logstash.log
|
||||||
|
RUN chown logstash:logstash /logstash.log
|
||||||
CMD ["-f", "/logstash.conf"]
|
CMD ["-f", "/logstash.conf"]
|
||||||
|
|||||||
@@ -15,5 +15,8 @@ filter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
output {
|
output {
|
||||||
stdout { codec => rubydebug }
|
stdout { codec => rubydebug }
|
||||||
|
file {
|
||||||
|
path => "/logstash.log"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user