Elasticsearch SLM policy Error

SLM was introduced in Elasticsearch 7.6 so you need to upgrade.