Helloy everyone,

I have installed elasticsearch-1.0.1-1.noarch and 
logstash-1.3.3-flatjar.jar. I can't make logstash communicate to 
elasticsearch.

In elasticsearch.yml I have set just the cluster name (the rest is the 
default configuration). And I have this logstash.conf file (very simple):

input {
  file {
    type => "linux-syslog"
    path => [ "/var/log/messages"]
  }
}
output {
  elasticsearch {
    embedded => false
    cluster => "my_cluster"
  }
}

Elasticsearch is running and for testing I execute:

java -jar /opt/logstash/logstash-1.3.3-flatjar.jar agent -f 
/opt/logstash/logstash.conf

But it doesn't work.

I can see in my_cluster.log these errors:

[2014-02-27 17:34:34,863][WARN ][discovery.zen.ping.multicast] [X-Man] 
failed to read requesting data from /192.168.13.17:54328
java.io.IOException: No transport address mapped to [21345]
        at 
org.elasticsearch.common.transport.TransportAddressSerializers.addressFromStream(TransportAddressSerializers.java:71)
        at 
org.elasticsearch.cluster.node.DiscoveryNode.readFrom(DiscoveryNode.java:267)
        at 
org.elasticsearch.cluster.node.DiscoveryNode.readNode(DiscoveryNode.java:257)
        at 
org.elasticsearch.discovery.zen.ping.multicast.MulticastZenPing$Receiver.run(MulticastZenPing.java:410)
        at java.lang.Thread.run(Thread.java:744)

And in the java execution screen:

log4j, [2014-02-27T17:35:01.851]  WARN: org.elasticsearch.discovery: 
[Sabreclaw] waited for 30s and no initial state was set by the discovery

I assume they are not connecting each other (nodes with different names, 
failing request, no transport...).

Any idea about what is wrong with my elasticsearch + logstash configuration?

Thank you very much in advanced.
Kind regards.

Héctor Moreno Blanco.

-- 
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/fe368303-bea5-44d3-beed-c543b56be214%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to