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)

(Magnus B├Ąck) #2

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

(system) #3

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