I am trying to configure filebeat to write logs to elastic. I have got the logs to go into elastic, but want know to set up ilm.
I have
setup.ilm:
enabled: true
policy_name: "My_Policy"
And when looking in elastic that policy now exists, but the logs are not going into this policy. How do I get the logs to attach to the policy that I have created?