Hi folks,
We encountered an issue while the metricbeat is trying to send their metrics to elasticsearch.
even with some drop events rules, but can't drop the events we don't want. we still can see some particular values of a field.
metricbeat.yml
- drop_event:
when:
or:
- equals:
system.filesystem.device_name: "tmpfs"
- equals:
system.filesystem.device_name: "devpts"
- equals:
system.filesystem.device_name: "none"
- equals:
system.filesystem.device_name: "sysfs"
- equals:
system.filesystem.device_name: "proc"
- equals:
system.filesystem.device_name: "cgroup"
- equals:
system.filesystem.device_name: "hugetlbfs"
- equals:
system.filesystem.device_name: "systemd-1"
- equals:
system.filesystem.device_name: "devtmpfs"
- equals:
system.filesystem.device_name: "debugfs"
- equals:
system.filesystem.mount_point: "dev/shm"
- equals:
system.filesystem.mount_point: "/dev/pts"
- equals:
system.filesystem.mount_point: "/sys/fs/selinux"
- equals:
system.filesystem.mount_point: "/proc"
- equals:
system.filesystem.mount_point: "/proc/*"
- equals:
sytem.filesystem.mount_point: "/dev"
- equals:
sytem.filesystem.mount_point: "/dev/hugepages"
- equals:
sytem.filesystem.mount_point: "/dev/mqueue"
- equals:
sytem.filesystem.mount_point: "/proc/sys/fs/binfmt_misc"
- equals:
sytem.filesystem.mount_point: "/sys/fs/cgroup/blkio"
- equals:
sytem.filesystem.mount_point: "/sys/fs/cgroup/cpu,cpuacct"
- equals:
sytem.filesystem.mount_point: "/sys/fs/cgroup/cpuset"
- equals:
sytem.filesystem.mount_point: "/sys/fs/cgroup/devices"
The results from grafana,but also can get the same results from kibana
it would be great if there is a way can drop some events start with /sys/*/.... with a wildcard.
Thanks