Migration Deprecation for Phantom Index Templates

I just upgraded my Elasticsearch cluster from 7.13.4 to 7.16.3 . After upgrading all nodes in the cluster, I checked the migration deprecations endpoint and found this warning:

GET _migration/deprecations
{
	"cluster_settings": [
		{
			"level": "warning",
			"message": "Custom mapping types in index templates are deprecated",
			"url": "https://ela.st/es-deprecation-7-custom-types",
			"details": "Update or remove the following index templates before upgrading to 8.0: [.watch-history-7, logstash]. See https://ela.st/es-deprecation-7-removal-of-types for alternatives to mapping types.",
			"resolve_during_rolling_upgrade": false
		}
	],
	"node_settings": [],
	"index_settings": {},
	"ml_settings": [],
	"ccr_auto_followed_system_indices": []
}

I then checked the index_template endpoint for the .watch-history-7 and logstash index templates but they aren't there (shortened for readability):

GET _index_template
{
    "index_templates": [
        {
            "name": ".triggered_watches",
            "index_template": {
                "index_patterns": [
                    ".triggered_watches*"
                ],
                ...
            }
        },
        {
            "name": "synthetics",
            "index_template": {
                "index_patterns": [
                    "synthetics-*-*"
                ],
                ...
            }
        },
        {
            "name": ".watch-history-13",
            "index_template": {
                "index_patterns": [
                    ".watcher-history-13*"
                ],
                ...
            }
        },
        {
            "name": "ilm-history",
            "index_template": {
                "index_patterns": [
                    "ilm-history-5*"
                ],
                ...
            }
        },
        {
            "name": ".ml-state",
            "index_template": {
                "index_patterns": [
                    ".ml-state*"
                ],
                ...
            }
        },
        {
            "name": ".slm-history",
            "index_template": {
                "index_patterns": [
                    ".slm-history-5*"
                ],
                ...
            }
        },
        {
            "name": "metrics",
            "index_template": {
                "index_patterns": [
                    "metrics-*-*"
                ],
                ...
            }
        },
        {
            "name": ".ml-anomalies-",
            "index_template": {
                "index_patterns": [
                    ".ml-anomalies-*"
                ],
                ...
            }
        },
        {
            "name": ".ml-notifications-000002",
            "index_template": {
                "index_patterns": [
                    ".ml-notifications-000002"
                ],
                ...
            }
        },
        {
            "name": ".deprecation-indexing-template",
            "index_template": {
                "index_patterns": [
                    ".logs-deprecation.*"
                ],
                ...
            }
        },
        {
            "name": ".watches",
            "index_template": {
                "index_patterns": [
                    ".watches*"
                ],
                ...
            }
        },
        {
            "name": "logs",
            "index_template": {
                "index_patterns": [
                    "logs-*-*"
                ],
                ...
            }
        },
        {
            "name": ".ml-stats",
            "index_template": {
                "index_patterns": [
                    ".ml-stats-*"
                ],
                ...
            }
        }
    ]
}

What am I missing? Am I looking in the wrong place for the index templates? Is this actually a concern before I upgrade to v8.0? Is there a way to resolve the warning? Thanks in advance!

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