# Failed to parse \[host\] error

**URL:** <https://discuss.elastic.co/t/failed-to-parse-host-error/161492>\
**Category:** Logstash\
**Created:** [December 19, 2018, 10:35am UTC](https://discuss.elastic.co/t/failed-to-parse-host-error/161492 "2018-12-19T10:35:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ruthvik\_Sai](https://avatars.discourse-cdn.com/v4/letter/r/a587f6/32.png) [@Ruthvik\_Sai](https://discuss.elastic.co/u/Ruthvik_Sai)\
**Post date:** [December 19, 2018, 10:35am UTC](https://discuss.elastic.co/t/failed-to-parse-host-error/161492/1 "2018-12-19T10:35:06Z")

</div>

Hi,  
I am getting the following error when I am launching logstash. I have sending data from winlogbeat.

[2018-12-19T15:59:12,495][WARN][logstash.outputs.elasticsearch] Could not index event to Elasticsearch. {:status=\>400, :action=\>["index", {:\_id=\>nil, :\_index=\>"logstash-2018.12.18", :\_type=\>"doc", :\_routing=\>nil}, #LogStash::Event:0x2070f7ee], :response=\>{"index"=\>{"\_index"=\>"logstash-2018.12.18", "\_type"=\>"doc", "\_id"=\>"\_5QBxmcBSmploCAdK\_sp", "status"=\>400, "error"=\>{"type"=\>"mapper\_parsing\_exception", "reason"=\>"failed to parse [host]", "caused\_by"=\>{"type"=\>"illegal\_state\_exception", "reason"=\>"Can't get text on a START\_OBJECT at 1:775"}}}}}

Can anyone please help me in resolving the error?

regards,  
ruthvik

---

<div class="post-metadata">

**Author:** ![A\_B](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/a_b/32/17104_2.png) [@A\_B](https://discuss.elastic.co/u/A_B)\
**Post date:** [December 19, 2018, 10:59am UTC](https://discuss.elastic.co/t/failed-to-parse-host-error/161492/2 "2018-12-19T10:59:22Z")

</div>

Hi @Ruthvik_Sai,

any chance you have recently upgraded _winlogbeat_ or run different versions of it?

Could be [https://www.elastic.co/guide/en/beats/libbeat/current/breaking-changes-6.3.html#breaking-changes-mapping-conflict](https://www.elastic.co/guide/en/beats/libbeat/current/breaking-changes-6.3.html#breaking-changes-mapping-conflict)

---

<div class="post-metadata">

**Author:** ![Ruthvik\_Sai](https://avatars.discourse-cdn.com/v4/letter/r/a587f6/32.png) [@Ruthvik\_Sai](https://discuss.elastic.co/u/Ruthvik_Sai)\
**Post date:** [December 27, 2018, 11:59am UTC](https://discuss.elastic.co/t/failed-to-parse-host-error/161492/3 "2018-12-27T11:59:54Z")

</div>

Thanks @A_B..  
I will check the link and get back

---

<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:** [January 24, 2019, 12:10pm UTC](https://discuss.elastic.co/t/failed-to-parse-host-error/161492/4 "2019-01-24T12:10:06Z")

</div>

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