I have both Elasticsearch and Logstash in version 7.9.1-1 installed. Here\'s the policy I\'ve created:
Elasticsearch
Logstash
7.9.1-1
PUT _ilm/policy/