Skip log rotation at service restart?


#1

Continuing the discussion from Filebeat's logs rotation malfunctioning:

Did you look into disabling log rotation at service restart? Would be a welcome feature.

/Anders


(Pier-Hugues Pellerin) #2

@antwan we currently have some discussion about allowing Filebeat to take care of the file rotation, here is the public issue.


#3

Does that issue cover the rotation of Filebeats own log?

After configuring logging.files.rotateeverybytes for all Beats, I was hoping for a single log files until they grew to my configured size.


(Pier-Hugues Pellerin) #4

Sorry confused the subject.

Which version of Filebeat you are running?

I know that we recently made changes in the log rotation and these should be present in 6.5.x.


#5

I am at 6.4.2 for Beats. Next sprint Im going to bring ELK and Beats to 6.5.x so I'll look into rotation then. Thanks!