Filebeat -> Logstash Connection ISSUE

My ELK is in a server of of IP and filebeat is in of IP

Both are in different domains but in same intranet umbrella.

In filebeat.yml, I'm enabling the output.logstash

- type: log
  enabled: true

    - /path/to/*.log

      # The Logstash hosts
      hosts: [""]

and in logstash.config,

input {
        beats {
                type => beats
                port => 5044
                host => ""

and logstash.yml is unchanged

What is going wrong? I dont know!
Giving the following error:

  2019-07-12T06:57:20.928Z        ERROR   pipeline/output.go:100  Failed to connect to backoff(async(tcp:// dial tcp i/o timeout
  2019-07-12T06:57:20.929Z        INFO    pipeline/output.go:93   Attempting to reconnect to backoff(async(tcp:// with 2 reconnect attempt(s)

Hi @Sundaramoorthy_Anand,

Please check the below following points:
Are you able to do telnet or ping the host??
Are the port open or any rule??

Harsh Bajaj

Yes ping is working and telnet to port 22/23/5044 is giving connection timed out error.

Where to see those port rules? Firewalld service is NOT running in the servers, actually.

Hi @Sundaramoorthy_Anand,

Its look like there is some blockage on port. However you said that firewalld is not running.

Changing it to a different port will give any improvement?

Could you please share the telnet command which you are running on your machine.

Actually, we need find the problem first and i don't think so changing port will give any result.

Harsh Bajaj

telnet <ip> 5044
Trying <ip>...
telnet: connect to address <ip>: Connection timed out

I also tried with other ports like 22 and 23 results in same ERROR

Hi @Sundaramoorthy_Anand,

There may be some problem or blockage with your firewall setting.

Harsh Bajaj

Any comments on Filebeat and Logstash on different domains but on same data center umbrella?

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