Hi

Today I tried the following request, which worked great:
curl -XPUT 'localhost:9200/logstash-2014.03.24/_settings' -d '
{
    "index" : {
        "number_of_replicas" : 0
    }
}'

Now I want to set number of replicas for every indice in 2014 to 0. Can I 
use a wildcard in the url such as the following? :
curl -XPUT 'localhost:9200/logstash-2014.*/_settings' -d '
{
    "index" : {
        "number_of_replicas" : 0
    }
}'

Or do I have to make a shell script that will iterate over all the dates?

Thanks for your help

Aldian

-- 
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/174155d7-6133-40f0-9d8f-c340971f1f44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to