I am using file input plugin in logstash. My file gets replaced in regular time interval . I need the file to be read from the beginning each time it is replaced.
I have below setting . It reads from beginning only when the logstash is restarted. But after modification (added data in the beginning of file), it doesn't read it from the beginning.
path => "/home/user1/test_2020-09-*.csv"
sincedb_path => "/dev/null"
start_position => "beginning"