Docker Filebeat image
Filebeat is a lightweight, open source shipper for log file data. As the next-generation Logstash Forwarder, Filebeat tails logs and quickly sends this information to Logstash for further parsing and enrichment or to Elasticsearch for centralized storage and analysis.
Supported tags and respective
Build and update process
This image is automatically built at every push of this repository and every time that the
debian:jessie base image gets updated in order to ensure that bugfixes and security updates are immediately applied.
docker run -v /path/to/filebeat.yml:/filebeat.yml prima/filebeat:5
Or, you can create your own derived image, with the configuration in the image itself.
FROM prima/filebeat COPY my-config/filebeat.yml /filebeat.yml
You can find an example of the
filebeat.yml in the official filebeat repository: https://github.com/elastic/beats/blob/master/filebeat/filebeat.yml
And in the official docs: https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-configuration.html
Can any help me to understand how this image will work on AWS and Azure and how it will pick up the app logs inside the docker container.
@hover: It used to be like that in older versions, I have updated the README, thank you.
The filebeat.yml is expected to be at /filebeat.yml and not /etc/filebeat/filebeat.yml like in your Dockerfile
Would be more useful if template file and example configuration was there.