Skip to content

Provide more information on _failed_to_convert_ exceptions #21946

@ppf2

Description

@ppf2

https://github.com/elastic/elasticsearch/blob/master/core/src/main/java/org/elasticsearch/index/IndexingSlowLog.java#L187

[2016-12-01 13:44:14,966][WARN ][index.indexing.slowlog.index] [node_name] [index][2] took[1.3m], took_millis[83880], type[match], id[AVi8VwvBCah0Po5KgBmM], routing[], source[source[_failed_to_convert_]

When we get the failed_to_convert message in the slowlog entry for indexing, it doesn't provide any information on what part of the document it has trouble json-ing. It will be helpful to provide some pointers so the end user can go check their source/ingest pipeline, etc..

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions