title: Filebeat To Logstash -InvalidFrameProtocolException
body: <p>I am trying to load data from filebeat into logstash. While loading , while running the command-> </p>
  
  <pre><code>bin/logstash -f first-pipeline.conf --config.reload.automatic 
  </code></pre>
  
  <p>, following error is encountered:</p>
  
  <pre><code>[2018-06-05T11:30:43,987][INFO ][logstash.inputs.beats    ] Beats inputs: Starting input listener {:address=&gt;"0.0.0.0:5044"}
  [2018-06-05T11:30:44,047][INFO ][logstash.pipeline        ] Pipeline started successfully {:pipeline_id=&gt;"main", :thread=&gt;"#&lt;Thread:0x969dfe run&gt;"}
  [2018-06-05T11:30:44,083][INFO ][org.logstash.beats.Server] Starting server on port: 5044
  [2018-06-05T11:30:44,112][INFO ][logstash.agent           ] Pipelines running {:count=&gt;1, :pipelines=&gt;["main"]}
  [2018-06-05T11:32:05,045][INFO ][org.logstash.beats.BeatsHandler] [local: 0:0:0:0:0:0:0:1:5044, remote: 0:0:0:0:0:0:0:1:31903] Handling exception: org.logstash.beats.BeatsParser$InvalidFrameProtocolException: Invalid Frame Type, received: 69
  </code></pre>
  
  <p>first-pipeline.conf file is: </p>
  
  <pre><code># The # character at the beginning of a line indicates a comment. Use
  # comments to describe your configuration.
  input {
  beats {
          port =&gt; "5044"
      }
  }
  # The filter part of this file is commented out to indicate that it is
  # optional.
  # filter {
  #
  # }
  output {
  stdout { codec =&gt; rubydebug }
  }
  </code></pre>
  
  <p>Filebeat.yml file:</p>
  
  <pre><code>filebeat.prospectors:
  - type: log
    enabled: true
    paths:
      - \C:\PATH-TO-DOC\elasticDoc\logstash-tutorial-dataset.log
  #----------------------------- Logstash output --------------------------------
  output.logstash:
    # The Logstash hosts
    hosts: ["localhost:5044"]
  </code></pre>
  
  <p>Sample dataset of logstash-tutorial-dataset.log :</p>
  
  <pre><code>83.149.9.216 - - [04/Jan/2015:05:13:42 +0000] "GET /presentations/logstash-monitorama-2013/images/kibana-search.png HTTP/1.1" 200 203023 "http://semicomplete.com/presentations/logstash-monitorama-2013/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.77 Safari/537.36"
  83.149.9.216 - - [04/Jan/2015:05:13:42 +0000] "GET /presentations/logstash-monitorama-2013/images/kibana-dashboard3.png HTTP/1.1" 200 171717 "http://semicomplete.com/presentations/logstash-monitorama-2013/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.77 Safari/537.36"
  </code></pre>
  
  <p>What is the cause of this error? This question has already been asked before but there were no replies. Please also let me know where i could polish my concepts in logstash and filebeat more. I am a beginner. </p>