Skip to content

Commit

Permalink
Filters unwanted logs messages from GCP
Browse files Browse the repository at this point in the history
This is a first stab at trying to filter log messages from 3rd-party
experiments, as well as overly verbose messages from sidecars.

#847
  • Loading branch information
nkinkade committed Aug 25, 2023
1 parent e3098d3 commit 4357442
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions helm/vector-values-overrides.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,19 @@ customConfig:
- journald
# This catches anything with priority warning (4) to critical (0).
condition: .SYSLOG_IDENTIFIER == "kernel" && includes(["0", "1", "2", "3", "4"], .PRIORITY)
kubernetes_logs:
type: filter
inputs:
- kubernetes_logs
# 3rd-party service logs
condition."kubernetes.container_name.regex" != "(revtrvp|wehe|dash)"
# tcp-info
condition."message.regex" != "saver\.go:[0-9]+:
(Cache|Closed|Closing|Missing|Starting)"
# traceroute-caller
condition."message.regex" != "command (finished|started|succeeded)
# packet-headers
condition."message.regex" != "tcp\.go:[0-9]+: (Context|Create|Successfully)"
env:
- name: VECTOR_LOG
value: info
Expand Down

0 comments on commit 4357442

Please sign in to comment.