mirror of https://github.com/docker/docs.git
mention about `log` metadata (#5319)
fluentd log driver returns a metadata that includes the `log` attribute This is the main message that fluentd tend to filter on
This commit is contained in:
parent
0df910d590
commit
8896e88867
|
@ -21,6 +21,7 @@ driver sends the following metadata in the structured log message:
|
|||
| `container_id` | The full 64-character container ID. |
|
||||
| `container_name` | The container name at the time it was started. If you use `docker rename` to rename a container, the new name is not reflected in the journal entries. |
|
||||
| `source` | `stdout` or `stderr` |
|
||||
| `log` | The container log |
|
||||
|
||||
The `docker logs` command is not available for this logging driver.
|
||||
|
||||
|
|
Loading…
Reference in New Issue