I need harvest all log files in an directory and the subdirectories and exclude the backup directories that are in the same location.
e. g.
/foo/bar/service1/.log
/foo/bar/service1.backup/.log
/foo/bar/service2/.log
/foo/bar/service2.backup/.log
is there a possibility to exclude all the directories with the ending .backup and their subdirectories from harvesting.
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.