# Parsing issues

**URL:** <https://discuss.elastic.co/t/parsing-issues/153895>\
**Category:** Logstash\
**Created:** [October 25, 2018, 2:50am UTC](https://discuss.elastic.co/t/parsing-issues/153895 "2018-10-25T02:50:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rcbart](https://avatars.discourse-cdn.com/v4/letter/r/e79b87/32.png) [@rcbart](https://discuss.elastic.co/u/rcbart)\
**Post date:** [October 25, 2018, 2:50am UTC](https://discuss.elastic.co/t/parsing-issues/153895/1 "2018-10-25T02:50:50Z")

</div>

I'm a newbie to ES so pardon the ignorance or if I am posting in the wrong place.  
Here is the problem I am facing.

- Ive set up ES, filebeats, logstash and kibana on my local WIndows 10 machine.

- I have a sample apache log file that I am working with.

- It seems that filebeats is parsing the file correctly, since I am getting the following console logs:

However I am not seeing the messages in Kibana.

- Digging into the logstash log messages, I am seeing the following:  
[2018-10-24T19:36:21,832][WARN][logstash.outputs.elasticsearch] Could not index event to Elasticsearch. {:status=\>400, :action=\>["index", {:\_id=\>nil, :\_index=\>"demo-index", :\_type=\>"doc", :\_routing=\>nil}, #LogStash::Event:0x27bf063c], :response=\>{"index"=\>{"\_index"=\>"demo-index", "\_type"=\>"doc", "_id"=\>"Zm4UqWYB7oV8CsvWcc0_", "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:462"}}}}}

Where have I gone wrong?

---

<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:** [November 22, 2018, 3:04am UTC](https://discuss.elastic.co/t/parsing-issues/153895/2 "2018-11-22T03:04:53Z")

</div>

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