# Unrecognized token 'CONNECTION\_LOST'

**URL:** <https://discuss.elastic.co/t/unrecognized-token-connection-lost/46317>\
**Category:** Logstash\
**Created:** [April 5, 2016, 2:52am UTC](https://discuss.elastic.co/t/unrecognized-token-connection-lost/46317 "2016-04-05T02:52:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Farouk\_Samu](https://avatars.discourse-cdn.com/v4/letter/f/9e8a1a/32.png) [@Farouk\_Samu](https://discuss.elastic.co/u/Farouk_Samu)\
**Post date:** [April 5, 2016, 2:52am UTC](https://discuss.elastic.co/t/unrecognized-token-connection-lost/46317/1 "2016-04-05T02:52:59Z")

</div>

Continuing the discussion from [Logstash-filebeat error](https://discuss.elastic.co/t/logstash-filebeat-error/46315/2):

thanks warkolm,

Included protocol =\> http and I had this error again

Trouble parsing json {:source=\>"rest", :raw=\>"CONNECTION\_LOST", :exception=\>#\<LogStash::Json::ParserError: Unrecognized token 'CON NECTION\_LOST': was expecting ('true', 'false' or 'null')  
at [Source: [B@1e93758; line: 1, column: 31]\>, :level=\>:warn}  
Trouble parsing json {:source=\>"rest", :raw=\>"CONNECTION\_LOST", :exception=\>#\<LogStash::Json::ParserError: Unrecognized token 'CON NECTION\_LOST': was expecting ('true', 'false' or 'null')  
at [Source: [B@a54131; line: 1, column: 31]\>, :level=\>:warn}

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 5, 2016, 4:00am UTC](https://discuss.elastic.co/t/unrecognized-token-connection-lost/46317/2 "2016-04-05T04:00:05Z")

</div>

Please keep it to the one thread - [Logstash-filebeat error](https://discuss.elastic.co/t/logstash-filebeat-error/46315)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 5, 2016, 4:00am UTC](https://discuss.elastic.co/t/unrecognized-token-connection-lost/46317/3 "2016-04-05T04:00:08Z")

</div>

Closed on April 5, 2016, 4:00am UTC


