Skip to content

IssueSquare/filebeat-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

filebeat-container

docker container with filebeat:7.9.3 on alpine

use for shipping log with sidecar pattern

Usage

  1. prerequirment build image from Dockerfile
docker build -t filebeat .
  1. you can use docker -e put env variable to replace logpath ,endpoint...

env var currently supprt:

  • LOGPATH
  • SCHEMA
  • ELASTICHOST
  • ELASTICINDEX
  1. directly use docker -v to replace your filebeat.yml
docker run -v YOUR-filebeat.yml:/tmp/filebeat.yml filebeat

Contribution

  1. if you want another version support, new a branch name with version number, than request a PR.

  2. if you want more env variabe support, add more rules in entrypoint.sh, than request a PR.

About

docker container , use for ship log with sidecar pattern

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published