Hi,
Thanks for your reply!
Regarding the type, I am working with filebeat 7.16 so I see the log type is deprecated in the docs so I am using filestream and assume that the rest of the syntax is the same:
Anyway,
using the filestream type with these options didn't work as well (I still see logs from current folder).
exclude_files is a list and by default, the symlinks are disabled.
# If symlinks is enabled, symlinks are opened and harvested. The harvester is opening the
# original for harvesting but will report the symlink name as source.
#symlinks: false
# Exclude files. A list of regular expressions to match. Filebeat drops the files that
# are matching any regular expression from the list. By default, no files are dropped.
#exclude_files: ['.gz$']
I see,
thanks a lot for putting my attention to this.
I need the indication of the original dir (in the above ls -l output it would be 3.124.0).
In order to do that I am using the following configuration:
currently I can see logs from the 3.124.0 and I don't see logs from "current".
is this configuration can cause data loss? or is is the right way to have all data with indication from the original dir (3.124.0) and not the symlink (current)?
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.