mirror of https://github.com/docker/docs.git
Fix incorrect awslogs option names (#3736)
Signed-off-by: Justin Menga <justin.menga@gmail.com>
This commit is contained in:
parent
99e1de6374
commit
cd2355d8f8
|
@ -92,9 +92,9 @@ $ docker run --log-driver=awslogs \
|
||||||
> **Note**:
|
> **Note**:
|
||||||
> Your AWS IAM policy must include the `logs:CreateLogGroup` permission before you attempt to use `awslogs-create-group`.
|
> Your AWS IAM policy must include the `logs:CreateLogGroup` permission before you attempt to use `awslogs-create-group`.
|
||||||
|
|
||||||
### aws-datetime-format
|
### awslogs-datetime-format
|
||||||
|
|
||||||
The `aws-datetime-format` option defines a multiline start pattern in [Python
|
The `awslogs-datetime-format` option defines a multiline start pattern in [Python
|
||||||
`strftime` format](http://strftime.org). A log message consists of a line that
|
`strftime` format](http://strftime.org). A log message consists of a line that
|
||||||
matches the pattern and any following lines that don't match the pattern. Thus
|
matches the pattern and any following lines that don't match the pattern. Thus
|
||||||
the matched line is the delimiter between log messages.
|
the matched line is the delimiter between log messages.
|
||||||
|
@ -174,9 +174,9 @@ The following `strftime` codes are supported:
|
||||||
| `%Z` | Time zone name. | PST |
|
| `%Z` | Time zone name. | PST |
|
||||||
| `%j` | Day of the year as a zero-padded decimal number. | 363 |
|
| `%j` | Day of the year as a zero-padded decimal number. | 363 |
|
||||||
|
|
||||||
### aws-multiline-pattern
|
### awslogs-multiline-pattern
|
||||||
|
|
||||||
The `aws-multiline-pattern` option defines a multiline start pattern using a
|
The `awslogs-multiline-pattern` option defines a multiline start pattern using a
|
||||||
regular expression. A log message consists of a line that matches the pattern
|
regular expression. A log message consists of a line that matches the pattern
|
||||||
and any following lines that don't match the pattern. Thus the matched line is
|
and any following lines that don't match the pattern. Thus the matched line is
|
||||||
the delimiter between log messages.
|
the delimiter between log messages.
|
||||||
|
|
Loading…
Reference in New Issue