ElasticSearch index template from 6.8 to 7.4 need some help

I had same question few month back when I am upgrading.

https://discuss.elastic.co/t/resolving-deprecation-warnings-to-allow-us-to-upgrade/178038/5