docker container with filebeat:7.9.3 on alpine
use for shipping log with sidecar pattern
- prerequirment build image from Dockerfile
docker build -t filebeat .
- you can use docker -e put env variable to replace logpath ,endpoint...
env var currently supprt:
- LOGPATH
- SCHEMA
- ELASTICHOST
- ELASTICINDEX
- directly use docker -v to replace your filebeat.yml
docker run -v YOUR-filebeat.yml:/tmp/filebeat.yml filebeat
-
if you want another version support, new a branch name with version number, than request a PR.
-
if you want more env variabe support, add more rules in entrypoint.sh, than request a PR.