The AppLogs agent will upload logs every 30 seconds or as soon as 40 MB of logs have been collected, whichever comes first.
How log upload frequency works
The upload frequency depends on the volume and rate at which logs are generated:
Scenario 1: Low to moderate log volume
For instance, writing access logs can sometimes take a while because they are written every time a user accesses the application. Although there's a slight chance of writing 40 MB of these logs before 30 seconds, it's more likely that the agent will upload logs every 30 seconds.
Scenario 2: High log volume
If there are any task or event logs, it may write log lines more quickly, meaning there's a good chance that 40 MB of logs will be generated in less than 30 seconds. If this is the case, the agent will begin uploading as soon as it reaches 40 MB of logs rather than waiting for 30 seconds.
You cannot configure the log interval settings. Also, note that the log upload interval applies to individual log types.