Defining period of sending logs


(Saurabh Jambhule) #1

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.


(Magnus B├Ąck) #2

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


(Saurabh Jambhule) #3

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


(ruflin) #4

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 You would need a cron script or something similar to starts filebeat every 10 minutes ....


(Saurabh Jambhule) #5

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


(system) #6

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