date: 2020-09-10title: flume配置文件 #标题
tags: flume #标签
categories: elastic stack # 分类
记录下flume配置文件。
[root@host-33 conf]# cat flume-iov-sjjh.conf########<<-------------RDC-CLOUD-RTC------------->>########IOV-SJJH-F2KA.sources=mysource_00 mysource_01 mysource_02 mysource_03 mysource_04 mysource_05 mysource_06 mysource_07 mysource_08IOV-SJJH-F2KA.channels=mychannel_00 mychannel_01 mychannel_02 mychannel_03 mychannel_04 mychannel_05 mychannel_06 mychannel_07 mychannel_08IOV-SJJH-F2KA.sinks=mysink_00 mysink_01 mysink_02 mysink_03 mysink_04 mysink_05 mysink_06 mysink_07 mysink_08##閾捐矾鏃ュ織IOV-SJJH-F2KA.sources.mysource_00.type=TAILDIRIOV-SJJH-F2KA.sources.mysource_00.channels=mychannel_00IOV-SJJH-F2KA.sources.mysource_00.positionFile = /apps/var/log/.FlumE/taildir_position_00.jsonIOV-SJJH-F2KA.sources.mysource_00.filegroups = f1IOV-SJJH-F2KA.sources.mysource_00.filegroups.f1 = /apps/var/jakarta/logs/^sleuth.*.logIOV-SJJH-F2KA.sources.mysource_00.headers.f1.headerKey1 = VALUE1IOV-SJJH-F2KA.sources.mysource_00.fileHeader = trueIOV-SJJH-F2KA.sinks.mysink_00.channel=mychannel_00IOV-SJJH-F2KA.sinks.mysink_00.type=org.apache.flume.sink.kafka.KafkaSinkIOV-SJJH-F2KA.sinks.mysink_00.kafka.bootstrap.servers=192.168.1.26:9092IOV-SJJH-F2KA.sinks.mysink_00.kafka.topic=iov_sjjh_trace_onlineIOV-SJJH-F2KA.sinks.mysink_00.kafka.batchSize=1#IOV-SJJH-F2KA.sinks.mysink_00.kafka.producer.requiredAcks=1IOV-SJJH-F2KA.sinks.mysink_00.kafka.producer.linger.ms = 1IOV-SJJH-F2KA.sinks.mysink_00.kafka.producer.max.request.size = 4194304IOV-SJJH-F2KA.channels.mychannel_00.type=memoryIOV-SJJH-F2KA.channels.mychannel_00.capacity=30000IOV-SJJH-F2KA.channels.mychannel_00.transactionCapacity=100##璁块棶鏃ュ織IOV-SJJH-F2KA.sources.mysource_01.interceptors=i1 i2IOV-SJJH-F2KA.sources.mysource_01.interceptors.i1.type=regex_filterIOV-SJJH-F2KA.sources.mysource_01.interceptors.i1.regex=("URI":"/actuator)|("URI":"/api/v2/spans)|(/favicon.ico)|(/v2/api-docs)|(/swagger-resources)|(/swagger-ui.html)IOV-SJJH-F2KA.sources.mysource_01.interceptors.i1.excludeEvents = trueIOV-SJJH-F2KA.sources.mysource_01.interceptors.i2.type=regex_filterIOV-SJJH-F2KA.sources.mysource_01.interceptors.i2.regex=(/webjars/springfox-swagger-ui/)|(/csrf)IOV-SJJH-F2KA.sources.mysource_01.interceptors.i2.excludeEvents = trueIOV-SJJH-F2KA.sources.mysource_01.type=TAILDIRIOV-SJJH-F2KA.sources.mysource_01.channels=mychannel_01#IOV-SJJH-F2KA.sources.mysource_01.inputCharset = UTF-8IOV-SJJH-F2KA.sources.mysource_01.positionFile = /apps/var/log/.FlumE/taildir_position_01.jsonIOV-SJJH-F2KA.sources.mysource_01.filegroups = f1IOV-SJJH-F2KA.sources.mysource_01.filegroups.f1 = /apps/var/jakarta/logs/^access.*.logIOV-SJJH-F2KA.sources.mysource_01.headers.f1.headerKey1 = VALUE1IOV-SJJH-F2KA.sources.mysource_01.fileHeader = trueIOV-SJJH-F2KA.sinks.mysink_01.channel=mychannel_01IOV-SJJH-F2KA.sinks.mysink_01.type=org.apache.flume.sink.kafka.KafkaSinkIOV-SJJH-F2KA.sinks.mysink_01.kafka.bootstrap.servers=192.168.1.26:9092IOV-SJJH-F2KA.sinks.mysink_01.kafka.topic=iov_sjjh_access_onlineIOV-SJJH-F2KA.sinks.mysink_01.kafka.batchSize=1#IOV-SJJH-F2KA.sinks.mysink_01.custom.encoding=UTF-8#IOV-SJJH-F2KA.sinks.mysink_01.kafka.producer.requiredAcks=1IOV-SJJH-F2KA.sinks.mysink_01.kafka.producer.linger.ms = 1IOV-SJJH-F2KA.sinks.mysink_01.kafka.producer.max.request.size = 4194304IOV-SJJH-F2KA.channels.mychannel_01.type=memoryIOV-SJJH-F2KA.channels.mychannel_01.capacity=30000IOV-SJJH-F2KA.channels.mychannel_01.transactionCapacity=100## 閿欒鏃ュ織IOV-SJJH-F2KA.sources.mysource_02.type=TAILDIRIOV-SJJH-F2KA.sources.mysource_02.channels=mychannel_02IOV-SJJH-F2KA.sources.mysource_02.positionFile = /apps/var/log/.FlumE/taildir_position_02.jsonIOV-SJJH-F2KA.sources.mysource_02.filegroups = f1IOV-SJJH-F2KA.sources.mysource_02.filegroups.f1 = /apps/var/jakarta/logs/^error.*.logIOV-SJJH-F2KA.sources.mysource_02.headers.f1.headerKey1 = VALUE1IOV-SJJH-F2KA.sources.mysource_02.fileHeader = trueIOV-SJJH-F2KA.sinks.mysink_02.channel=mychannel_02IOV-SJJH-F2KA.sinks.mysink_02.type=org.apache.flume.sink.kafka.KafkaSinkIOV-SJJH-F2KA.sinks.mysink_02.kafka.bootstrap.servers=192.168.1.26:9092IOV-SJJH-F2KA.sinks.mysink_02.kafka.topic=iov_sjjh_error_onlineIOV-SJJH-F2KA.sinks.mysink_02.kafka.batchSize=1#IOV-SJJH-F2KA.sinks.mysink_02.kafka.producer.requiredAcks=1IOV-SJJH-F2KA.sinks.mysink_02.kafka.producer.linger.ms = 1IOV-SJJH-F2KA.sinks.mysink_02.kafka.producer.max.request.size = 4194304IOV-SJJH-F2KA.channels.mychannel_02.type=memoryIOV-SJJH-F2KA.channels.mychannel_02.capacity=30000IOV-SJJH-F2KA.channels.mychannel_02.transactionCapacity=100## API缃戝叧璁块棶鏃ュ織IOV-SJJH-F2KA.sources.mysource_03.interceptors=i1 i2IOV-SJJH-F2KA.sources.mysource_03.interceptors.i1.type=regex_filterIOV-SJJH-F2KA.sources.mysource_03.interceptors.i1.regex=("URI":"/actuator)|("URI":"/api/v2/spans)|(/favicon.ico)|(/v2/api-docs)|(/swagger-resources)|(/swagger-ui.html)IOV-SJJH-F2KA.sources.mysource_03.interceptors.i1.excludeEvents = trueIOV-SJJH-F2KA.sources.mysource_03.interceptors.i2.type=regex_filterIOV-SJJH-F2KA.sources.mysource_03.interceptors.i2.regex=(/webjars/springfox-swagger-ui/)|(/csrf)IOV-SJJH-F2KA.sources.mysource_03.interceptors.i2.excludeEvents = trueIOV-SJJH-F2KA.sources.mysource_03.type=TAILDIRIOV-SJJH-F2KA.sources.mysource_03.channels=mychannel_03IOV-SJJH-F2KA.sources.mysource_03.positionFile = /apps/var/log/.FlumE/taildir_position_03.jsonIOV-SJJH-F2KA.sources.mysource_03.filegroups = f1IOV-SJJH-F2KA.sources.mysource_03.filegroups.f1 = /apps/var/jakarta/logs/^access.*._iov-sjjh-gateway_.*.logIOV-SJJH-F2KA.sources.mysource_03.headers.f1.headerKey1 = VALUE1IOV-SJJH-F2KA.sources.mysource_03.fileHeader = trueIOV-SJJH-F2KA.sinks.mysink_03.channel=mychannel_03IOV-SJJH-F2KA.sinks.mysink_03.type=org.apache.flume.sink.kafka.KafkaSinkIOV-SJJH-F2KA.sinks.mysink_03.kafka.bootstrap.servers=192.168.1.26:9092IOV-SJJH-F2KA.sinks.mysink_03.kafka.topic=iov_sjjh_access_iov-sjjh-gateway_onlineIOV-SJJH-F2KA.sinks.mysink_03.kafka.batchSize=1IOV-SJJH-F2KA.sinks.mysink_03.kafka.producer.linger.ms = 1IOV-SJJH-F2KA.sinks.mysink_03.kafka.producer.max.request.size = 4194304IOV-SJJH-F2KA.channels.mychannel_03.type=memoryIOV-SJJH-F2KA.channels.mychannel_03.capacity=30000IOV-SJJH-F2KA.channels.mychannel_03.transactionCapacity=100##API浜岀骇缃戝叧璁块棶鏃ュ織IOV-SJJH-F2KA.sources.mysource_04.interceptors=i1 i2IOV-SJJH-F2KA.sources.mysource_04.interceptors.i1.type=regex_filterIOV-SJJH-F2KA.sources.mysource_04.interceptors.i1.regex=("URI":"/actuator)|("URI":"/api/v2/spans)|(/favicon.ico)|(/v2/api-docs)|(/swagger-resources)|(/swagger-ui.html)IOV-SJJH-F2KA.sources.mysource_04.interceptors.i1.excludeEvents = trueIOV-SJJH-F2KA.sources.mysource_04.interceptors.i2.type=regex_filterIOV-SJJH-F2KA.sources.mysource_04.interceptors.i2.regex=(/webjars/springfox-swagger-ui/)|(/csrf)IOV-SJJH-F2KA.sources.mysource_04.interceptors.i2.excludeEvents = trueIOV-SJJH-F2KA.sources.mysource_04.type=TAILDIRIOV-SJJH-F2KA.sources.mysource_04.channels=mychannel_04IOV-SJJH-F2KA.sources.mysource_04.positionFile = /apps/var/log/.FlumE/taildir_position_04.jsonIOV-SJJH-F2KA.sources.mysource_04.filegroups = f1IOV-SJJH-F2KA.sources.mysource_04.filegroups.f1 = /apps/var/jakarta/logs/^access.*._iov-sjjh-gateway-ct_.*.logIOV-SJJH-F2KA.sources.mysource_04.headers.f1.headerKey1 = VALUE1IOV-SJJH-F2KA.sources.mysource_04.fileHeader = trueIOV-SJJH-F2KA.sinks.mysink_04.channel=mychannel_04IOV-SJJH-F2KA.sinks.mysink_04.type=org.apache.flume.sink.kafka.KafkaSinkIOV-SJJH-F2KA.sinks.mysink_04.kafka.bootstrap.servers=192.168.1.26:9092IOV-SJJH-F2KA.sinks.mysink_04.kafka.topic=iov_sjjh_access_iov-sjjh-gateway-ct_onlineIOV-SJJH-F2KA.sinks.mysink_04.kafka.batchSize=1IOV-SJJH-F2KA.sinks.mysink_04.kafka.producer.linger.ms = 1IOV-SJJH-F2KA.sinks.mysink_04.kafka.producer.max.request.size = 4194304IOV-SJJH-F2KA.channels.mychannel_04.type=memoryIOV-SJJH-F2KA.channels.mychannel_04.capacity=30000IOV-SJJH-F2KA.channels.mychannel_04.transactionCapacity=100##鍚庡彴缃叧块棶鏃ュ織IOV-SJJH-F2KA.sources.mysource_05.interceptors=i1 i2IOV-SJJH-F2KA.sources.mysource_05.interceptors.i1.type=regex_filterIOV-SJJH-F2KA.sources.mysource_05.interceptors.i1.regex=("URI":"/actuator)|("URI":"/api/v2/spans)|(/favicon.ico)|(/v2/api-docs)|(/swagger-resources)|(/swagger-ui.html)IOV-SJJH-F2KA.sources.mysource_05.interceptors.i1.excludeEvents = trueIOV-SJJH-F2KA.sources.mysource_05.interceptors.i2.type=regex_filterIOV-SJJH-F2KA.sources.mysource_05.interceptors.i2.regex=(/webjars/springfox-swagger-ui/)|(/csrf)IOV-SJJH-F2KA.sources.mysource_05.interceptors.i2.excludeEvents = trueIOV-SJJH-F2KA.sources.mysource_05.type=TAILDIRIOV-SJJH-F2KA.sources.mysource_05.channels=mychannel_05IOV-SJJH-F2KA.sources.mysource_05.positionFile = /apps/var/log/.FlumE/taildir_position_05.jsonIOV-SJJH-F2KA.sources.mysource_05.filegroups = f1IOV-SJJH-F2KA.sources.mysource_05.filegroups.f1 = /apps/var/jakarta/logs/^access.*._iov-sjjh-gateway-portal_.*.logIOV-SJJH-F2KA.sources.mysource_05.headers.f1.headerKey1 = VALUE1IOV-SJJH-F2KA.sources.mysource_05.fileHeader = trueIOV-SJJH-F2KA.sinks.mysink_05.channel=mychannel_05IOV-SJJH-F2KA.sinks.mysink_05.type=org.apache.flume.sink.kafka.KafkaSinkIOV-SJJH-F2KA.sinks.mysink_05.kafka.bootstrap.servers=192.168.1.26:9092IOV-SJJH-F2KA.sinks.mysink_05.kafka.topic=iov_sjjh_access_iov-sjjh-gateway-portal_onlineIOV-SJJH-F2KA.sinks.mysink_05.kafka.batchSize=1IOV-SJJH-F2KA.sinks.mysink_05.kafka.producer.linger.ms = 1IOV-SJJH-F2KA.sinks.mysink_05.kafka.producer.max.request.size = 4194304IOV-SJJH-F2KA.channels.mychannel_05.type=memoryIOV-SJJH-F2KA.channels.mychannel_05.capacity=30000IOV-SJJH-F2KA.channels.mychannel_05.transactionCapacity=100## API涓€绾х綉鍏冲搷搴旀棩蹇IOV-SJJH-F2KA.sources.mysource_06.interceptors=i1 i2IOV-SJJH-F2KA.sources.mysource_06.interceptors.i1.type=regex_filterIOV-SJJH-F2KA.sources.mysource_06.interceptors.i1.regex=("URI":"/actuator)|("URI":"/api/v2/spans)|(/favicon.ico)|(/v2/api-docs)|(/swagger-resources)|(/swagger-ui.html)IOV-SJJH-F2KA.sources.mysource_06.interceptors.i1.excludeEvents = trueIOV-SJJH-F2KA.sources.mysource_06.interceptors.i2.type=regex_filterIOV-SJJH-F2KA.sources.mysource_06.interceptors.i2.regex=(/webjars/springfox-swagger-ui/)|(/csrf)IOV-SJJH-F2KA.sources.mysource_06.interceptors.i2.excludeEvents = trueIOV-SJJH-F2KA.sources.mysource_06.type=TAILDIRIOV-SJJH-F2KA.sources.mysource_06.channels=mychannel_06IOV-SJJH-F2KA.sources.mysource_06.positionFile = /apps/var/log/.FlumE/taildir_position_06.jsonIOV-SJJH-F2KA.sources.mysource_06.filegroups = f1IOV-SJJH-F2KA.sources.mysource_06.filegroups.f1 = /apps/var/jakarta/logs/^request.*._iov-sjjh-gateway_.*.logIOV-SJJH-F2KA.sources.mysource_06.headers.f1.headerKey1 = VALUE1IOV-SJJH-F2KA.sources.mysource_06.fileHeader = trueIOV-SJJH-F2KA.sinks.mysink_06.channel=mychannel_06IOV-SJJH-F2KA.sinks.mysink_06.type=org.apache.flume.sink.kafka.KafkaSinkIOV-SJJH-F2KA.sinks.mysink_06.kafka.bootstrap.servers=192.168.1.26:9092IOV-SJJH-F2KA.sinks.mysink_06.kafka.topic=iov_sjjh_request_onlineIOV-SJJH-F2KA.sinks.mysink_06.kafka.batchSize=1IOV-SJJH-F2KA.sinks.mysink_06.kafka.producer.linger.ms = 1IOV-SJJH-F2KA.sinks.mysink_06.kafka.producer.max.request.size = 4194304IOV-SJJH-F2KA.channels.mychannel_06.type=memoryIOV-SJJH-F2KA.channels.mychannel_06.capacity=30000IOV-SJJH-F2KA.channels.mychannel_06.transactionCapacity=100## yysj 涓€绾х綉鍏冲搷搴旀棩蹇IOV-SJJH-F2KA.sources.mysource_07.interceptors=i1 i2IOV-SJJH-F2KA.sources.mysource_07.interceptors.i1.type=regex_filterIOV-SJJH-F2KA.sources.mysource_07.interceptors.i1.regex=("URI":"/actuator)|("URI":"/api/v2/spans)|(/favicon.ico)|(/v2/api-docs)|(/swagger-resources)|(/swagger-ui.html)IOV-SJJH-F2KA.sources.mysource_07.interceptors.i1.excludeEvents = trueIOV-SJJH-F2KA.sources.mysource_07.interceptors.i2.type=regex_filterIOV-SJJH-F2KA.sources.mysource_07.interceptors.i2.regex=(/webjars/springfox-swagger-ui/)|(/csrf)IOV-SJJH-F2KA.sources.mysource_07.interceptors.i2.excludeEvents = trueIOV-SJJH-F2KA.sources.mysource_07.type=TAILDIRIOV-SJJH-F2KA.sources.mysource_07.channels=mychannel_07IOV-SJJH-F2KA.sources.mysource_07.positionFile = /apps/var/log/.FlumE/taildir_position_07.jsonIOV-SJJH-F2KA.sources.mysource_07.filegroups = f1IOV-SJJH-F2KA.sources.mysource_07.filegroups.f1 = /apps/var/jakarta/logs/^yysjaccess.*._cloud-yysj-check-info.*.logIOV-SJJH-F2KA.sources.mysource_07.headers.f1.headerKey1 = VALUE1IOV-SJJH-F2KA.sources.mysource_07.fileHeader = trueIOV-SJJH-F2KA.sinks.mysink_07.channel=mychannel_07IOV-SJJH-F2KA.sinks.mysink_07.type=org.apache.flume.sink.kafka.KafkaSinkIOV-SJJH-F2KA.sinks.mysink_07.kafka.bootstrap.servers=192.168.1.26:9092IOV-SJJH-F2KA.sinks.mysink_07.kafka.topic=cloud_yysj_check_info_onlineIOV-SJJH-F2KA.sinks.mysink_07.kafka.batchSize=1IOV-SJJH-F2KA.sinks.mysink_07.kafka.producer.linger.ms = 1IOV-SJJH-F2KA.sinks.mysink_07.kafka.producer.max.request.size = 4194304IOV-SJJH-F2KA.channels.mychannel_07.type=memoryIOV-SJJH-F2KA.channels.mychannel_07.capacity=30000IOV-SJJH-F2KA.channels.mychannel_07.transactionCapacity=100## yysj 浜岀骇缃戝叧鍝嶅簲鏃ュ織IOV-SJJH-F2KA.sources.mysource_08.interceptors=i1 i2IOV-SJJH-F2KA.sources.mysource_08.interceptors.i1.type=regex_filterIOV-SJJH-F2KA.sources.mysource_08.interceptors.i1.regex=("URI":"/actuator)|("URI":"/api/v2/spans)|(/favicon.ico)|(/v2/api-docs)|(/swagger-resources)|(/swagger-ui.html)IOV-SJJH-F2KA.sources.mysource_08.interceptors.i1.excludeEvents = trueIOV-SJJH-F2KA.sources.mysource_08.interceptors.i2.type=regex_filterIOV-SJJH-F2KA.sources.mysource_08.interceptors.i2.regex=(/webjars/springfox-swagger-ui/)|(/csrf)IOV-SJJH-F2KA.sources.mysource_08.interceptors.i2.excludeEvents = trueIOV-SJJH-F2KA.sources.mysource_08.type=TAILDIRIOV-SJJH-F2KA.sources.mysource_08.channels=mychannel_08IOV-SJJH-F2KA.sources.mysource_08.positionFile = /apps/var/log/.FlumE/taildir_position_08.jsonIOV-SJJH-F2KA.sources.mysource_08.filegroups = f1IOV-SJJH-F2KA.sources.mysource_08.filegroups.f1 = /apps/var/jakarta/logs/^yysjaccess.*._cloud-yysj-product-check.*.logIOV-SJJH-F2KA.sources.mysource_08.headers.f1.headerKey1 = VALUE1IOV-SJJH-F2KA.sources.mysource_08.fileHeader = trueIOV-SJJH-F2KA.sinks.mysink_08.channel=mychannel_08IOV-SJJH-F2KA.sinks.mysink_08.type=org.apache.flume.sink.kafka.KafkaSinkIOV-SJJH-F2KA.sinks.mysink_08.kafka.bootstrap.servers=192.168.1.26:9092IOV-SJJH-F2KA.sinks.mysink_08.kafka.topic=cloud_yysj_product_check_onlineIOV-SJJH-F2KA.sinks.mysink_08.kafka.batchSize=1IOV-SJJH-F2KA.sinks.mysink_08.kafka.producer.linger.ms = 1IOV-SJJH-F2KA.sinks.mysink_08.kafka.producer.max.request.size = 4194304IOV-SJJH-F2KA.channels.mychannel_08.type=memoryIOV-SJJH-F2KA.channels.mychannel_08.capacity=30000IOV-SJJH-F2KA.channels.mychannel_08.transactionCapacity=100
