# \_jsonparsefailure

**URL:** <https://discuss.elastic.co/t/-jsonparsefailure/96577>\
**Category:** Logstash\
**Created:** [August 10, 2017, 9:21am UTC](https://discuss.elastic.co/t/-jsonparsefailure/96577 "2017-08-10T09:21:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sureshboiina](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sureshboiina/32/79183_2.png) [@sureshboiina](https://discuss.elastic.co/u/sureshboiina)\
**Post date:** [August 10, 2017, 9:21am UTC](https://discuss.elastic.co/t/-jsonparsefailure/96577/1 "2017-08-10T09:21:59Z")

</div>

HI,

{"header":{"serialNum":"014101B112017080814470800","hmac":"jIkNiFUyslKPyzHeZTwrtymNs1/w0xPdmn+Zf5hQDfY=","timestamp":"2017-08-08T14:47:39.284+08:00"},"body":{"transactionType":"B","etcEntryTimestamp":"2017-08-08T21:47:08.867+08:00","etcAgencyId":"001","etcEntrySPId":"14","etcGroupId":"065"}}

I have a json data as above in message by using json filter in logstash

json {  
source =\> "message"  
target =\> "tx"

```
     }

```

want to parse the json in to tx but i am getting **\_jsonparsefailure**

can u guys please help me on this

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [August 10, 2017, 9:38am UTC](https://discuss.elastic.co/t/-jsonparsefailure/96577/2 "2017-08-10T09:38:19Z")

</div>

Does your JSON string actually contain curly quotes instead of straight quotes?

Please use a `stdout { codec => rubydebug }` output so we can see what your raw event looks like.

---

<div class="post-metadata">

**Author:** ![sureshboiina](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sureshboiina/32/79183_2.png) [@sureshboiina](https://discuss.elastic.co/u/sureshboiina)\
**Post date:** [August 10, 2017, 9:45am UTC](https://discuss.elastic.co/t/-jsonparsefailure/96577/3 "2017-08-10T09:45:53Z")

</div>

NO i dont have curly quotes while copying the text and pasting it on browser it turning to curly quotes

---

<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:** [September 7, 2017, 9:46am UTC](https://discuss.elastic.co/t/-jsonparsefailure/96577/4 "2017-09-07T09:46:04Z")

</div>

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