I am using elk stack to retain and monitor the nginx-ingress logs of my k8s cluster. Instead of kibana Im using Grafana and instead of fluentd Im using fuent-bit. I found one documentation saying elasticsearch retain logs for 7 days and I also found an article where it said it retains logs life long.
All I want is the logs for last 6 months and any logs beyond that is not needed.
I have checked values.yaml file of elasticsearch to see if I can find the configuration option to change logs retention time but to no avail.
Has anyone worked with similar stack and knows how to change logs retention time??? Your time will be highly appreciated.