title: Reload the same file from the beginning without restarting logstash
body: <p>I managed to force Logstash reloading the whole file by pointing the <code>sincedb_path</code> to <code>NUL</code> (Windows environment) and setting the <code>start_position</code> at the beginning. Here is my <code>file input</code> configuration:  </p>
  
  <pre><code>input {
       file {
          path =&gt; "myfile.csv"
          start_position =&gt; beginning
          ignore_older =&gt; 0
          type =&gt; "my_document_type"
          sincedb_path =&gt; "NUL"
          stat_interval =&gt; 1
      }
  }
  </code></pre>
  
  <p>The file is actually reloaded every time I restart Logstash and every time it is modified, but I want it to be reloaded each second as mentioned in <code>stat_interval</code>.<br>
  I also need it to be reloaded even if there is no modification and without restarting logstash because I am adding a date based field in the filters and I need the same data every day with an updated <code>date_field</code> :  </p>
  
  <pre><code>filter {
      csv {
          columns =&gt; ["MyFirstColumn", "MySecondColumn"]
          separator =&gt; ";"
          add_field =&gt; {
          "date_field" =&gt; "%{+ddMMyyy}"
          }
      }
  }  
  </code></pre>
  
  <p>Here is an example of the expected behavior :  </p>
  
  <p>File content :  </p>
  
  <pre><code>Column A;Column B
  Value X;Value Y  
  </code></pre>
  
  <p>Data sent to Elastic search index :  </p>
  
  <pre><code>Column A : Value X, Column B : Value Y, date_field : 05122016
  </code></pre>
  
  <p>The day after, even without modifying the file I want the following data to be added to the same index in Elasticsearch :  </p>
  
  <pre><code>Column A : Value X, Column B : Value Y, date_field : 06122016
  </code></pre>