I’m using elastic-search 7.10.2 to store logs from various sources. The elastic-search indices are automatically created every 10 days. But i didn’t any configurations for that. How to change this behavior like i want to create indices automatically on monthly basis.
With that rotation strategy GL tries to keep index sizes within an “optimal” range - i.e. neither too small nor too big, since that negatively impacts performance.
The 10 days you are seeing is due to the difference between max and min you have specified. GL must rotate after 10 days to guarantee not exceeding max.
You could change your max/min settings to e.g. 180/150. This would give GL more flexibility in when to rotate.