# Can't Get Logs From Multiple Machines

**URL:** <https://discuss.elastic.co/t/cant-get-logs-from-multiple-machines/251991>\
**Category:** Logstash\
**Created:** [October 14, 2020, 4:50am UTC](https://discuss.elastic.co/t/cant-get-logs-from-multiple-machines/251991 "2020-10-14T04:50:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Redwanuzzaman](https://avatars.discourse-cdn.com/v4/letter/r/a183cd/32.png) [@Redwanuzzaman](https://discuss.elastic.co/u/Redwanuzzaman)\
**Post date:** [October 14, 2020, 4:50am UTC](https://discuss.elastic.co/t/cant-get-logs-from-multiple-machines/251991/1 "2020-10-14T04:50:21Z")

</div>

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

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

output.logstash:
  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

```auto
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?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 11, 2020, 4:50am UTC](https://discuss.elastic.co/t/cant-get-logs-from-multiple-machines/251991/2 "2020-11-11T04:50:31Z")

</div>

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