Filebeat docker input: Error getting container info: <nil>

Hi,

Running filebeat 6.3.2 with "- add_docker_metadata" set, and periodically see this in the logs:

ERROR docker/watcher.go:233 Error getting container info: <nil>

Can you please provide some information as to what may be causing this?

Thanks, Justin

From looking at the code and your error trace:

It appears we make an API call and don't receive any containers information.

how often you see this in your log?

Not super often, but often enough that I felt it was worth asking about.

Looking at that loop, it seems like the only way to get there is after a 'start' or 'update' event. Is it potentially a timing issue / race condition if the watcher got an event for a start or update but cannot find the container by id?

Best, Justin

I also see this one, a little more frequently

2018-10-25T20:46:10.588Z ERROR kubernetes/watcher.go:254 kubernetes: Watching API error EOF

Looks like that comes from either of these two places:


Is this something to be concerned about?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.