I have Elasticsearch 7.4.1 cluster for storing logs, and i have this SLM pattern applied in my cluster
curl -X PUT "afghanistan-01.elastic:9200/_slm/poli