Skip to content

Commit 86161ee

Browse files
Add documentation for labels parameter in out_stackdriver. (fluent#768)
Signed-off-by: Francisco Valente <[email protected]>
1 parent 7587b08 commit 86161ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pipeline/outputs/stackdriver.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Before to get started with the plugin configuration, make sure to obtain the pro
2626
| k8s\_cluster\_name | The name of the cluster that the container \(node or pod based on the resource type\) is running in. If the resource type is one of the _k8s\_container_, _k8s\_node_ or _k8s\_pod_, then this field is required. | |
2727
| k8s\_cluster\_location | The physical location of the cluster that contains \(node or pod based on the resource type\) the container. If the resource type is one of the _k8s\_container_, _k8s\_node_ or _k8s\_pod_, then this field is required. | |
2828
| labels\_key | The value of this field is used by the Stackdriver output plugin to find the related labels from jsonPayload and then extract the value of it to set the LogEntry Labels. | logging.googleapis.com/labels |
29+
| labels | Optional list of comma separated of strings specifying `key=value` pairs. The resulting `labels` will be combined with the elements in obtained from `labels\_key` to set the LogEntry Labels. Elements from `labels` will override duplicate values from `labels\_key`.| |
2930
| log\_name\_key | The value of this field is used by the Stackdriver output plugin to extract logName from jsonPayload and set the logName field. | logging.googleapis.com/logName |
3031
| tag\_prefix | Set the tag\_prefix used to validate the tag of logs with k8s resource type. Without this option, the tag of the log must be in format of k8s\_container\(pod/node\).\* in order to use the k8s\_container resource type. Now the tag prefix is configurable by this option \(note the ending dot\). | k8s\_container., k8s\_pod., k8s\_node. |
3132
| severity\_key | Specify the name of the key from the original record that contains the severity information. | |

0 commit comments

Comments
 (0)