# Using Rsyslog for log fowarding

**URL:** <https://discuss.elastic.co/t/using-rsyslog-for-log-fowarding/46402>\
**Category:** Logstash\
**Created:** [April 5, 2016, 1:58pm UTC](https://discuss.elastic.co/t/using-rsyslog-for-log-fowarding/46402 "2016-04-05T13:58:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vivc](https://avatars.discourse-cdn.com/v4/letter/v/ce7236/32.png) [@vivc](https://discuss.elastic.co/u/vivc)\
**Post date:** [April 5, 2016, 1:58pm UTC](https://discuss.elastic.co/t/using-rsyslog-for-log-fowarding/46402/1 "2016-04-05T13:58:34Z")

</div>

Is it a good option to use rsyslog to forward logs from server to logstash instead of filebeat.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 5, 2016, 10:32pm UTC](https://discuss.elastic.co/t/using-rsyslog-for-log-fowarding/46402/2 "2016-04-05T22:32:20Z")

</div>

It's a viable option, yes.

---

<div class="post-metadata">

**Author:** ![vivc](https://avatars.discourse-cdn.com/v4/letter/v/ce7236/32.png) [@vivc](https://discuss.elastic.co/u/vivc)\
**Post date:** [April 6, 2016, 5:49am UTC](https://discuss.elastic.co/t/using-rsyslog-for-log-fowarding/46402/3 "2016-04-06T05:49:31Z")

</div>

I've used filebeat earlier for forwarding the logs and the offset was received as input to logstash. Is there any way we can get the offset from rsyslog.

---

<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:** [July 6, 2017, 5:03am UTC](https://discuss.elastic.co/t/using-rsyslog-for-log-fowarding/46402/4 "2017-07-06T05:03:39Z")

</div>


