Skip to content

Elasticsearch creates index templates with deprecated types #37773

@chrisdavies

Description

@chrisdavies

We're trying to get Kibana to work with ES7, but are getting errors like this:

Cannot put multiple mappings: [_doc, doc]

The reason is that we're modifying Kibana to no longer specify the root type for a document, but there are existing index templates which are interfering with us.

Here's a list of template names and their root doc types:

  • .ml-meta [ 'doc' ]
  • .ml-notifications [ 'audit_message' ]
  • .ml-anomalies- [ 'doc' ]
  • .ml-config [ 'doc' ]
  • .ml-state [ 'doc' ]
  • .logstash-management [ 'doc' ]
  • .watches [ 'doc' ]
  • .triggered_watches [ 'doc' ]
  • .watch-history-9 [ 'doc' ]
  • .monitoring-alerts [ 'doc' ]
  • .monitoring-es [ 'doc' ]
  • .monitoring-kibana [ 'doc' ]
  • .monitoring-logstash [ 'doc' ]
  • .monitoring-beats [ 'doc' ]
  • security_audit_log [ 'doc' ]

I saw that there are some individual issues to track this (#37442) but I thought it might be good to have a more comprehensive issue.

Feel free to close if this is redundant!

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Search Foundations/MappingIndex mappings, including merging and defining field typesMetaTeam:Search FoundationsMeta label for the Search Foundations team in Elasticsearch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions