UnresolvedAddressException in Logstash+Elasticsearch

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

UnresolvedAddressException in Logstash+Elasticsearch

ramprasad
This post has NOT been accepted by the mailing list yet.


Logstash is not working in my system(Windows 7).I am using Logstash-1.4.0,kibana-3.0.0,Elasticsearch-1.3.0 version installed in my system.
I created logstash.conf file in logstash-1.4.0(Logstash-1.4.0/logstash.conf).
logstash.conf
——————
input {
file {
path => “C:/apache-tomcat-7.0.62/logs/*access*”
}
}
filter {
date {
match => [ “timestamp” , “dd/MMM/yyyy:HH:mm:ss Z” ]
}
}

output {
elasticsearch { host => “localhost:9205″}
}

And I run the logstash

c:\logstash-1.4.0\bin>logstash agent -f ../logstash.conf

Getting below Exception
log4j, [2015-06-09T15:24:45.342] WARN: org.elasticsearch.transport.netty: [logstash-IT-BHARADWAJ-5080-4016] exception caught on transport layer [[id: 0x0ee1f960]], closing connection
java.nio.channels.UnresolvedAddressException
at sun.nio.ch.Net.checkAddress(Net.java:123)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:621)
at org.elasticsearch.common.netty.channel.socket.nio.NioClientSocketPipelineSink.connect(NioClientSocketPipelineSink.java:108)
at org.elasticsearch.common.netty.channel.socket.nio.NioClientSocketPipelineSink.eventSunk(NioClientSocketPipelineSink.java:70)
etc……..
How to solve this problem