Hello,
I have installed Elasticsearsh 1.4.4, Shield 1.1.1, Logstash 1.5.1.
I put this configuration for Logstash in /etc/logstash/conf.d/log.conf
input
{
stdin {}
}
output {
stdout { codec => rubydebug }
elasticsearch {
user => "admin"
password => "password"
protocol => "http"
}
}
But when I test it with the following command :
/opt/logstash/bin/logstash -f /etc/logstash/conf.d/log.conf
Logstash start correctly
Logstash startup completed
So I put a string "test", and this is my result
failed action with response of 404, dropping action: ["index", {:_id=>nil, :_index=>"logstash-2015.06.22", :_type=>"logs", :_routing=>nil}, #<LogStash::Event:0x7ac7c9cc @metadata={"retry_count"=>0}, @accessors=#<LogStash::Util::Accessors:0x5a7ba8d4 @store={"message"=>"test", "@version"=>"1", "@timestamp"=>"2015-06-22T15:53:13.376Z", "host"=>"slnxelknode01.simat.ntes.ext.sopra"}, @lut={"host"=>[{"message"=>"test", "@version"=>"1", "@timestamp"=>"2015-06-22T15:53:13.376Z", "host"=>"slnxelknode01.simat.ntes.ext.sopra"}, "host"], "type"=>[{"message"=>"test", "@version"=>"1", "@timestamp"=>"2015-06-22T15:53:13.376Z", "host"=>"slnxelknode01.simat.ntes.ext.sopra"}, "type"]}>, @data={"message"=>"test", "@version"=>"1", "@timestamp"=>"2015-06-22T15:53:13.376Z", "host"=>"slnxelknode01.simat.ntes.ext.sopra"}, @metadata_accessors=#<LogStash::Util::Accessors:0x3397a6be @store={"retry_count"=>0}, @lut={}>, @cancelled=false>] {:level=>:warn, :file=>"logstash/outputs/elasticsearch.rb", :line=>"478", :method=>"submit"}
No index created in Elasticsearch
I tried with --debug, but it doesn't help me to solve the problem
Any idea to help me ?
Thanks