mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
output logs to /logstash.conf in our default compose file
This commit is contained in:
parent
6680d88df0
commit
75ba0208ad
@ -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"]
|
||||
|
||||
@ -15,5 +15,8 @@ filter {
|
||||
}
|
||||
|
||||
output {
|
||||
stdout { codec => rubydebug }
|
||||
stdout { codec => rubydebug }
|
||||
file {
|
||||
path => "/logstash.log"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user