fluentd-docker-image icon indicating copy to clipboard operation
fluentd-docker-image copied to clipboard

Logs got accumulated resulting in diskspace issue in the kubernetes nodes due to fluentd

Open Sam123ben opened this issue 7 years ago • 3 comments

Hi Team,

I was under the impression that my fluentd will be able to rotate and remove the logs automatically once the buffered logs are processed or pushed to the s3 or to the aws elastic cache. But instead what i saw was that the logs were inside the s3_buffer folder that accounted in the disk space issue resulting to the instability of my environment. had anyone faced similar issues and if yes do they know who they had mitigated this kind of an issue.

Or if any one can help me understand whats the ebst way to automatically rotating and deleting the logs after its pushed into s3 and es via fluentd without storing the same in the nodes.

Is there any plugins available that we need to install.

Regards

Sam123ben avatar Jun 07 '18 08:06 Sam123ben

i saw was that the logs were inside the s3_buffer folder that accounted in the disk space issue resulting to the instability of my environment.

Does this mean uploading logs are succeeded but buffer files are kept in the directory or uploading logs are slower than growing buffer?

repeatedly avatar Jun 12 '18 13:06 repeatedly

Hi, yes it’s uploading but not deleting the logs that got uploaded. In the plugin if we can have this feature then that would help us for sure. For now i have stopped using the plugin.

Sam123ben avatar Jun 12 '18 13:06 Sam123ben

Any progress on this?

pinkavaj avatar Jun 23 '21 05:06 pinkavaj