Filebeat
Last updated
Was this helpful?
Last updated
Was this helpful?
The integration allows you to automatically send log data and files to your instance if you use an stack.
How to configure filebeat?
If you want to use Filebeat in dockware, you do not only need to turn ON the feature, but also provide a valid filebeat configuration. The easiest way to do this, is to mount that single file into /etc/filebeat/filebeat.yml. In addition to this, your Docker container must have access to your logstash container by either using the links or networks in Docker. This needs to be done only if you also have your Logstash within your Docker network :) Here is an example of a filebeat.yml configuration:
If you start your container, the "docker logs (container_name)" output should show you that Filebeat is now being used.
Please see our section about for more detail about the required configuration settings. Now that we have all single parts, we can combine them and create our configuration for our docker container.