# Filebeat / Send Logs

**URL:** <https://discuss.elastic.co/t/filebeat-send-logs/107923>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [November 16, 2017, 11:50am UTC](https://discuss.elastic.co/t/filebeat-send-logs/107923 "2017-11-16T11:50:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rudee](https://avatars.discourse-cdn.com/v4/letter/r/e9c0ed/32.png) [@rudee](https://discuss.elastic.co/u/rudee)\
**Post date:** [November 16, 2017, 11:50am UTC](https://discuss.elastic.co/t/filebeat-send-logs/107923/1 "2017-11-16T11:50:31Z")

</div>

Hi

I am very new to Elastic and I have set up a lab, with componenets from the 5.6.4 stack (ElasticSearch/LogStash/Kibana/FileBeat)

I have set up a node with FileBeat and can see the logs in Kibana.

My question is, I would like the filebeat agent to look at the logs which are in the yaml file every 5 or 15 minutes and then to send the logs which have new enteries to logstash, but Im not sure how you could do this?

Anyone have any thoughts on this?

Rudee

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [November 16, 2017, 1:53pm UTC](https://discuss.elastic.co/t/filebeat-send-logs/107923/2 "2017-11-16T13:53:59Z")

</div>

That's exactly what Filebeat is build for. Filebeat will scan files matching the paths glob patterns every now and then (`scan_frequency` setting). Whenever a log file has been updated, new lines appended to the file will be published.

---

<div class="post-metadata">

**Author:** ![rudee](https://avatars.discourse-cdn.com/v4/letter/r/e9c0ed/32.png) [@rudee](https://discuss.elastic.co/u/rudee)\
**Post date:** [November 16, 2017, 2:03pm UTC](https://discuss.elastic.co/t/filebeat-send-logs/107923/3 "2017-11-16T14:03:17Z")

</div>

Thanks 🙂

Elastic Fantastic!!!! 🙂

---

<div class="post-metadata">

**Author:** ![rudee](https://avatars.discourse-cdn.com/v4/letter/r/e9c0ed/32.png) [@rudee](https://discuss.elastic.co/u/rudee)\
**Post date:** [November 29, 2017, 2:34pm UTC](https://discuss.elastic.co/t/filebeat-send-logs/107923/4 "2017-11-29T14:34:37Z")

</div>

> [@steffens](#):
>
> scan\_frequency

I have configured the scan\_frequency but its not sending the data, any one have any ideas?

rgds

#=========================== Filebeat prospectors =============================

filebeat.prospectors:

# Each - is a prospector. Most options can be set at the prospector level, so

# you can use different prospectors for various configurations.

# Below are the prospector specific configurations.

- input\_type: log

---

<div class="post-metadata">

**Author:** ![rudee](https://avatars.discourse-cdn.com/v4/letter/r/e9c0ed/32.png) [@rudee](https://discuss.elastic.co/u/rudee)\
**Post date:** [November 29, 2017, 5:16pm UTC](https://discuss.elastic.co/t/filebeat-send-logs/107923/5 "2017-11-29T17:16:26Z")

</div>

After reading the docs, and cleaning up the filebeat.yml file I managed to get it to work.

---

<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:** [December 27, 2017, 5:16pm UTC](https://discuss.elastic.co/t/filebeat-send-logs/107923/6 "2017-12-27T17:16:31Z")

</div>

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