Template autoloading not working

I've read
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-templates.html
and es.path.conf on running ES i points to /etc/elasticsearch and I've put
my template file in /etc/elasticsearch/templates/logstash.json

I can load fine using curl XPUT - with the
template : "logstash {
}

lines removed (since the XPUT has the name in the URL instead.

Here's the content:
{
template : "logstash" {
"template" : "logstash-",
"settings" : {
"index.cache.field.type" : "soft",
"index.refresh_interval" : "5s",
"index" : {
"query" : { "default_field" : "message" },
"store" : { "compress" : { "stored" : true, "tv": true } }
}
},
"mappings": {
"default": {
"_all": { "enabled": false },
"_source": { "compress": true },
"dynamic_templates": [{
"string_template" : {
"match" : "
",
"mapping": { "type": "string", "index": "not_analyzed" },
"match_mapping_type" : "string"
}
}],
"_id" : { "path" : "message_id"},
"properties" : {
"message" : { "type" : "string", "index" : "analyzed" },
"host" : { "type" : "string", "index" : "not_analyzed" },
"source_path" : { "type" : "string", "index" : "not_analyzed" },
"tags": { "type": "string", "index" : "not_analyzed" },
"@timestamp" : { "type" : "date", "index" : "not_analyzed" },
"type" : { "type" : "string", "index" : "not_analyzed" }
}
}
}
}
}

I see no log lines, not with DEBUG loglevel either - relating to his :frowning:

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/a775b1c0-78ab-4f5d-a147-f8adeda13972%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

I'm running 0.90.6 on openjdk 1.7 btw. :slight_smile:

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/8bd05e94-7b73-450e-b7f0-4b79e11decd3%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

When are you expecting the template to be reloaded? It should only be
reloaded upon a new index creation.

--
Ivan

On Wed, Dec 4, 2013 at 5:07 AM, Klavs Klavsen klavs@enableit.dk wrote:

I'm running 0.90.6 on openjdk 1.7 btw. :slight_smile:

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/8bd05e94-7b73-450e-b7f0-4b79e11decd3%40googlegroups.com
.

For more options, visit https://groups.google.com/groups/opt_out.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQB7ZBwv947LTKnG_GW1pEDs_pf6YcW6GfGPjnVXQhT8DA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hey,

you may have hit Loading templates via templates/ directory is not working · Issue #4235 · elastic/elasticsearch · GitHub

can you test with the beta1 and see if it is working maybe?

--Alex

On Thu, Dec 5, 2013 at 4:12 PM, Ivan Brusic ivan@brusic.com wrote:

When are you expecting the template to be reloaded? It should only be
reloaded upon a new index creation.

--
Ivan

On Wed, Dec 4, 2013 at 5:07 AM, Klavs Klavsen klavs@enableit.dk wrote:

I'm running 0.90.6 on openjdk 1.7 btw. :slight_smile:

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/8bd05e94-7b73-450e-b7f0-4b79e11decd3%40googlegroups.com
.

For more options, visit https://groups.google.com/groups/opt_out.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQB7ZBwv947LTKnG_GW1pEDs_pf6YcW6GfGPjnVXQhT8DA%40mail.gmail.com
.

For more options, visit https://groups.google.com/groups/opt_out.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAGCwEM8DDM%2BKGOLs-uykZ2FPHkb0Ps8-oO3Zaxu0R7HtnUksew%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hey,

I was talking about beta2, sorry for the confusion.

--Alex

On Thu, Dec 5, 2013 at 4:30 PM, Alexander Reelsen alr@spinscale.de wrote:

Hey,

you may have hit
Loading templates via templates/ directory is not working · Issue #4235 · elastic/elasticsearch · GitHub

can you test with the beta1 and see if it is working maybe?

--Alex

On Thu, Dec 5, 2013 at 4:12 PM, Ivan Brusic ivan@brusic.com wrote:

When are you expecting the template to be reloaded? It should only be
reloaded upon a new index creation.

--
Ivan

On Wed, Dec 4, 2013 at 5:07 AM, Klavs Klavsen klavs@enableit.dk wrote:

I'm running 0.90.6 on openjdk 1.7 btw. :slight_smile:

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/8bd05e94-7b73-450e-b7f0-4b79e11decd3%40googlegroups.com
.

For more options, visit https://groups.google.com/groups/opt_out.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQB7ZBwv947LTKnG_GW1pEDs_pf6YcW6GfGPjnVXQhT8DA%40mail.gmail.com
.

For more options, visit https://groups.google.com/groups/opt_out.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAGCwEM98kWzMwp7LPUMUjeyng_%2B78Z5oYpZU2Pcx8S8dBP1hBA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.