Skip to content

Commit 332855e

Browse files
Merge pull request #267 from kube-logging/syslog-ng-filter-metadata-clarifications
Minor clarifications about syslog-ng label filtering
2 parents 4c7d880 + 6b5050f commit 332855e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

content/docs/configuration/log-routing-syslog-ng.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Defines the pattern to match against the messages. The [`type` field](#regexp-ty
9595

9696
### `value` (string) {#regexp-value class="property-optional"}
9797

98-
References a field of the message. The `pattern` is applied to the value of this field. If the `value` field is set, you cannot use the `template` field.
98+
References a field of the message. The `pattern` is applied to the value of this field. If the `value` field is set, you cannot use the `template` field. When matching for labels or annotations, the available labels and annotations depend on the incoming message received from the log collector agent. See this [list of common Kubernetes labels and annotations](https://kubernetes.io/docs/reference/labels-annotations-taints/) for details.
9999

100100
{{< include-headless "field-names-json-prefix.md" >}}
101101

content/docs/configuration/plugins/syslog-ng-filters/match.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ weight: 200
44
generated_file: true
55
---
66

7-
Match filters can be used to select the log records to process. These filters have the same options and syntax as [syslog-ng flow match expressions]({{< relref "/docs/configuration/plugins/syslog-ng-filters/match.md" >}}).
7+
Match filters can be used to select the log records to process. These filters have the same options and syntax as [syslog-ng flow match expressions]({{< relref "/docs/configuration/log-routing-syslog-ng.md" >}}). When matching for labels or annotations, the available labels and annotations depend on the incoming message received from the log collector agent. See this [list of common Kubernetes labels and annotations](https://kubernetes.io/docs/reference/labels-annotations-taints/) for details.
88

99
{{< highlight yaml >}}
1010
filters:

0 commit comments

Comments
 (0)