Can filebeat read the log file that under like ’yyyy/mm/dd‘ dynamic folder?

can filebeat read the log file that under like ’yyyy/mm/dd‘ dynamic folder?

Welcome! :smiley:

Yes, you can use path globbing to handle that - https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-input-log.html#input-paths

Thank you for your reply!but I don't want to match folder like '/a/b/c', only match data format folder ,what to do about it? Thanks again for your reply。

What if you used 20*/*/*, so it'd match 2020 etc?

That's okay!thx.

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