Dear all,

In order to overwrite some index settings I created a custom template:

{
"logstash2" : {
"order" : 1,
"template" : "logstash-*",
"settings" : 
{ "index.number_of_replicas" : "0" } 

}
}

Template is placed in /etc/elasticsearch/config/templates/logstash2.json

[root@logstash elasticsearch]# ls -la /etc/elasticsearch/
total 56
drwxr-xr-x 3 root root 4096 Feb 26 13:26 .
drwxr-xr-x. 99 root root 12288 Feb 22 03:37 ..
drwxr-xr-x 3 root root 4096 Feb 26 11:27 config
rw-rr- 1 root root 12686 Feb 26 11:52 elasticsearch.yml
rw-rr- 1 root root 12662 Jan 20 14:24 elasticsearch.yml.rpmsave
rw-rr- 1 root root 1512 Jan 15 18:05 logging.yml

Also I leaved in default state elasticsearch.yml file, so all path 
variables are commented.
After service restart I don't see any new index template. What am I doing 
wrong? Is the template path wrong?

Thanks in advance

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/b78efdfb-3449-432f-a23a-fdff3e3a0e1b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to