-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker logging plugin #10047
Comments
Love it! 👋 @elastic/infra |
Which log driver do you intend to support? Only the json-file driver? Or will any driver that allows logs to be replayed via the Docker API be supported? Sorry I misunderstood this. You want to provide a new log driver for Docker that emits data to ES directly, correct? |
Hi @hholst80, yes, this would be deployed into docker as a logging plugin and sends logs directly to ES |
Hey folks. Talked with @exekias about this for a while, and I'd like to pick this back up, since it's a request from cloud and others. I'm leaning towards the idea of a new beat (in the beats repo, along with everything else), since it would be a good way to dogfood our newbeat dev process, and also because there's no reason I see not to ship a light-weight specialized thing, as opposed to "a whole filebeat." Plugins are normally deployed with (more or less) a single After Talking with Carlos, it seems that plugins are just a 'weird container' but the build and deployment system is a bit odd, so we can also avoid cluttering up the filebeats directory with additional tooling, and also simplify the deployment process if we have a specialized beat with less knobs to tweak. Does anyone else here have strong feelings? My one worry with making a new beat is well, we already have a lot, but things like heartbeat/winlogbeat are already 'small and specialized' to some extent. I'd like to get started with this and pick up where Carlos left off. |
Continued by #13990 |
We aim to provide an official logging plugin for Docker, and push it here: https://store.docker.com/search?type=plugin&category=logging
We don't need to name it Filebeat, but internally it would use most of Filebeat internals. For the initial version it should be able to:
add_docker_metadata
Non-goals for the first version that are interesting for the future:
docker logs
commandSome initial works for it can be found here: https://github.com/elastic/beats/compare/master...exekias:filebeat-docker-plugin?expand=1
The text was updated successfully, but these errors were encountered: