Is it possible to trigger scripts after an event has occurred? It would be nice to run a script to delete a file, for example, if close_eof is executed. My point is to delete old logs after they have been harvested.
Currently, filebeat doesn't offer any facility to trigger scripts responding to events.
If you want to have files deleted after they have been harvested, have a look at this discussion where different approaches are considered:
1 Like
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.