Can't get text on a END_OBJECT


(Alex) #1

MapperParsingException[failed to parse [Entry.Component.raw]]; nested: IllegalStateException[Can't get text on a END_OBJECT at 1:729];

XML contains sometimes null value field:

... <"Component><"/Component> ...

The same problems:


But I still didn't find solution.
if !([entry][Component] =~ /.+/) {
mutate {
remove_field => [ "[entry][Component]" ]
}
}
doen't work, It remove all fields null and not null.


(Alex) #2

Another field in my XML file
<"Topic"> <"/Topic">
are always null and I don't see any problem with sening this field to Elastic


(Alex) #3

<"Topic"> <"/Topic"> is not indexed


(Adrien Grand) #4

Can you give more context? Which API is raising this issue, is it the index API?


(Adrien Grand) #5

If yes, then what do your documents look like?


(system) #6