Stop Filebeat Log Rotation

Hi Team,

Is there any way we can stop filebeat log rotation. I had changed the parameter rotateeverybytes to 1GB but still log folder I can see it is creating 1 KB file and getting difficulties to trace the error during ingestion.

Could someone advise how to stop log rotation and moreover why it is generation 1KB file even if I mentioned 1GB.

logging:
level: debug
to_files: true
files:
path: /var/log/filebeat/
name: filebeat1
rotateeverybytes: 1073741824
keepfiles: 4

Thanks,
Debasis

HI Team,

Any help on the above request.

Thanks,
Debasis

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