Merge pull request #13302 from SpringMT/master

Add awslogs logging driver options awslogs-force-flush-interval-seconds and awslogs-max-buffered-events
This commit is contained in:
Sebastiaan van Stijn 2021-08-07 17:31:24 +02:00 committed by GitHub
commit 31ef27a552
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 0 deletions

View File

@ -288,6 +288,21 @@ If not specified, the container ID is used as the log stream.
> {% endraw %}
> the output is something like: `alpine_latest-bf0072049c76`
### awslogs-force-flush-interval-seconds
The `awslogs` driver periodically flushs logs to CloudWatch.
The `awslogs-force-flush-interval-seconds` option changes log flush interval seconds.
Default is 5 seconds.
### awslogs-max-buffered-events
The `awslogs` driver buffers logs.
The `awslogs-max-buffered-events` option changes log buffer size.
Default is 4K.
## Credentials