Can't Get Logs From Multiple Machines

Hello There,
I am trying to get logs from different machines. I installed filebeat on the client machine and make this configuration.

- type: log
  enabled: true
    - /path/where/log/stores/in/client/machine

  hosts: ["IP address of my machine:5044"]
  username: "kibana username"
  password: "kibana password"

When I give sudo ./filebeat -e -c filebeat.yml -d "publish" this command from client machine it gives an ERROR info that connection refused.
One Important thing is PORT 5044 is not active in my machine and getting an error like this

ERROR   [publisher_pipeline_output]  pipeline/output.go:154   Failed to connect to backoff(async(tcp://localhost:5044)): dial tcp

I am very much new in ELK. I want to get logs from different machines to my machine. Process with logstash and show some output on Kibana.
Can anyone guide me to complete this task?

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