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?
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.
Most helpful comment
Use
**/*.log.