_jsonparsefailure

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

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.

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

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