title: how to use sincedb in logstash?
body: <p>I have thousands of logs files and it gets downloaded everyday. I am using logstash and ElasticSearch for parsing, indexing and searching.</p>
  
  <p>Now I am using file input plugin for reading downloaded files and parsing it. I have not set <code>sincedb_path</code> so its storing in <code>$HOME</code>. But the problem is it reads log files for just one day. Here is my configuration for input: </p>
  
  <pre><code>input {
    file {
      path =&gt; "/logs/downloads/apacheLogs/env1/**/*"
      type =&gt; "env1"
      exclude =&gt; "*.gz"
      start_position =&gt; "beginning"
    }
    file {
      path =&gt; "/logs/downloads/appLogs/env2/**/*"
      type =&gt; "env2"
      exclude =&gt; "*.gz"
      start_position =&gt; "beginning"
    }
  }  
  </code></pre>