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 add 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?