Filebeat auto stop without kill


I have observed that filebeat runs forever after ingestion of all logs.
Is there any way through which filebeat will auto stop after the all logs are ingested?

If you only want to process a set of logs and then quit after entry, you will need to use cat + stdin.

There's currently no way to have it quit on finish as it assumes you will always have more data.

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