Adding logstash to default compose file

This commit is contained in:
Matthew Jones
2017-03-07 12:05:12 -05:00
parent b105e2b9b6
commit 576e3bfc1a
4 changed files with 29 additions and 16 deletions

View File

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

View File

@@ -0,0 +1,19 @@
input {
http {
port => 8085
user => awx_logger
password => "workflows"
}
}
## Add your filters / logstash plugins configuration here
filter {
json {
source => "message"
}
}
output {
stdout { codec => rubydebug }
}