Hi Werner, I was changed my setup like follwing:
My *retention strategy is now time* and the rotation is set to the default *1d*. - rotation_strategy = time - elasticsearch_max_time_per_index = 1d - elasticsearch_max_number_of_indices = 14 So I will see, how the disk space are growing up. BUT, we're talking about disk space usage from Elasticsearch and the *smaller usage of MongoDB*, compared to the Ealsticserch. *In my setup it is the other way around!* Here are my actual disk space usage: # du -hs /var/lib/elasticsearch/ 15M /var/lib/elasticsearch/ # du -hs /var/lib/mongodb/ 850M /var/lib/mongodb/ This is it, what I'm thinking about and what it makes so difficult to calculate the disk space for an other bigger system. Thank you Klaus. Am Freitag, 6. November 2015 20:28:00 UTC+1 schrieb Werner van der Merwe: > > You can manage size in three ways: > > Retain a certain number of logs > Retain a certain period of logs > Retain a certain size of logs > > Thus, how you manage it is up to you. In the config file you can choose > which of the above method you want to use, and set the thresholds. > > So I would turn the question around, and if space is your biggest concern, > work backwards. Say you have 400Gb and want to use 75% for Elasticsearch > (Mongo should remain small). Then, if you keep 20 indexes, each index size > should be 15Gb Gb. > > The great thing is you can adjust this at any time. > > Also, if you look in system/overview and select indexes, you will get an > overview of how much space you are using currently and over what period. > This will give you a baseline to work from. > > The other option is to set up another Graylog instance using a different > retention method, say index by week and retaining 2 weeks and see how much > space that takes up. Your clients should be able to send to both. > > > -- You received this message because you are subscribed to the Google Groups "Graylog Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/f1d95b77-5bfe-4a84-a849-46b13ff723e2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
