Hi,
I use metricbeat collecting kafka metrics, i want to filter data when kafka.partition.partition.leader not equals kafka.partition.partition.replica,
It is not possible to use fields as values for conditions.
For your case I guess that you want to drop events if they are not from leader partitions, in that case you may find useful a new field kafka.partition.partition.is_leader that we have added and will be available in 6.5.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.