# Defining period of sending logs

**URL:** <https://discuss.elastic.co/t/defining-period-of-sending-logs/60793>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [September 17, 2016, 7:34pm UTC](https://discuss.elastic.co/t/defining-period-of-sending-logs/60793 "2016-09-17T19:34:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saurabh\_Jambhule](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@Saurabh\_Jambhule](https://discuss.elastic.co/u/Saurabh_Jambhule)\
**Post date:** [September 17, 2016, 7:34pm UTC](https://discuss.elastic.co/t/defining-period-of-sending-logs/60793/1 "2016-09-17T19:34:44Z")

</div>

How to define how often an event is sent to the output?

I want to send logs after every 10 min. not continuously.  
Thank you.

---

<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:** [September 17, 2016, 8:20pm UTC](https://discuss.elastic.co/t/defining-period-of-sending-logs/60793/2 "2016-09-17T20:20:27Z")

</div>

I don't believe that's is supported. Why do you want to do this?

---

<div class="post-metadata">

**Author:** ![Saurabh\_Jambhule](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@Saurabh\_Jambhule](https://discuss.elastic.co/u/Saurabh_Jambhule)\
**Post date:** [September 18, 2016, 2:17pm UTC](https://discuss.elastic.co/t/defining-period-of-sending-logs/60793/3 "2016-09-18T14:17:50Z")

</div>

I want to run some experiments, for that I want to make old logs as live streaming logs.

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [September 19, 2016, 7:48am UTC](https://discuss.elastic.co/t/defining-period-of-sending-logs/60793/4 "2016-09-19T07:48:55Z")

</div>

This is currently not possible. One thing that could help you is the `-once` flag that we just added a few days ago to the snapshot builds: [https://github.com/elastic/beats/pull/2456](https://github.com/elastic/beats/pull/2456) You would need a cron script or something similar to starts filebeat every 10 minutes ....

---

<div class="post-metadata">

**Author:** ![Saurabh\_Jambhule](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@Saurabh\_Jambhule](https://discuss.elastic.co/u/Saurabh_Jambhule)\
**Post date:** [October 1, 2016, 4:52pm UTC](https://discuss.elastic.co/t/defining-period-of-sending-logs/60793/5 "2016-10-01T16:52:35Z")

</div>

Sorry for late reply.  
I was offline for long days. I will look into this.  
Thanks.

---

<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:** [October 8, 2016, 7:34pm UTC](https://discuss.elastic.co/t/defining-period-of-sending-logs/60793/6 "2016-10-08T19:34:58Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
