Why does Filebeat allow rotateeverybytes min as 1?

I was playing around with Filebeat along with my colleague and noticed that filebeat configuration allows a minimum value of rotateeverybytes as 1 (see code ) . This looks to me like an invalid validation check and does not seem to add value, in my opinion.

Should it be updated with better minimum validation?

Nice one :slight_smile:

I assume with the value of 1 filebeat will rotate files with every log message. Which value would you set as min? I think a PR or github issue would be appreciated.

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