Skip to content

[Filebeat] offset points to end of line #6514

Closed
@andrewkroh

Description

The Filebeat documentation defines the offset field as

The file offset the reported line starts at.

But it appears that the offset is actually pointing to the end of the line. For example, when reading the first line of the file you would expect offset: 0, but this is not the case (tested with 6.2.2).

Should the docs or the code be changed?

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions