It is possible to autoratate datastream at Kibana?

Hello, i would like to share this issue:

i got a kibana and filebeat reported to elasticsearch inside K8s, but that by default creates a datastream called .ds-filebeat-8.5.1-2025.12.14-000001, it is possible to make a rotate by day and also delete auto after 30d?
best regards

Hi @alastor,

Welcome! You can manage the lifecycle of the streams using ILM and configure it within your filebeat configuration:

This would include the rotation and deletion that you're requesting.

Hope that helps!

Thanks a lot for your response, i will check that.

Best regards