Hello
I am trying to drop event when a specific kv is received. I executed metricbeat with using below yaml lines, but the drop_event never worked as what i expected.
can you please advise what i wrongly configured in the yaml file? a part of my .yaml file is as below.
please advise.
metricbeat.modules:
- module: system
metricsets:
- process
processors:
- drop_event.when:
or:
- equals:
system.process.username: root
- equals :
system.process.username: onmadm
processes: ['.*']
period: 10s
output.kafka:
version: 0.10.2.1
enabled: true
hosts: ["xxx:9092"]
topic: 'xxx'
FYI,
environment what i am using metricbeat is centos7 and metricbeat-6.7.1 version.
thank you!!