# How to pull logs rather than push from remote linux system

**URL:** <https://community.graylog.org/t/how-to-pull-logs-rather-than-push-from-remote-linux-system/2333>\
**Category:** Graylog Central (peer support)\
**Created:** [September 1, 2017, 5:18pm UTC](https://community.graylog.org/t/how-to-pull-logs-rather-than-push-from-remote-linux-system/2333 "2017-09-01T17:18:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajneil](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@ajneil](https://community.graylog.org/u/ajneil)\
**Post date:** [September 1, 2017, 5:18pm UTC](https://community.graylog.org/t/how-to-pull-logs-rather-than-push-from-remote-linux-system/2333/1 "2017-09-01T17:18:13Z")

</div>

Hi relatively new to Graylog, I have a use case that requires capturing logs from a linux server that is unable to see the Graylog server for security reasons. The Graylog server will be able to see the remote server. So I was wondering if there was anyway to pull logs from the server rather than have them sent?

Thanks, Alastair

---

<div class="post-metadata">

**Author:** ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)\
**Post date:** [September 1, 2017, 5:24pm UTC](https://community.graylog.org/t/how-to-pull-logs-rather-than-push-from-remote-linux-system/2333/2 "2017-09-01T17:24:15Z")

</div>

Graylog does not provide that feature - but I can think of several ways you are able to solve that.

Use a queue (Kafka,RabbitMQ or Redis) to push the data from the secured host to and read from Graylog that queue.

Depending on the architecture around and the given security policies other options might be available.

---

<div class="post-metadata">

**Author:** ![ajneil](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@ajneil](https://community.graylog.org/u/ajneil)\
**Post date:** [September 1, 2017, 5:40pm UTC](https://community.graylog.org/t/how-to-pull-logs-rather-than-push-from-remote-linux-system/2333/3 "2017-09-01T17:40:02Z")

</div>

Thanks for the suggestion. I have done some research and it seems like I can configure rsyslog to send everything to a pipe using the ompipe module. Then the pipe can be read remotely using ncat, is the a collector that would just accept a pipe?

---

<div class="post-metadata">

**Author:** ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)\
**Post date:** [September 1, 2017, 5:44pm UTC](https://community.graylog.org/t/how-to-pull-logs-rather-than-push-from-remote-linux-system/2333/4 "2017-09-01T17:44:11Z")

</div>

hej @ajneil you can just push via netcat to a RAW/Plaintext Input of Graylog (for example).

---

<div class="post-metadata">

**Author:** ![ajneil](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@ajneil](https://community.graylog.org/u/ajneil)\
**Post date:** [September 1, 2017, 6:09pm UTC](https://community.graylog.org/t/how-to-pull-logs-rather-than-push-from-remote-linux-system/2333/5 "2017-09-01T18:09:59Z")

</div>

Great sounds like I have a plan.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [September 15, 2017, 6:10pm UTC](https://community.graylog.org/t/how-to-pull-logs-rather-than-push-from-remote-linux-system/2333/6 "2017-09-15T18:10:23Z")

</div>

Closed on September 15, 2017, 6:10pm UTC

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