Skip to content

Commit

Permalink
Merge pull request #267 from kube-logging/syslog-ng-filter-metadata-c…
Browse files Browse the repository at this point in the history
…larifications

Minor clarifications about syslog-ng label filtering
  • Loading branch information
fekete-robert authored Dec 10, 2024
2 parents 4c7d880 + 6b5050f commit 332855e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion content/docs/configuration/log-routing-syslog-ng.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Defines the pattern to match against the messages. The [`type` field](#regexp-ty

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

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.
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.

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ weight: 200
generated_file: true
---

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" >}}).
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.

{{< highlight yaml >}}
filters:
Expand Down

0 comments on commit 332855e

Please sign in to comment.