Hey guys,

I just wanted to ask if there´s a possibility to decrease the disk space 
useage of an elasticsearch index.

e.g. i got an index called logstash-2014.03.17 with an size of 547MB and an 
total of 1018761 indexed documents/logs and i want to reduce the disk usage 
of it.

Regarding to that article i 
found: https://github.com/elasticsearch/elasticsearch/issues/2037 all i 
have to do is to set index.store.compress.stored to true.

I´ve done this with 
-curl -XPOST 'localhost:9200/logstash-2014.03.17/_close'
-curl curl -XPUT 'localhost:9200/logstash-2014.03.17/_settings' -d '
{
    "index" : {
        " index.store.compress.stored" : true
    } }
'
-curl -XPOST 'localhost:9200/logstash-2014.03.17/_open'

than i optimized the index with the command: 

curl -XPOST 'http://localhost:9200/logstash-2014.03.17/_optimize'

and restarted the cluster.

Unfortunately nothing happend and it still uses 547MB of disk space.

Have i done sth. wrong?

Are there other ways to decrease the disk space useage?

Thanks for response.

-- 
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 elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/8b4d651e-7379-47e8-88a1-189308d118f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to