title: Logstash not sending data to elastic search
body: <pre><code>input { 
     file{
  path =&gt; &quot;C:/elastic_stack/*.csv&quot;
  start_position =&gt; &quot;beginning&quot;
  sincedb_path =&gt; &quot;null&quot;
       }
  }
  filter {
  csv { separator =&gt; &quot;,&quot;
  columns =&gt; [&quot;name&quot;,&quot;mfr&quot;,&quot;type&quot;,&quot;calories&quot;,&quot;protein&quot;,&quot;fat&quot;,&quot;sodium&quot;,&quot;fiber&quot;,&quot;carbo&quot;,&quot;sugars&quot;,&quot;potass&quot;,&quot;vitamins&quot;,&quot;shelf&quot;,&quot;weight&quot;,&quot;cups&quot;,&quot;rating&quot;]
  }
  }
  output {
  elasticsearch
  { hosts =&gt; &quot;http://localhost:9200/&quot;
    index =&gt; &quot;cereals&quot;
  }
  stdout {}
  }
  </code></pre>
  <p>in the cmd i see the message
  [2021-03-28T20:27:02,468][INFO ][logstash.javapipeline    ][main] Pipeline started {&quot;pipeline.id&quot;=&gt;&quot;main&quot;}
  [2021-03-28T20:27:02,531][INFO ][filewatch.observingtail  ][main][f09c0225c6dfc66bb50a8d3706ec14e066921c92842bc5680d0b5bb0aee01580] START, creating Discoverer, Watch with file and sincedb collections
  [2021-03-28T20:27:02,554][INFO ][logstash.agent           ] Pipelines running {:count=&gt;1, :running_pipelines=&gt;[:main], :non_running_pipelines=&gt;[]}
  [2021-03-28T20:27:02,985][INFO ][logstash.agent           ] Successfully started Logstash API endpoint {:port=&gt;9600}</p>
  <p>But the data is not getting send to elastic search. In kibana im not able to create an index.</p>