Parsing failure


#1

Hi currently we have a issue about parsing here below is the json that is returned to us.

{
"type": "mapper_parsing_exception",
"reason": "failed to parse [remote_addr]",
"caused_by": {
"type": "illegal_argument_exception",
"reason": "Invalid format: "10.128.3.15" is malformed at ".128.3.15""
}
}

How can we address the problem since we are just new with elasticsearch.

Thanks


(Mark Walkom) #2

Looks like the IP data you are sending is missing the first octet.

How are you sending the data to Elasticsearch?


#3

We are sending it first to our graylog server then to elasticsearch


(Mark Walkom) #4

You may need to get some help from the graylog team as it appears that is where the problem lays.


#5

Alright. Thank you for the response


(Krunal Kalaria) #6

hi @lkenetadmin,

this is your json or you convert the logs into json either you can try tshark for convert in perfect json mean your data should be in one line and then you can easily parse those data.


(system) #7

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