t188.sources = r1
t188.channels = ch
t188.sinks = k1

t188.sources.r1.type = exec
t188.sources.r1.command = tail -f /root/flume/logs/a.log
t188.sources.r1.channels = ch

t188.sources.r1.interceptors = i1 i2
t188.sources.r1.interceptors.i1.type = org.apache.flume.interceptor.HostInterceptor$Builder
t188.sources.r1.interceptors.i1.preserveExisting = true
t188.sources.r1.interceptors.i1.useIP = false
t188.sources.r1.interceptors.i1.hostHeader = uc1
t188.sources.r1.interceptors.i2.type = org.apache.flume.interceptor.TimestampInterceptor$Builder

t188.channels.ch.type = memory
t188.channels.ch.keep-alive = 10
t188.channels.ch.capacity = 100000
t188.channels.ch.transactionCapacity =100

t188.sinks.k1.type = avro
t188.sinks.k1.hostname = 192.168.11.185
t188.sinks.k1.port = 9999
t188.sinks.k1.channel = ch

