Logstash failed to send ping to zen unicast

Hi,

I've used ELK successfully before but now I get the problem of failing to send ping to zen unicast.

Here's my config file -

input {
file {
path => "C:\logstash-1.5.4\slt.log"
type => "sample"
start_position => "beginning"

}
}

filter {
grok {
match => { "message" => "%{DATESTAMP_RFC2822:time} %{NUMBER:temp} %{NUMBER:light} %{USERNAME:node}"}
}
}

output {
elasticsearch {
protocol => "http"
}

elasticsearch {
host => ["localhost:9300"]
}

stdout {}

}

Could someone please tell me how I can rectify this?

Thanks!

I suggest you drop the second elasticsearch output and only use the HTTP one. That will avoid the particular error you have.

Your solution worked. Thanks a lot Magnus!