we need to reduce rotation delay to 1h
cd /etc/logrotate.d/
vi fluentbit
# geoip warnings and errors can be pretty hefty therefore 1h rotation
# compress and no delaycompress
# also hourly rotation when debug is enabled
/var/log/fluent-bit*log {
hourly
rotate 1
missingok
notifempty
compress
create
}
cd /etc/ cp -pi cron.daily/logrotate cron.hourly/
https://unix.stackexchange.com/questions/29574/how-can-i-set-up-logrotate-to-rotate-logs-hourly
https://stackoverflow.com/questions/25485047/hourly-rotation-of-files-using-logrotate