mirror of
https://github.com/ansible/awx.git
synced 2026-02-23 14:05:59 -03:30
Adding logstash to default compose file
This commit is contained in:
3
tools/docker-compose/Dockerfile-logstash
Normal file
3
tools/docker-compose/Dockerfile-logstash
Normal file
@@ -0,0 +1,3 @@
|
||||
FROM logstash:5-alpine
|
||||
COPY logstash.conf /
|
||||
CMD ["-f", "/logstash.conf"]
|
||||
19
tools/docker-compose/logstash.conf
Normal file
19
tools/docker-compose/logstash.conf
Normal 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 }
|
||||
}
|
||||
Reference in New Issue
Block a user