I have a new instance using 6.2 and i am duplicating same PUT/POST requests to both 5.x and 6.2
In 6.2 i get this error because gb_size is usually a float value but some times it is a N/A
org.elasticsearch.index.mapper.MapperParsingException: failed to parse [target.gb_size]
In 5.X i get it indexed and see indexed docs with values of: N/A, 32569.08, 0, 1024, etc
I have some docs in different indexes where some fields sometimes is an integer and other is empty or null or N/A.
Is there any global property so this field always get indexed? I set ignore_malformed to true to ignore fields that doesnt match the mapping but looks like doesnt work in 6x?
put /_template/all
{
"order": 0,
"index_patterns": "ueb-*",
"settings": {
"index": {
"mapping": {
"ignore_malformed": "true"
}
}
}
}