Skip to content

Commit

Permalink
Fix k8sattributes sources
Browse files Browse the repository at this point in the history
Signed-off-by: Joao Henri <joao.rocha@suse.com>
  • Loading branch information
jaehnri committed Aug 30, 2023
1 parent 4f586e0 commit d606a5d
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions pkg/resources/collector/templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,9 @@ filelog/rke2:
warn: W
error: E
fatal: F
- type: move
from: body
to: attributes.message
- type: add
field: attributes.log_type
value: controlplane
Expand Down Expand Up @@ -211,16 +214,6 @@ processors:
name: k8s.pod.name
- from: resource_attribute
name: k8s.namespace.name
- from: resource_attribute
name: k8s.auditlog.stage
- from: resource_attribute
name: k8s.auditlog.stage_timestamp
- from: resource_attribute
name: k8s.auditlog.level
- from: resource_attribute
name: k8s.auditlog.audit_id
- from: resource_attribute
name: k8s.auditlog.resource
- sources:
- from: connection
extract:
Expand Down

0 comments on commit d606a5d

Please sign in to comment.