Skip to content

Commit

Permalink
Merge branch 'master' into feature/eks-fargate-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yotamloe authored Aug 25, 2024
2 parents 094a0a0 + fcd2d0d commit 3290ae0
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/logzio-logs-collector/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: logzio-logs-collector
version: 1.0.8
version: 1.0.9
description: kubernetes logs collection agent for logz.io based on opentelemetry collector
type: application
home: https://logz.io/
Expand Down
27 changes: 27 additions & 0 deletions charts/logzio-logs-collector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,34 @@ Multi line logs configuration
-----------------------------
The collector supports by default various log formats (including multiline logs) such as `CRI-O` `CRI-Containerd` `Docker` formats. You can configure the chart to parse custom multiline logs pattern according to your needs, please read [Customizing Multiline Log Handling](./examples/multiline.md) guide for more details.

Log collection in eks fargate environemnt
-----------------------------
You can use the `fargateLogRouter.enabled` value to enable log collection in eks fargate environemnt via fluentbit log-router
```sh
helm install logzio-logs-collector -n monitoring \
--set enabled=true \
--set secrets.logzioLogsToken=<<token>> \
--set secrets.logzioRegion=<<region>> \
--set secrets.env_id=<<env_id>> \
--set secrets.logType=<<logType>> \
--set fargateLogRouter.enabled="true" \
logzio-helm/logzio-logs-collector
```
### Kubernetes metadata fields naming changes in eks fargate environemnt >= `1.0.9`
Changes in fields names:
- `kubernetes.*` -> `kubernetes_*`
- `kubernetes.labels.*` -> `kubernetes_labels_*`
- `kubernetes.annotations.*` -> `kubernetes_annotations_*`
## Change log
* 1.0.9
- **EKS fargate Breaking changes**:
- Add `nest` filters to remove dots from kubernetes metadata keys.
Changes in fields names:
- `kubernetes.*` -> `kubernetes_*`
- `kubernetes.labels.*` -> `kubernetes_labels_*`
- `kubernetes.annotations.*` -> `kubernetes_annotations_*`
* 1.0.8
- Bug-fix:
- Remove comment from `_helpers.tpl` template that breaks aws-logging configmap
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,25 @@ data:
Match *
Condition Key_value_does_not_match message (?i)(error|failure|failed|exception|panic|warn|warning)
Add log_level INFO
[FILTER]
Name nest
Match *
Operation lift
Nested_under kubernetes
Add_prefix kubernetes_
[FILTER]
Name nest
Match *
Operation lift
Nested_under kubernetes_labels
Add_prefix kubernetes_labels_
[FILTER]
Name nest
Match *
Operation lift
Nested_under kubernetes_annotations
Add_prefix kubernetes_annotations_
output.conf: |
[OUTPUT]
Name es
Expand Down
14 changes: 13 additions & 1 deletion charts/logzio-monitoring/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,11 @@ Then use `kubectl port-forward` to accsess the user intefrace in your browser:
```shell
kubectl port-forward svc/ezkonnect-ui -n monitoring 31032:31032
```
### Changes in kubernetes metadate fields names from version 6.1.0
Changes in field names (replacing dots with underscore):
- `kubernetes.*` -> `kubernetes_*`
- `kubernetes.labels.*` -> `kubernetes_labels_*`
- `kubernetes.annotations.*` -> `kubernetes_annotations_*`
### Handling image pull rate limit
Expand Down Expand Up @@ -224,6 +228,14 @@ There are two possible approaches to the upgrade you can choose from:
## Changelog
- **6.1.0**:
- Upgrade `logzio-logs-collector` chart to `v1.0.9`
- EKS fargate Breaking changes:
- Add nest filters to remove dots from kubernetes metadata keys.
- Changes in fields names:
- `kubernetes.*` -> `kubernetes_*`
- `kubernetes.labels.*` -> `kubernetes_labels_*`
- `kubernetes.annotations.*` -> `kubernetes_annotations_*`
- **6.0.9**:
- Upgrade `logzio-logs-collector` chart to `v1.0.8`
- Bug-fix: Remove comment from `_helpers.tpl` template that breaks `aws-logging` configmap
Expand Down

0 comments on commit 3290ae0

Please sign in to comment.