Signed-off-by: TAGOMORI Satoshi <tagomoris@gmail.com>
| ... | ... |
@@ -889,7 +889,7 @@ driver. For detailed information on working with logging drivers, see |
| 889 | 889 |
Fluentd logging driver for Docker. Writes log messages to fluentd (forward input). `docker logs` |
| 890 | 890 |
command is not available for this logging driver. |
| 891 | 891 |
|
| 892 |
-Some options are supported by specifying `--log-opt` as many as needed, like `--log-opt fluentd-address=localhost:24224`. |
|
| 892 |
+Some options are supported by specifying `--log-opt` as many as needed, like `--log-opt fluentd-address=localhost:24224 --log-opt fluentd-tag=docker.{{.Name}}`.
|
|
| 893 | 893 |
|
| 894 | 894 |
- `fluentd-address`: specify `host:port` to connect [localhost:24224] |
| 895 | 895 |
- `fluentd-tag`: specify tag for fluentd message, which interpret some markup, ex `{{.ID}}`, `{{.FullID}}` or `{{.Name}}` [docker.{{.ID}}]
|