Filebeat log path

My logs are in multiple nested directories as like:

/var/log/dir1/dir2/file.log
/var/log/dir3/dir4/dir5//file.log

...

It there is way to define a dir-based wildcard path in my filebeat.yml as:

/var/log/**/*.log

So that regardless of the number of directory levels all files in the /var/log folder are ingested by filebeat.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.