# Filebeat JSON parsing Error

**URL:** https://discuss.elastic.co/t/filebeat-json-parsing-error/123648
**Category:** Beats
**Tags:** filebeat
**Created:** [March 12, 2018, 10:39pm UTC](https://discuss.elastic.co/t/filebeat-json-parsing-error/123648 "2018-03-12T22:39:47Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![prime8](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prime8/32/28702_2.png) [@prime8](https://discuss.elastic.co/u/prime8)
#### Post date: [March 12, 2018, 10:39pm UTC](https://discuss.elastic.co/t/filebeat-json-parsing-error/123648/1 "2018-03-12T22:39:47Z")

</div>

Here is my filebeat configuration in windows

> - type: log

and my log looks like:

> {"level":30,"time":1520891892759,"pid":15268,"hostname":"DESKTOP-BMTMN1M","message":"\*\* APP START \*\*","type":"init","v":1}  
> {"level":30,"time":1520891892760,"pid":15268,"hostname":"DESKTOP-BMTMN1M","message":"listening on \*:3456","type":"init","v":1}  
> {"level":30,"time":1520891893972,"pid":15268,"hostname":"DESKTOP-BMTMN1M","message":"hpWfK9Zv81TBU84CAAAA user connected","type":"client","v":1}  
> {"level":30,"time":1520891895760,"pid":15268,"hostname":"DESKTOP-BMTMN1M","message":"DB - Get Exchange Info, Pair Maps","type":"init","v":1}  
> {"level":30,"time":1520891896191,"pid":15268,"hostname":"DESKTOP-BMTMN1M","message":"INIT: Exchanges","type":"init","v":1}  
> {"level":30,"time":1520891898892,"pid":15268,"hostname":"DESKTOP-BMTMN1M","message":"INIT: pairMapLookup","type":"init","v":1}  
> {"level":30,"time":1520891898898,"pid":15268,"hostname":"DESKTOP-BMTMN1M","message":"INIT: Fetch Balances","type":"init","v":1}

but i keep getting this JSON parsing error in filebeat:  
Error decoding JSON: invalid character '\x00' looking for beginning of value

each log statement is contained in one line, and each line is terminated with a CR,LF

---

<div class="post-metadata">

### Author: ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)
#### Post date: [March 14, 2018, 8:47am UTC](https://discuss.elastic.co/t/filebeat-json-parsing-error/123648/2 "2018-03-14T08:47:56Z")

</div>

Do you get an error for each line or only some of the lines?

Which Filebeat version are you using?

---

<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: [April 11, 2018, 8:48am UTC](https://discuss.elastic.co/t/filebeat-json-parsing-error/123648/3 "2018-04-11T08:48:00Z")

</div>

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