Fluentd: How can i collect all logs in tail Input plugin include subdirectory

Created on 18 Dec 2015  路  3Comments  路  Source: fluent/fluentd

There are many logs in a directory /mnt, and logs have saved at different levels of directory like this:
/mnt/a.log
/mnt/uyer/b.log
/mnt/v1/er/c.log
......

How can i config the td-agent.conf with one source that i can collect all logs?

Most helpful comment

Use **/*.log.

All 3 comments

It means you want to parse several formats in one in_tail plugin?

No,i want to parse all log files in one path that include many subdirectories

Use **/*.log.

Was this page helpful?
0 / 5 - 0 ratings