Skip to content

Filebeat: How to send only the newly added log events instead of the entire content of a log file #968

@SMavr

Description

@SMavr

I am using Filebeat to send via a Logstash pipeline some log entries into an elasticsearch server. The problem is whenever I add a new line to the log file, it sends all the log events of the file. I tried setting the input_type to stdin in the filebeat configuration file. But in that case nothing is transferred if I write a new line into the log file.

Is there any way to send only the new log entry and not the entire content of the log file?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No 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