# I have two Machine, one has elastic, Logstash and kibana and other pc has filebeat, in one PC ELK stack is up and when i start filebeat to send log to logstasg it is not able to send

**URL:** <https://discuss.elastic.co/t/i-have-two-machine-one-has-elastic-logstash-and-kibana-and-other-pc-has-filebeat-in-one-pc-elk-stack-is-up-and-when-i-start-filebeat-to-send-log-to-logstasg-it-is-not-able-to-send/208805>\
**Category:** Beats\
**Created:** [November 21, 2019, 3:38am UTC](https://discuss.elastic.co/t/i-have-two-machine-one-has-elastic-logstash-and-kibana-and-other-pc-has-filebeat-in-one-pc-elk-stack-is-up-and-when-i-start-filebeat-to-send-log-to-logstasg-it-is-not-able-to-send/208805 "2019-11-21T03:38:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SoniyaGupta](https://avatars.discourse-cdn.com/v4/letter/s/7ea924/32.png) [@SoniyaGupta](https://discuss.elastic.co/u/SoniyaGupta)\
**Post date:** [November 21, 2019, 3:38am UTC](https://discuss.elastic.co/t/i-have-two-machine-one-has-elastic-logstash-and-kibana-and-other-pc-has-filebeat-in-one-pc-elk-stack-is-up-and-when-i-start-filebeat-to-send-log-to-logstasg-it-is-not-able-to-send/208805/1 "2019-11-21T03:38:03Z")

</div>

it is giving connection Error not able to connect to port.

I tried doing telnet for port it did not work. can you please tell me how I can change port to 8080 for logstash and filebeat.

Logstash config file

input {  
beats {  
type =\> beats  
port=\>"5044"  
}  
}  
output {  
elasticsearch { hosts =\> ["Ipaddess:9200"] }

}

file beat config file

filebeat.inputs:

- type: log  
paths:
  - C:/Logs/MainProgram.log

output.logstash:  
hosts: ["Ipaddress:5044"]

---

<div class="post-metadata">

**Author:** ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)\
**Post date:** [November 21, 2019, 10:44am UTC](https://discuss.elastic.co/t/i-have-two-machine-one-has-elastic-logstash-and-kibana-and-other-pc-has-filebeat-in-one-pc-elk-stack-is-up-and-when-i-start-filebeat-to-send-log-to-logstasg-it-is-not-able-to-send/208805/2 "2019-11-21T10:44:27Z")

</div>

Could you please share the debug logs of Filebeat (`./filebeat -e -d "*"`)?

---

<div class="post-metadata">

**Author:** ![SoniyaGupta](https://avatars.discourse-cdn.com/v4/letter/s/7ea924/32.png) [@SoniyaGupta](https://discuss.elastic.co/u/SoniyaGupta)\
**Post date:** [November 27, 2019, 4:12am UTC](https://discuss.elastic.co/t/i-have-two-machine-one-has-elastic-logstash-and-kibana-and-other-pc-has-filebeat-in-one-pc-elk-stack-is-up-and-when-i-start-filebeat-to-send-log-to-logstasg-it-is-not-able-to-send/208805/3 "2019-11-27T04:12:57Z")

</div>

I found i am not able to telnet to machine, i think port is not ope.

---

<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:** [December 25, 2019, 6:12am UTC](https://discuss.elastic.co/t/i-have-two-machine-one-has-elastic-logstash-and-kibana-and-other-pc-has-filebeat-in-one-pc-elk-stack-is-up-and-when-i-start-filebeat-to-send-log-to-logstasg-it-is-not-able-to-send/208805/4 "2019-12-25T06:12:58Z")

</div>

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