Details
-
Type:
Bug/Feature
-
Status: Resolved (View workflow)
-
Resolution: Fixed
-
Affects Version/s: 1.4.0
-
Fix Version/s: 1.4.0
-
Labels:
Description
Received the following error. Using Elastic 1.0.0, and Logstash 1.4beta1. Tried with a fresh clean ES database and no change.
output {
elasticsearch
stdout
{ # debug => true codec => rubydebug }}
Note, template_override => false, also did not work. Notice I am not using Elasticsearch_http?
Errors:
Using milestone 2 input plugin 'file'. This plugin should be stable, but if you see strange behavior, please let us know! For more information on plugin milestones, see http://logstash.net/docs/1.4.0.beta1/plugin-milestones {:level=>:warn}
RuntimeError: You must specify 'template => ...' in your elasticsearch_http output
get_template_json at /Users/chrispn/Desktop/ELASTIC/logstash-1.4.0.beta1/lib/logstash/outputs/elasticsearch.rb:280
register at /Users/chrispn/Desktop/ELASTIC/logstash-1.4.0.beta1/lib/logstash/outputs/elasticsearch.rb:245
each at org/jruby/RubyArray.java:1613
outputworker at /Users/chrispn/Desktop/ELASTIC/logstash-1.4.0.beta1/lib/logstash/pipeline.rb:220
start_outputs at /Users/chrispn/Desktop/ELASTIC/logstash-1.4.0.beta1/lib/logstash/pipeline.rb:152
Its not that the template can't be replaced, its that the default template is not found. When i used the template log stash worked fine. So the issue is that, by default, logstash indicates that you must specify a template but the documentation and the 1.3.3 behaviour indicate that if you don't a default one is used. This does not seem to the case in 1.4beta1 you must specify a template or receive the above error.