# Logstash not sending syslog to elasticsearch

**URL:** <https://discuss.elastic.co/t/logstash-not-sending-syslog-to-elasticsearch/289020>\
**Category:** Logstash\
**Created:** [November 11, 2021, 9:08pm UTC](https://discuss.elastic.co/t/logstash-not-sending-syslog-to-elasticsearch/289020 "2021-11-11T21:08:48Z")\
**Posts on this page:** 3\
**Page:** 3

<div class="post-metadata">

**Author:** ![MKirby](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@MKirby](https://discuss.elastic.co/u/MKirby)\
**Post date:** [November 19, 2021, 2:20pm UTC](https://discuss.elastic.co/t/logstash-not-sending-syslog-to-elasticsearch/289020/41 "2021-11-19T14:20:52Z")

</div>

I used this command:

```auto
. sudo firewall-cmd –zone-public –add-forward-port=port=514:proto=udp:toport5144

```

---

<div class="post-metadata">

**Author:** ![rcowart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rcowart/32/88091_2.png) [@rcowart](https://discuss.elastic.co/u/rcowart)\
**Post date:** [November 19, 2021, 3:36pm UTC](https://discuss.elastic.co/t/logstash-not-sending-syslog-to-elasticsearch/289020/42 "2021-11-19T15:36:16Z")

</div>

Using `firewall-cmd` I think all that you need is:

```auto
firewall-cmd --add-forward-port=port=514:proto=udp:toport=5144

```

---

<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 17, 2021, 3:36pm UTC](https://discuss.elastic.co/t/logstash-not-sending-syslog-to-elasticsearch/289020/43 "2021-12-17T15:36:41Z")

</div>

Closed on December 17, 2021, 3:36pm UTC

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

[Previous page](https://discuss.elastic.co/t/logstash-not-sending-syslog-to-elasticsearch/289020.md?page=2)
