Index rollover with date and a counter

I have a index which is more than 500GB per day(index-2019.05.27) . I want to make a rollover for every 4 hr so it will a create a new index

And next day its should start with

Please let me know how to achieve this .

I do not think this is possible as the counter is not reset per day. Why do you require a date in the index name at all? Why not just use the sequence number?

Hi Chris ,
Thanks for the reply .
The requirement is , I have to take a snapshot of everyday index and store in S3 using s3 repository plugin .
The stored logs will be restored back by the user related to respective date .

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.