Index size


I am using logstash and elasticsearch for logs. I have noticed a huge
difference in index size between test and production environment. In
testing environment - index size with 20k documents is 15MB, however in
production with 60k documents - index size is 2GB.

Everything logged in production is the same as in test. The only difference
is speed at which logs are logged.

Why is there such huge difference in size? Could it be that the index cant
keep up with optimizing itself (after I hit optimize, size dropped by 200MB
and in test environment index size was going between 15-300MB)? What can be
done do decrease index size?

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
For more options, visit