Can't merge a non object mapping

Hello,

I am getting this error

2017/09/26 20:31:28.110247 client.go:465: WARN Can not index event (status=400): {"type":"illegal_argument_exception","reason":"Can't merge a non object mapping [cmm.pm.ipds0.VS.NbrRexmit-S3Gtpc] with an object mapping [cmm.pm.ipds0.VS.NbrRexmit-S3Gtpc]"}

regards!
Valdemar

This likely indicates that you have a field named cmm.pm.ipds0.VS.NbrRexmit-S3Gtpc and it's value was an object. And now you are sending the same field but with a value that is not object (like a string).

You are probably using dynamic mappings which means Elasticsearch will create a mapping for the field the first time that it sees it. The first event containing that field will determine the mapping type. After that you must be consistent with the data type sent for that field or else you will get this error.

This topic was automatically closed after 21 days. New replies are no longer allowed.