taildir

时间:2025-03-30 16:59:10
# Name the components on this agent
 = r1
 = k1
 = c1
 
# Describe/configure the source
. = TAILDIR
. = /bigdata/flume-1.6.0-cdh5.16.2/taildir_position.json

. = f1 f2
..f1 = /wangqingguo/bigdata/testdata/taildir/test1/
..f2 = /wangqingguo/bigdata/testdata/taildir/test2/.*log.*

 
# Describe the sink
. = logger
 
# Use a channel which buffers events in memory
. = memory
. = 1000
. = 100
 
# Bind the source and sink to the channel
. = c1
. = c1