I'm currently trying to configure and use lifecycle policies for my indices and was following this instruction (https://www.elastic.co/guide/en/elasticsearch/reference/current/set-up-lifecycle-policy.html).
After creating an index template, I get a data stream as intended. My the index template matches the start of the name of my incoming index pattern coming from logstash.
But unfortunately the index of the data stream is empty, i. e. has "docs count: 0".
I'm have no idea where i went wrong and I'm therefor looking forward to any help.