It's my understanding that I should see information related to redis come from filebeat? That it'll automatically figure out the logging situation across docker containers?
You are right, with this configuration filebeat will automatically enable the redis module to collect the logs from your redis containers (if their container image contains "redis" ).
Take into account that for that filebeat needs access to the docker log files, take a look to the documentation about running filebeat on docker.
Notice that I have added the -e flag to filebeat, this will make it to log to standard output, what is recommended for deployments in docker, and in this case it will also help you to see possible errors.
I have also seen that you have configured elasticsearch:9200 as output, and the elasticsearch service is configured with --transport.host=127.0.0.1. Is it possible that filebeat cannot connect with elasticsearch? You should be able to see it if you add the -e flag mentioned before. If that is the case try to remove this flag, or set it to --transport.host=0.0.0.0.
If this doesn't help and my example doesn't work for you (it should print the events to stdout), check that your docker daemon is configured with the json-file logging driver. You can check it with docker info.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.