Does fluentd open the same file multiple times when sourcing it multiple times?

21 views
Skip to first unread message

Haoyuan Ge

unread,
Apr 15, 2017, 11:51:29 AM4/15/17
to Fluentd Google Group
I want to define mulitple sources for logging:

<source>
 @type tail
 path /path/to/test*.log
 format1
</source>
<source>
 @type tail
 path /path/to/*A*.log
 format2
</source>
<source>
 @type tail
 path /path/to/*AB.log
 format3
</source>

For the above example,
/path/to/testAB.log

will be sourced 3 times. I wonder, does the fluentd open the file 3 times, or just one time and process it in memory?

Mr. Fiber

unread,
Apr 17, 2017, 3:09:45 AM4/17/17
to Fluentd Google Group
 does the fluentd open the file 3 times, or just one time and process it in memory?

Former. Basically, each plugin is isolated.


Masahiro


--
You received this message because you are subscribed to the Google Groups "Fluentd Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fluentd+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages