http - Logstash not connecting elasticsearch? -


i running elk setup on single machine. working fine untill switched off internet connection.

my logstash console shows error when switch off internet connection:

log4j, [2014-11-27t10:31:57.480]  warn: org.elasticsearch.transport.netty: [logstash-hp-pro] exception caught on transport layer [[id: 0x7a124750]], closing connection java.net.socketexception: network unreachable     @ sun.nio.ch.net.connect0(native method)     @ sun.nio.ch.net.connect(net.java:465)     @ sun.nio.ch.net.connect(net.java:457)     @ sun.nio.ch.socketchannelimpl.connect(socketchannelimpl.java:670)     @ org.elasticsearch.common.netty.channel.socket.nio.nioclientsocketpipelinesink.connect(nioclientsocketpipelinesink.java:108)     @ org.elasticsearch.common.netty.channel.socket.nio.nioclientsocketpipelinesink.eventsunk(nioclientsocketpipelinesink.java:70)     @ org.elasticsearch.common.netty.channel.defaultchannelpipeline.senddownstream(defaultchannelpipeline.java:574)     @ org.elasticsearch.common.netty.channel.channels.connect(channels.java:634)     @ org.elasticsearch.common.netty.channel.abstractchannel.connect(abstractchannel.java:207)     @ org.elasticsearch.common.netty.bootstrap.clientbootstrap.connect(clientbootstrap.java:229)     @ org.elasticsearch.common.netty.bootstrap.clientbootstrap.connect(clientbootstrap.java:182)     @ org.elasticsearch.transport.netty.nettytransport.connecttochannels(nettytransport.java:705)     @ org.elasticsearch.transport.netty.nettytransport.connecttonode(nettytransport.java:647)     @ org.elasticsearch.transport.netty.nettytransport.connecttonode(nettytransport.java:615)     @ org.elasticsearch.transport.transportservice.connecttonode(transportservice.java:129)     @ org.elasticsearch.discovery.zen.zendiscovery.innerjoincluster(zendiscovery.java:338)     @ org.elasticsearch.discovery.zen.zendiscovery.access$500(zendiscovery.java:79)     @ org.elasticsearch.discovery.zen.zendiscovery$1.run(zendiscovery.java:286)     @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1145)     @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:615)     @ java.lang.thread.run(thread.java:744) 

edit logstash output config:

output {          elasticsearch { host => localhost }         stdout { codec => rubydebug } } 

so seams it's unable connect es server.

so internet connection required always?? new setup.


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -