From f007259316e920ef2fd390c5a299730da0f0a80f Mon Sep 17 00:00:00 2001 From: Makoto Haruyama Date: Sat, 7 Aug 2021 22:35:53 +0900 Subject: [PATCH] Add awslogs logging driver options awslogs-force-flush-interval-seconds and awslogs-max-buffered-events --- config/containers/logging/awslogs.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/config/containers/logging/awslogs.md b/config/containers/logging/awslogs.md index 509c304e74..82f11b87c0 100644 --- a/config/containers/logging/awslogs.md +++ b/config/containers/logging/awslogs.md @@ -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