Prevent logstash from reading file from beginning when restarted

Hi everyone,

I don't understand why Logstash does not continue reading a file from where it left off when restarted.

Following is my input plugin configuration:

input {
file{
path=>"/data/backup/recovery-data/QUICKSEARCH_CDR_2019.12.23.csv"
mode=>"read"
file_completed_action=>"log"
file_completed_log_path=>"/data/backup/logs/december/23"
}
}

Thanks in advance

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