I am trying to debug the official Logstash Docker container. All available documentation I can find seems to imply that if I add an output stdout { codec => rubydebug }
, I should be able to see this in docker logs
. It's not working for me, however, although if I add --debug
to the command line, I can see all that debug output fine.
Anyone have any clues on what I could be doing wrong?
In some more detail:
# docker pull docker.io/logstash
# docker run -v -d /path/to/logstash.conf:/etc/logstash/logstash.conf --name logstash logstash logstash -f /etc/logstash/logstash.conf
And in logstash.conf
output {
stdout {
codec => rubydebug
}
}