Logstash WARN: Could not index event to Elasticsearch .... Can't get text on a START_OBJECT

You need to share the entire log error, not just part of it.

This error normally happens when you try to index an field that it is an json object, but the mapping for this field does not allow it, because it was not mapped as an object or you are using dynamic mapping and already indexed a field with the same name that was not an object.

Check this forum post about that message.

1 Like