# Fetching logs for logstash

**URL:** https://discuss.elastic.co/t/fetching-logs-for-logstash/63023
**Category:** Logstash
**Created:** [October 14, 2016, 6:52am UTC](https://discuss.elastic.co/t/fetching-logs-for-logstash/63023 "2016-10-14T06:52:55Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Rajat\_Singh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rajat_singh/32/48128_2.png) [@Rajat\_Singh](https://discuss.elastic.co/u/Rajat_Singh)
#### Post date: [October 14, 2016, 6:52am UTC](https://discuss.elastic.co/t/fetching-logs-for-logstash/63023/1 "2016-10-14T06:52:55Z")

</div>

Hi folks ,

I need to regularly fetch the logs from the remote server and parse it in the logstash after every five minutes

---

<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: [October 14, 2016, 8:09am UTC](https://discuss.elastic.co/t/fetching-logs-for-logstash/63023/2 "2016-10-14T08:09:48Z")

</div>

Ok, thanks for letting us know!

Or are you asking a question?

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [October 15, 2016, 9:05am UTC](https://discuss.elastic.co/t/fetching-logs-for-logstash/63023/3 "2016-10-15T09:05:37Z")

</div>

Logstash is meant to receive logs from other places. It doesn't really reach out to other servers. Look into using Logstash or Filebeat on the remote machines to ship the logs to Logstash.

---

<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, 4:34am UTC](https://discuss.elastic.co/t/fetching-logs-for-logstash/63023/4 "2017-07-06T04:34:08Z")

</div>


