Hello,
I want to injest via filebeat only data from containers that are in a certain namespace. Is there a possibility to do that?
Hello,
I want to injest via filebeat only data from containers that are in a certain namespace. Is there a possibility to do that?
I have tried the following and now it does drop all events.
processors:
- drop_event:
when:
not:
equals:
kubernetes.namespace: ["name"]
Any idea on how to make this work?
Can you post a sample Filebeat event that should be ingested? You can use output.console.enabled: true
in your Filebeat configuration to print out the event.
Shaunak
I have figured it out by using regexp and filtering the log.file.path field. with it.
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.