Docker image based on Alpine linux with pre-installed filebeat.
A default filebeat.yml is included (/etc/filebeat/filebeat.yml) which sets default paths for configs and data.
By default filebeat looks for prospector configurations under /etc/filebeat/prospectors.d path. Example:
- type: log
paths:
- /var/log/mysql.log
scan_frequency: 10s
- type: log
paths:
- /var/log/apache.log
scan_frequency: 5s
Logstash hosts which will be set up as outputs for Filebeat.
Example:
LOGSTASH_HOSTS="1.2.3.4:5044,5.6.7.8:5044"
Drop the listed fields automatically
Example:
FILEBEAT_DROP_FILEDS="host"
The following folders should be persisted:
Filebeat stores here the status of each input file. Not keeping it persistent can lead to duplicate log entries after a container restart.
Path: /var/lib/filebeat
Content type
Image
Digest
Size
24.4 MB
Last updated
over 7 years ago
docker pull peterjozsa/filebeat-alpine