Deleting files after file beat processes them

Hi,

I would like to know if there is a way of deleting log files once filebeat has finished processing.

We have files sent to an input folder, file beat then processes them. I would like to clear them down once it is done (as we no longer need the files anymore). Reading through posts, filebeat doesn't provide anything out of box (would be a nice enhancement :slight_smile: ).

How does everyone deal with this? Is it just a case of dumping the files to the input directory and then wait 24hours before removing?

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