title: logstash simple file input/output
body: <p>I have trouble getting logstash to work. The <a href="https://www.elastic.co/guide/en/logstash/current/first-event.html" rel="nofollow noreferrer">Basic logstash Example</a> works. But then I struggle with the <a href="https://www.elastic.co/guide/en/logstash/current/advanced-pipeline.html" rel="nofollow noreferrer">Advanced Pipeline Example</a>. Perhaps it could be as well a problem with elasticsearch. </p>
  
  <p>Now I just want to check if a simple example work: </p>
  
  <ul>
  <li>input: read textfile-a</li>
  <li>output: generate new textfile-b with input of the textfile-a</li>
  </ul>
  
  <p>But I am struggling with that. My config is the following: </p>
  
  <pre><code># foo.conf
  input {
      file {
          path =&gt; "C:/logstash-2.3.1/logstash-tutorial-dataset"
          start_position =&gt; "beginning"
      }
  }
  output {
      stdout {}
      file {
          #message_format =&gt; "%{foo},%{bar},%{fii},%{bor},%{bing}" 
          #codec =&gt; { line { format =&gt; "custom format: %{message}"}}
          path =&gt; "C:/output.txt"
      }
  }
  </code></pre>
  
  <p>When I run logstash, I get the following response and nothings happens. </p>
  
  <pre><code>bin/logstash -f foo.conf -v --debug --verbose
  io/console not supported; tty will not be manipulated
  {:timestamp=&gt;"2016-04-22T13:41:15.514000+0200", :message=&gt;"starting agent", :level=&gt;:info}
  {:timestamp=&gt;"2016-04-22T13:41:15.518000+0200", :message=&gt;"starting pipeline", :id=&gt;"main", :level=&gt;:info}
  {:timestamp=&gt;"2016-04-22T13:41:16.035000+0200", :message=&gt;"Registering file input", :path=&gt;["C:/logstash-2.3.1/logstash-tutorial-dataset"], :level=&gt;:info}
  {:timestamp=&gt;"2016-04-22T13:41:16.039000+0200", :message=&gt;"No sincedb_path set, generating one based on the file path", :sincedb_path=&gt;"c:/Users/foobar/.sincedb_802dc9c88c8fad631bf3d3a5c96435e4", :path=&gt;["C:/logstash-2.3.1/logstash-tutorial-dataset"], :level=&gt;:info}
  {:timestamp=&gt;"2016-04-22T13:41:16.103000+0200", :message=&gt;"Starting pipeline", :id=&gt;"main", :pipeline_workers=&gt;4, :batch_size=&gt;125, :batch_delay=&gt;5, :max_inflight=&gt;500, :level=&gt;:info}
  {:timestamp=&gt;"2016-04-22T13:41:16.106000+0200", :message=&gt;"Pipeline main started"}
  </code></pre>
  
  <p><strong>how do I get the simple example working?</strong></p>