How to equally split shards storage space?


I know that we can assign number of shards per index by using index-template. but Is there any way to assign shards storage space like 30GB/shard, 45GB/shard manually? In my use case I am generating a index with date in every day. So the indices are gradually increased every day. also the number of shards will be increased. Is there any way to solve this issue and any better approach for my use case?


Instead of having strict daily indices, look at using the rollover API. This allows you to cut indices based on time and or size. This blog post provides some additional background.

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