A file input records how much of the file it has read in the sincedb. Once it has read the file once the start_position is ignored and if logstash is restarted it will start from the position in the sincedb. It will sit and wait for new data to be appended to the file. So it sounds to me like this is working as expected.
If you want to re-read the whole file every time then set the sincedb_path to "nul".
Is there a file called null you can set the sincedb_path to on a Windows machine? I know that for my Linux machines I write to /dev/null, but wasn't sure if there was one or WIndows.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.