Hello,
I need to configure Filebeat tp send containers logs to Elasticsearch. Does anybody know how to do that?
I guess I just need to forward STDOUT to Elasticsearch, but I can't figure out how to do it.
Thanks!
Hello,
I need to configure Filebeat tp send containers logs to Elasticsearch. Does anybody know how to do that?
I guess I just need to forward STDOUT to Elasticsearch, but I can't figure out how to do it.
Thanks!
If you are using Docker containers, there are a few options how you can get the container logs. Please check the slides for more details with advantages and disadvantages of each option. No matter of what option you use, you need to install Filebeat in a separate Docker container on the same host as your Docker containers.
The easyest option would be to use the json logging driver (the default in Docker) and then Filebeat with json enabled.
This topic was automatically closed after 21 days. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.