Problem to connect filebeat to logstash (no route to host)

Hello,

At first, sorry for my english because, i'm french :slight_smile:

I follow a tutorial to install ELK at this adress :
https://www.howtoforge.com/tutorial/how-to-install-elastic-stack-on-centos-7/

I just have two centos VM. The first is the ELK server and the second have the filebeat configuration but the filebeat can't connect to logstash and i don't know why ?

the result of tail -f /var/log/filebeat/filebeat is :

2017-11-03T01:54:07+01:00 ERR Connecting error publishing events (retrying): dial tcp 10.0.15.10:5443: getsockopt: no route to host
2017-11-03T01:54:32+01:00 INFO No non-zero metrics in the last 30s
2017-11-03T01:55:02+01:00 INFO No non-zero metrics in the last 30s
2017-11-03T01:55:22+01:00 ERR Connecting error publishing events (retrying): dial tcp 10.0.15.10:5443: getsockopt: no route to host
2017-11-03T01:55:32+01:00 INFO No non-zero metrics in the last 30s
2017-11-03T01:56:02+01:00 INFO No non-zero metrics in the last 30s
2017-11-03T01:56:32+01:00 INFO No non-zero metrics in the last 30s
2017-11-03T01:56:52+01:00 ERR Connecting error publishing events (retrying): dial tcp 10.0.15.10:5443: i/o timeout
2017-11-03T01:57:02+01:00 INFO No non-zero metrics in the last 30s

Can you help me ?

Thanks.

Sounds like you don't have proper networking between the two hosts. Are you able to ping between the two hosts?

You should probably review the official Filebeat Getting Started docs too just in case the tutorial you are following is missing something.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.