Dear all,
I need exclude archive files from filebeat processing.
My archive exstensions: *.gz, *.bz2
Currently i have configured exclusion of such type of files, but it is not working.
exclude_files: [".gz$",".out$",".bz2$"]
Quick response will be greatly appreciated.
See here for an example: https://www.elastic.co/guide/en/beats/filebeat/5.3/configuration-filebeat-options.html#exclude-files You probably have the escape the dot.
Is there any differences between ['.gz$','.bz2$'] and [".gz$",".bz2$"] ?
Yes, single and double quotes can matter.
© 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.