# Logstash-to-Logstash Communication, Beats input?

**URL:** <https://discuss.elastic.co/t/logstash-to-logstash-communication-beats-input/312022>\
**Category:** Logstash\
**Created:** [August 12, 2022, 2:52pm UTC](https://discuss.elastic.co/t/logstash-to-logstash-communication-beats-input/312022 "2022-08-12T14:52:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![6igwig](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/6igwig/32/88971_2.png) [@6igwig](https://discuss.elastic.co/u/6igwig)\
**Post date:** [August 12, 2022, 2:52pm UTC](https://discuss.elastic.co/t/logstash-to-logstash-communication-beats-input/312022/1 "2022-08-12T14:52:30Z")

</div>

I see that Logstash has a [lumberjack input plug-in](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-lumberjack.html). I would have thought that the standard way for one logstash server to send logs to another logstash server would be to setup a lumberjack output and a lumberjack input. Why does the [documentation](https://www.elastic.co/guide/en/logstash/master/ls-to-ls-lumberjack.html#ls-to-ls-lumberjack) say to use a Beats input for Logstash to Logstash communication??

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [August 12, 2022, 3:40pm UTC](https://discuss.elastic.co/t/logstash-to-logstash-communication-beats-input/312022/2 "2022-08-12T15:40:26Z")

</div>

The beats input also implements the lumberjack protocol and it has more features than the lumberjack input, so it is preferred.

---

<div class="post-metadata">

**Author:** ![6igwig](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/6igwig/32/88971_2.png) [@6igwig](https://discuss.elastic.co/u/6igwig)\
**Post date:** [August 12, 2022, 5:29pm UTC](https://discuss.elastic.co/t/logstash-to-logstash-communication-beats-input/312022/3 "2022-08-12T17:29:33Z")

</div>

Thanks @Badger!

---

<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:** [September 9, 2022, 5:30pm UTC](https://discuss.elastic.co/t/logstash-to-logstash-communication-beats-input/312022/4 "2022-09-09T17:30:02Z")

</div>

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