Limit Elasticsearch index size

I have a data stream that have around 100 - 200 GB of data coming into my logstash. How do I configure logstash or elasticsearch so that the output indexes each has a maximum size of 20 GB?

E.g. 200 GB = 10 (20 GB indexes)
E.g. 210 GB = 11(20 GB indexes)

What's supposed to happen once the limit is reached? It sounds like Elasticsearch 5's index rollover feature might fit you.

2 Likes

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