Skip to content

close_removed and close_renamed only checked after EOF #13889

@urso

Description

@urso

Checking the code in log.go, it looks like close_removed/close_renamed are only checked once we reached EOF. As long as filebeat has an open file handle, but hasn't reached the end yet, the OS will never report an error. Due to this filebeat would keep files open, even the settings are set.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions