Elasticsearch version (bin/elasticsearch --version): 7.16 BC5
OS version (uname -a if on a Unix-like system): darwin
Description of the problem including expected versus actual behavior: While upgrading from 6.8.20->7.12.1->7.16.0 UA throws a critical deprecation for Custom mapping types with this message -
Update or remove the following index templates before upgrading to 8.0: [.ml-config, .ml-meta, .ml-notifications, .monitoring-alerts, .triggered_watches, .watch-history-9, .watches, kibana_index_template:.kibana, logstash-index-template, security-index-template]. See https://ela.st/es-deprecation-7-removal-of-types for alternatives to mapping types.
After discussion in stack-upgrade it was determined that these system templates need to be removed to user doesn't see them in Kibana

Elasticsearch version (
bin/elasticsearch --version): 7.16 BC5OS version (
uname -aif on a Unix-like system): darwinDescription of the problem including expected versus actual behavior: While upgrading from 6.8.20->7.12.1->7.16.0 UA throws a critical deprecation for Custom mapping types with this message -
After discussion in stack-upgrade it was determined that these system templates need to be removed to user doesn't see them in Kibana