You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We receive logs generated by OpenShift with fluentd and use the file Output Plugin to Outputting to file.
Initially, we were outputting files every hour with the "lazy mode", but the file flush timing was delayed and the files were constantly being flushed 1 to 5 days later.
Result of trial and error in development environment,
we discovered that the ”flush_mode interval" functioned even when timekey was specified.
We tried it and succeeded in flushing at 10-minute intervals set by flush_interval and outputting a file every hour.
However, when this was applied to the production environment,
Some logs were flushed in 10 minutes, while others were output every hour.
We no longer have to wait several days as before, but please tell us why there is a difference in time.
The production environment receives a large amount of logs,
please tell me what causes the difference in flush intervals.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
What is a problem?
We receive logs generated by OpenShift with fluentd and use the file Output Plugin to Outputting to file.
Initially, we were outputting files every hour with the "lazy mode", but the file flush timing was delayed and the files were constantly being flushed 1 to 5 days later.
Result of trial and error in development environment,
we discovered that the ”flush_mode interval" functioned even when timekey was specified.
We tried it and succeeded in flushing at 10-minute intervals set by flush_interval and outputting a file every hour.
However, when this was applied to the production environment,
Some logs were flushed in 10 minutes, while others were output every hour.
We no longer have to wait several days as before, but please tell us why there is a difference in time.
The production environment receives a large amount of logs,
please tell me what causes the difference in flush intervals.
Describe the configuration of Fluentd
No response
Describe the logs of Fluentd
No response
Environment
Beta Was this translation helpful? Give feedback.
All reactions