I have no use for the beat.hostname, beat.name or beat.version fields and would like to filter them out. This filter does not work:
cat /etc/logstash/conf.d/input.conf filter { mutate { remove_field => [ "beat.name", "beat.version", "beat.hostname" ] } }
filter { mutate { remove_field => [ "beat.name", "beat.version", "beat.hostname" ] } }
Am I missing something?
mutate { remove_field => [ "[beat][name]", "[beat][version]", "[beat][hostname]" ] }
Thank you @Badger. That fixed my filter. Appreciate your time and expertise.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.