title: Logstash not reading file input
body: <p>I have a strange problem with Logstash. I am providing a log file as input to logstash. The configuration is as follows:</p>
  
  <pre><code>input {
    file {
      type =&gt; "apache-access"
      path =&gt; ["C:\Users\spanguluri\Downloads\logstash\bin\test.log"]
    }
  }
  output {
    elasticsearch {
      protocol =&gt; "http"
      host =&gt; "10.35.143.93"
      port =&gt; "9200"
      index =&gt; "latestindex"
    }
  }
  </code></pre>
  
  <p>I am running elasticsearch server already and verifying if the data is being received with
  curl queries. The problem is, no data is being received when the input is a <code>file</code>. However, if I change input to <code>stdin { }</code> as follows, it sends all input data smoothly:</p>
  
  <pre><code>input {
    stdin{ }
  }
  output {
    elasticsearch {
      protocol =&gt; "http"
      host =&gt; "10.35.143.93"
      port =&gt; "9200"
      index =&gt; "latestindex"
    }
  }
  </code></pre>
  
  <p>I don't get where I am going wrong. Can someone please take a look at this?</p>