# Org.logstash.beats Invalid frame protocol exception

**URL:** <https://discuss.elastic.co/t/org-logstash-beats-invalid-frame-protocol-exception/95010>\
**Category:** Logstash\
**Created:** [July 28, 2017, 8:32pm UTC](https://discuss.elastic.co/t/org-logstash-beats-invalid-frame-protocol-exception/95010 "2017-07-28T20:32:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sweety](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@sweety](https://discuss.elastic.co/u/sweety)\
**Post date:** [July 28, 2017, 8:32pm UTC](https://discuss.elastic.co/t/org-logstash-beats-invalid-frame-protocol-exception/95010/1 "2017-07-28T20:32:38Z")

</div>

## I am trying to send logs to logstash using filebeats On local machine:

--filebeats  
--logstash  
--kibana

## On server

--elastcisearch

I ran filebeat and logstash on two terminals on my local machine:

1. ran logstash - bin/logstash -f logstash.conf
2. in another console ran - sudo ./filebeat -e -v -c filebeat.yml

filbeat.yml:

* * *

```
filebeat.prospectors:

- input_type: log

  paths:
    - /home/sweety/Downloads/logstash-5.4.1/bin/*.log
----------------------------- Logstash output --------------------------------
output.logstash:
  # The Logstash hosts
  hosts: ["127.0.0.1:5044"]

```

logstash.conf

* * *

```
input { 
beats { 
    port => 5044
  }
 }
output {
  elasticsearch { hosts => ["xxx.xxx.xxx.xx:9200"] }
  stdout { codec => rubydebug }
}

```

when I ran both filebat and logstash I'm getting  
logstash output:

 ![logstash](https://us1.discourse-cdn.com/elastic/original/3X/c/5/c52ca48cd51334e32e5d351ad650bf32f474887a.png)

Filebeat output

 ![filebeat](https://us1.discourse-cdn.com/elastic/original/3X/b/3/b314d2c443f04ccc52570ec34cec8886badea7ba.png)

And when I do http:xxx.xx.xxx:9200/\_cat/indices  
am not able to see indices in elasticsearch

So I did lot of research on error"Exception: org.logstash.beats.BeatsParser$InvalidFrameProtocolException: Invalid Frame Type, received: 69," but could not able figure it

Could anyone help?

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 25, 2017, 8:33pm UTC](https://discuss.elastic.co/t/org-logstash-beats-invalid-frame-protocol-exception/95010/2 "2017-08-25T20:33:30Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
