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: pipeline/filters/kubernetes.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ For Fluent Bit v1.2 or greater, don't use decoders (`Decode_Field_As`) if you ar
81
81
To perform processing of the `log` key, you must enable the `Merge_Log` configuration property in this filter, then the following processing order will be done:
82
82
83
83
- If a pod suggests a parser, the filter will use that parser to process the content of `log`.
84
-
- If the `Merge_Parser`options was set and the pod didn't suggest a parser, process the `log` content using the suggested parser in the configuration.
84
+
- If the `Merge_Parser`option was set and the pod didn't suggest a parser, process the `log` content using the suggested parser in the configuration.
85
85
- If no pod was suggested and no `Merge_Parser` is set, try to handle the content as JSON.
86
86
87
87
If `log` value processing fails, the value is untouched. The order of processing isn't chained, meaning it's exclusive and the filter will try only one of the options, not all of them.
Kubernetes Filter depends on either [Tail](../inputs/tail.md) or [Systemd](../inputs/systemd.md) input plugins to process and enrich records with Kubernetes metadata. Consider the following configuration example:
175
175
@@ -230,7 +230,7 @@ The transformation doesn't modify the original tag, it creates a new representat
230
230
The new value is used by the filter to lookup the pod name and namespace, for that purpose it uses an internal regular expression:
For more details, review the source code of that definition [here](https://github.com/fluent/fluent-bit/blob/master/plugins/filter_kubernetes/kube_regex.h#L26>).
@@ -245,7 +245,7 @@ Under some uncommon conditions, a user might want to alter that hard-coded regul
245
245
246
246
#### Custom tags For enhanced filtering
247
247
248
-
One such use case involves splitting logs by namespace, pods, containers or container id. The tag is restructured within the tail input using match groups. Restructuring can simplify the filtering by those match groups later in the pipeline. Since the tag no longer follows the original filename, a custom `Regex_Parser` that matches the new tag structure is required:
248
+
One such use case involves splitting logs by namespace, pods, containers or container ID. The tag is restructured within the tail input using match groups. Restructuring can simplify the filtering by those match groups later in the pipeline. Since the tag no longer follows the original filename, a custom `Regex_Parser` that matches the new tag structure is required:
249
249
250
250
```python
251
251
[PARSER]
@@ -411,7 +411,7 @@ To know if Fluent Bit is using the kubelet, you can review Fluent Bit logs. Ther
411
411
[ info] [filter:kubernetes:kubernetes.0] testing connectivity with Kubelet...
412
412
```
413
413
414
-
If you are in debug mode, you could see more:
414
+
If you are in debug mode, you can see more:
415
415
416
416
```text
417
417
[debug] [filter:kubernetes:kubernetes.0] Send out request to Kubelet for pods information.
0 commit comments