I am trying to experiment with Elasticsearch ILM feature. All the documentation and example show how to create ILM Policy, using REST API or using Kibana GUI.
I want to ask is there a way to provide ILM policy Json string in some config file, so that the policy is created automatically, when Elasticserach starts(I am running Elasticserach 6.7.1).