flume-ng syslogtcp整合配置文件


#configuration 'flume78Agent'
flume78Agent.sources=source78
flume78Agent.sinks=sink78-1 sink78-2
flume78Agent.channels=channel78

#configuration sinks group
flume78Agent.sinksgroups=group78

#configuration sources
flume78Agent.sources.source78.type=syslogtcp
flume78Agent.sources.source78.port=514
flume78Agent.sources.source78.host=10.21.3.78
flume78Agent.sources.source78.channels=channel78

#configuration channels
flume78Agent.channels.channel78.type=memory
flume78Agent.channels.channel78.capacity=2000
flume78Agent.channels.channel78.transactionCapacity=1000
flume78Agent.channels.channel78.keep-alive=10

#configuration sink78-1
flume78Agent.sinks.sink78-1.type=avro
flume78Agent.sinks.sink78-1.port=4141
flume78Agent.sinks.sink78-1.hostname=10.21.3.73
flume78Agent.sinks.sink78-1.channel=channel78

#configuration sink78-2
flume78Agent.sinks.sink78-2.type=avro
flume78Agent.sinks.sink78-2.port=4141
flume78Agent.sinks.sink78-2.hostname=10.21.3.73
flume78Agent.sinks.sink78-2.channel=channel78

flume78Agent.sinkgroups.group78.sinks=sink78-1 sink78-2

# load_balance type
flume78Agent.sinkgroups.group78.processor.type = load_balance
flume78Agent.sinkgroups.group78.processor.backoff   = true
flume78Agent.sinkgroups.group78.processor.selector  = random

猜你喜欢

转载自houston123.iteye.com/blog/2317492