Skip to content

Commit

Permalink
add snap mountpoints to blacklist (#7206)
Browse files Browse the repository at this point in the history
  • Loading branch information
xoh authored and blakerouse committed Jan 28, 2020
1 parent 86c3e63 commit c3f0276
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion deploy/kubernetes/metricbeat-kubernetes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ data:
- fsstat
processors:
- drop_event.when.regexp:
system.filesystem.mount_point: '^/(sys|cgroup|proc|dev|etc|host|lib)($|/)'
system.filesystem.mount_point: '^/(sys|cgroup|proc|dev|etc|host|lib|snap)($|/)'
kubernetes.yml: |-
- module: kubernetes
metricsets:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ data:
- fsstat
processors:
- drop_event.when.regexp:
system.filesystem.mount_point: '^/(sys|cgroup|proc|dev|etc|host|lib)($|/)'
system.filesystem.mount_point: '^/(sys|cgroup|proc|dev|etc|host|lib|snap)($|/)'
kubernetes.yml: |-
- module: kubernetes
metricsets:
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/module/system/_meta/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
- fsstat
processors:
- drop_event.when.regexp:
system.filesystem.mount_point: '^/(sys|cgroup|proc|dev|etc|host|lib)($|/)'
system.filesystem.mount_point: '^/(sys|cgroup|proc|dev|etc|host|lib|snap)($|/)'

- module: system
period: 15m
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/modules.d/system.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
- fsstat
processors:
- drop_event.when.regexp:
system.filesystem.mount_point: '^/(sys|cgroup|proc|dev|etc|host|lib)($|/)'
system.filesystem.mount_point: '^/(sys|cgroup|proc|dev|etc|host|lib|snap)($|/)'

- module: system
period: 15m
Expand Down

0 comments on commit c3f0276

Please sign in to comment.