Skip to content

Commit

Permalink
fix: missing filter in pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
kirinnee committed Dec 27, 2023
1 parent f0ed636 commit 0fe600f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion chart/collectors/container-logs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ processors:
logs:
log_record:
- 'resource.attributes["drop_log"] == "true"'
- 'resource.attributes["k8s.daemonset.name"] == "konnectivity-agent"'

exporters:
loki:
Expand All @@ -184,5 +185,5 @@ service:
pipelines:
logs:
receivers: [ filelog ]
processors: [ k8sattributes, resource, attributes, batch ]
processors: [ k8sattributes, resource, attributes, filter, batch ]
exporters: [ loki ]
1 change: 0 additions & 1 deletion chart/collectors/otlp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ processors:
- action: insert
key: loki.attribute.labels
value: otel.source

resource:
attributes:
- key: container.id
Expand Down

0 comments on commit 0fe600f

Please sign in to comment.