Hello!I have a json file and each line of it seems like the folowing line
{"ip":"74.63.161.124","timestamp":"2015-10-16T14:00:13-04:00","data":{},"error":"EOF","error_component":"banner","location":[17.3753, 78.4744]}
The program exports that is an invalid file and the reason of that is that it does not accept
the feature "location":[17.3753, 78.4744] which contains a list.
Particularly, it exports:
WARNING:root:malformed node or string: <_ast.BinOp object at 0x0000029A2FFF7E80>
Moreover, when I do not validate the file, I cannot tranfer to ES the lines that "correspond" to these warnings.
It would be a good idea to be fixed as it's a valid json file.The error is because of json.loads command but I couldn't fix it.
Hello!I have a json file and each line of it seems like the folowing line
{"ip":"74.63.161.124","timestamp":"2015-10-16T14:00:13-04:00","data":{},"error":"EOF","error_component":"banner","location":[17.3753, 78.4744]}
The program exports that is an invalid file and the reason of that is that it does not accept
the feature "location":[17.3753, 78.4744] which contains a list.
Particularly, it exports:
WARNING:root:malformed node or string: <_ast.BinOp object at 0x0000029A2FFF7E80>
Moreover, when I do not validate the file, I cannot tranfer to ES the lines that "correspond" to these warnings.
It would be a good idea to be fixed as it's a valid json file.The error is because of json.loads command but I couldn't fix it.