Yes
Paths respect globs see here
A list of glob-based paths that will be crawled and fetched. All patterns supported by Go Glob are also supported here.
if you put a directory path with * all files will be harvested...
/Users/<username>/Projects/GitLab/hello-world/path/to/my/logs/*
if you do something like this only *.log files will be harvested
/Users/<username>/Projects/GitLab/hello-world/path/to/my/logs/*.log