Mapping prevents documents from being accepted

I have documents that appear to fail to be indexed / stored by Elasticsearch when I modify the mapping. The mapping as a gist

I am running Elasticsearch 5.5 and if I delete the mapping then the documents are indexed (document_type is "dstat") and a mapping is automatically created.

Since some of the values need to be numbers I copied the auto-created mapping and changed the two fields that are in fact numbers to type "integer".

Thereafter I delete the index and while the index is created no documents are indexed after deleting the index and updating the mapping.

Any idea what could be the problem?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.