# Logstash json parse error

**URL:** https://discuss.elastic.co/t/logstash-json-parse-error/291557
**Category:** Logstash
**Created:** [December 12, 2021, 6:48pm UTC](https://discuss.elastic.co/t/logstash-json-parse-error/291557 "2021-12-12T18:48:08Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![dominbdg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dominbdg/32/102457_2.png) [@dominbdg](https://discuss.elastic.co/u/dominbdg)
#### Post date: [December 12, 2021, 6:48pm UTC](https://discuss.elastic.co/t/logstash-json-parse-error/291557/1 "2021-12-12T18:48:08Z")

</div>

hello,  
Last time I'm receiving a log of logstash json parse errors,  
from the error logs I cannot read anything about to what files it is about to,

`[WARN] 2021-12-12 13:28:20.845 [[main]>worker6] json - Error parsing json {:source=>"message", :raw=>"2021-12-12 13:28:16.585 +00:00 [Information] [ThreadId: 61]Trace Identifier:8000a85c-0002-f100-b63f-84710c7967bb [Serilog.AspNetCore.RequestLoggingMiddleware] Handled \"HTTPS\" \"GET\" \"/touchless-notifier/healthz\" responded 200 in 1.4385 \"HTTPS\" ms", :exception=>#<LogStash::Json::ParserError: Unexpected character ('-' (code 45)): Expected space separating root-level values`

Can You please help me to identify source of those logs ?

---

<div class="post-metadata">

### Author: ![yaauie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yaauie/32/23363_2.png) [@yaauie](https://discuss.elastic.co/u/yaauie)
#### Post date: [December 15, 2021, 11:01pm UTC](https://discuss.elastic.co/t/logstash-json-parse-error/291557/2 "2021-12-15T23:01:31Z")

</div>

Your pipeline likely has an input plugin configured with `codec => json` or similar that is handling non-JSON data.

---

<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 12, 2022, 11:01pm UTC](https://discuss.elastic.co/t/logstash-json-parse-error/291557/3 "2022-01-12T23:01:50Z")

</div>

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