# Unable to parse json logs

**URL:** <https://discuss.elastic.co/t/unable-to-parse-json-logs/193143>\
**Category:** Elasticsearch\
**Created:** [July 31, 2019, 2:35pm UTC](https://discuss.elastic.co/t/unable-to-parse-json-logs/193143 "2019-07-31T14:35:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raghav\_Agrawal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/raghav_agrawal/32/48088_2.png) [@Raghav\_Agrawal](https://discuss.elastic.co/u/Raghav_Agrawal)\
**Post date:** [July 31, 2019, 2:35pm UTC](https://discuss.elastic.co/t/unable-to-parse-json-logs/193143/1 "2019-07-31T14:35:01Z")

</div>

2019-07-31T14:29:12.644Z DEBUG [elasticsearch] elasticsearch/client.go:507 Bulk item insert failed (i=12, status=500): {"type":"exception","reason":"java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('f' (code 102)): was expecting double-quote to start field name\n at [Source: org.elasticsearch.common.bytes.BytesReference$MarkSupportingStreamInputWrapper@59ee9ae1; line: 1, column: 3]","caused\_by":{"type":"illegal\_argument\_exception","reason":"java.lang.IllegalArgumentException: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('f' (code 102)): was expecting double-quote to start field name\n at [Source: org.elasticsearch.common.bytes.BytesReference$MarkSupportingStreamInputWrapper@59ee9ae1; line: 1, column: 3]","caused\_by":{"type":"illegal\_argument\_exception","reason":"com.fasterxml.jackson.core.JsonParseException: Unexpected character ('f' (code 102)): was expecting double-quote to start field name\n at [Source: org.elasticsearch.common.bytes.BytesReference$MarkSupportingStreamInputWrapper@59ee9ae1; line: 1, column: 3]","caused\_by":{"type":"json\_parse\_exception","reason":"Unexpected character ('f' (code 102)): was expecting double-quote to start field name\n at [Source: org.elasticsearch.common.bytes.BytesReference$MarkSupportingStreamInputWrapper@59ee9ae1; line: 1, column: 3]"}}},"header":{"processor\_type":"json"}}

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [August 1, 2019, 12:28pm UTC](https://discuss.elastic.co/t/unable-to-parse-json-logs/193143/2 "2019-08-01T12:28:33Z")

</div>

please take the time to properly write up your problem instead of just pasting snippets. Also take the time to properly format snippets, as this forum supports markdown (and therefore nicely formatted code snippets).

it seems you tried to index invalid JSON. Can you share the data you tried to index?

---

<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 29, 2019, 12:28pm UTC](https://discuss.elastic.co/t/unable-to-parse-json-logs/193143/3 "2019-08-29T12:28:35Z")

</div>

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