# Forwarding logs

**URL:** <https://discuss.elastic.co/t/forwarding-logs/203332>\
**Category:** Logstash\
**Tags:** beats-module\
**Created:** [October 13, 2019, 5:19am UTC](https://discuss.elastic.co/t/forwarding-logs/203332 "2019-10-13T05:19:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![trajano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/trajano/32/38853_2.png) [@trajano](https://discuss.elastic.co/u/trajano)\
**Post date:** [October 13, 2019, 5:19am UTC](https://discuss.elastic.co/t/forwarding-logs/203332/1 "2019-10-13T05:19:37Z")

</div>

I'm trying to set up a log spooling system where application logs sent by applications from one region is spooled and sent to another region.

Since `logstash-forwarder` is deprecated, I was thinking of how to do this without resorting to a temporary file then using filebeats.

Does it make sense to use lumberjack output to do something like this (since according to the [lumberjack input documentation](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-lumberjack.html) the Beats input supports the lumberjack protocol)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/0/d0ffa3f11811e823426c8c37185e2f739c6cfcb6.png)

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [October 13, 2019, 5:36am UTC](https://discuss.elastic.co/t/forwarding-logs/203332/2 "2019-10-13T05:36:12Z")

</div>

Logstash forwarder was deprecated and replaced by Filebeat quite a long time ago. Why not just have Filebeat and Metricbeat send directly to Logstash?

---

<div class="post-metadata">

**Author:** ![trajano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/trajano/32/38853_2.png) [@trajano](https://discuss.elastic.co/u/trajano)\
**Post date:** [October 13, 2019, 5:39am UTC](https://discuss.elastic.co/t/forwarding-logs/203332/3 "2019-10-13T05:39:47Z")

</div>

Where I put `logstash-forwarder` is basically logstash that has an output plugin using lumberjack to send to another logstash using beats.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [October 13, 2019, 5:43am UTC](https://discuss.elastic.co/t/forwarding-logs/203332/4 "2019-10-13T05:43:13Z")

</div>

If that case it looks OK to me.

---

<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 10, 2019, 5:43am UTC](https://discuss.elastic.co/t/forwarding-logs/203332/5 "2019-11-10T05:43:20Z")

</div>

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