You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-12Lines changed: 11 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,23 +58,22 @@ docker run --rm --label x \
58
58
59
59
Now that the plugin is installed and configured, it will send logs while the container is running.
60
60
61
+
## Tags
62
+
63
+
Each message has the following tags assigned by default. The user has the ability to define your own tags through optional variables and they take precedence.
64
+
61
65
### Required variables
62
66
63
-
| Name | Description |
64
-
| -----| ------------
65
-
| ```journal-fqdn``` | Journal FQDN that will receive logs
66
-
| ```journal-token``` | Credential (password) to journal indicated in the parameter ```journal-fqdn```
67
+
*```journal-fqdn``` – Journal FQDN that will receive logs
68
+
*```journal-token``` – Credential (password) to journal indicated in the parameter ```journal-fqdn```
| tag | TODO: See Docker's log ```tag``` option documentation |```{{.ID}}``` (12 characters of the container ID) |
73
-
| labels | TODO: See Docker's log ```labels``` option documentation |```{{.ID}}``` (12 characters of the container ID) |
74
-
| env | TODO: See Docker's log ```env``` option documentation |```{{.ID}}``` (12 characters of the container ID) |
75
-
| env-regex | A regular expression to match logging-related environment variables. Used for advanced log tag options. If there is collision between the label and env keys, env wins. | (disabled) |
76
-
| flush-buffer-size | TODO: How many pending messages can be before sending to journal immediately. |```500```|
77
-
| flush-interval | TODO: How long (in miliseconds) the buffer keeps buffer before flushing them. |```15000```|
72
+
*```labels``` – comma-separated list of keys of labels used for tagging of logs. Disabled by default.
73
+
*```env``` – comma-separated list of keys of labels used for tagging of logs. Disabled by default.
74
+
*```env-regex``` – A regular expression to match logging-related environment variables. Used for advanced log tag options. If there is collision between the label and env keys, env wins. Disabled by default.
75
+
*```flush-buffer-size``` – How many pending messages can be collected before sending to journal immediately. Default: 500
76
+
*```flush-interval``` – How long (in miliseconds) the buffer keeps messages before flushing them. Default: 15000
0 commit comments