flume-ng syslogtcp整合配置文件
程序员文章站
2022-05-12 10:12:50
...
#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
推荐阅读
-
Spring整合struts的配置文件存放问题
-
ssh框架整合笔记---配置文件
-
springboot 整合Mybatis步骤(有mybatis核心配置文件mybatis-config.xml的形式)
-
springBoot整合MyBatis(传统方式:带xml配置文件)
-
SpringBoot中整合freemarker时配置文件application.properties示例代码
-
Springboot整合MyBatis(配置文件版)
-
springboot整合Nacos多环境以及项目配置文件动态读取
-
SpringBoot整合Mybatis -- 配置文件版
-
SpringBoot整合Mybatis(配置文件版)
-
springboot最简方式整合hystrix以及根据配置文件设置默认参数