Authored by chunhua.zhang

add configure

##########################################################################
# This file is generated automatically, maintained by karl.zhou@yoho.cn
# Generated at 2017-03-11 21:03:58 +0800
# send to rsyslog server for cobar
# /etc/rsyslog.d/*.conf
# For cobar, total 2 files.
$InputFileName /Data/logs/cobar/alarm.log
$InputFileTag cobar,alarm
$InputFileSeverity info
$InputFileStateFile state_cobar_alarm
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/cobar/stdout.log
$InputFileTag cobar,stdout
$InputFileSeverity info
$InputFileStateFile state_cobar_stdout
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
... ...
##########################################################################
# This file is generated automatically, maintained by karl.zhou@yoho.cn
# Generated at 2017-02-04 15:00:21 +0800
# send to rsyslog server for nginx
# /etc/rsyslog.d/*.conf
# For nginx, total 13 files.
$InputFileName /Data/logs/nginx/activity_access.log
$InputFileTag nginx,activity_access
$InputFileSeverity info
$InputFileStateFile state_nginx_activity_access
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/nginx/activity_error.log
$InputFileTag nginx,activity_error
$InputFileSeverity info
$InputFileStateFile state_nginx_activity_error
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/nginx/api.single.yoho.cn_access.log
$InputFileTag nginx,api.single.yoho.cn_access
$InputFileSeverity info
$InputFileStateFile state_nginx_api.single.yoho.cn_access
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/nginx/api.single.yoho.cn_error.log
$InputFileTag nginx,api.single.yoho.cn_error
$InputFileSeverity info
$InputFileStateFile state_nginx_api.single.yoho.cn_error
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/nginx/api.yoho.cn_access.log
$InputFileTag nginx,api.yoho.cn_access
$InputFileSeverity info
$InputFileStateFile state_nginx_api.yoho.cn_access
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/nginx/api.yoho.cn_error.log
$InputFileTag nginx,api.yoho.cn_error
$InputFileSeverity info
$InputFileStateFile state_nginx_api.yoho.cn_error
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/nginx/mapi.yohobuy.com.access.log
$InputFileTag nginx,mapi.yohobuy.com.access
$InputFileSeverity info
$InputFileStateFile state_nginx_mapi.yohobuy.com.access
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/nginx/nginx_error.log
$InputFileTag nginx,nginx_error
$InputFileSeverity info
$InputFileStateFile state_nginx_nginx_error
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/nginx/pay.yohobuy.com_200.log
$InputFileTag nginx,pay.yohobuy.com_200
$InputFileSeverity info
$InputFileStateFile state_nginx_pay.yohobuy.com_200
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/nginx/pay.yohobuy.com_access.log
$InputFileTag nginx,pay.yohobuy.com_access
$InputFileSeverity info
$InputFileStateFile state_nginx_pay.yohobuy.com_access
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/nginx/pay.yohobuy.com_error.log
$InputFileTag nginx,pay.yohobuy.com_error
$InputFileSeverity info
$InputFileStateFile state_nginx_pay.yohobuy.com_error
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/nginx/service.yoho.cn_access.log
$InputFileTag nginx,service.yoho.cn_access
$InputFileSeverity info
$InputFileStateFile state_nginx_service.yoho.cn_access
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/nginx/service.yoho.cn_error.log
$InputFileTag nginx,service.yoho.cn_error
$InputFileSeverity info
$InputFileStateFile state_nginx_service.yoho.cn_error
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
... ...
##########################################################################
# This file is generated automatically, maintained by karl.zhou@yoho.cn
# Generated at 2017-02-08 11:43:24 +0800
# send to rsyslog server for order
# /etc/rsyslog.d/*.conf
# For order, total 42 files.
$InputFileName /Data/logs/order/add-payment-compute.log
$InputFileTag order,add-payment-compute
$InputFileSeverity info
$InputFileStateFile state_order_add-payment-compute
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/alipay-err.log
$InputFileTag order,alipay-err
$InputFileSeverity info
$InputFileStateFile state_order_alipay-err
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/alipay.log
$InputFileTag order,alipay
$InputFileSeverity info
$InputFileStateFile state_order_alipay
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/applepay-err.log
$InputFileTag order,applepay-err
$InputFileSeverity info
$InputFileStateFile state_order_applepay-err
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/applepay.log
$InputFileTag order,applepay
$InputFileSeverity info
$InputFileStateFile state_order_applepay
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/calc-log.log
$InputFileTag order,calc-log
$InputFileSeverity info
$InputFileStateFile state_order_calc-log
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/cart-query.log
$InputFileTag order,cart-query
$InputFileSeverity info
$InputFileStateFile state_order_cart-query
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/change-refund-handle.log
$InputFileTag order,change-refund-handle
$InputFileSeverity info
$InputFileStateFile state_order_change-refund-handle
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/collect-log.log
$InputFileTag order,collect-log
$InputFileSeverity info
$InputFileStateFile state_order_collect-log
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/consumer-clearcache.log
$InputFileTag order,consumer-clearcache
$InputFileSeverity info
$InputFileStateFile state_order_consumer-clearcache
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/crfpay-err.log
$InputFileTag order,crfpay-err
$InputFileSeverity info
$InputFileStateFile state_order_crfpay-err
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/crfpay.log
$InputFileTag order,crfpay
$InputFileSeverity info
$InputFileStateFile state_order_crfpay
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/offline-extern.log
$InputFileTag order,offline-extern
$InputFileSeverity info
$InputFileStateFile state_order_offline-extern
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/offline-shopcart.log
$InputFileTag order,offline-shopcart
$InputFileSeverity info
$InputFileStateFile state_order_offline-shopcart
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/offline-cashpay.log
$InputFileTag order,offline-cashpay
$InputFileSeverity info
$InputFileStateFile state_order_offline-cashpay
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/database-stat.log
$InputFileTag order,database-stat
$InputFileSeverity info
$InputFileStateFile state_order_database-stat
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/database-timeout.log
$InputFileTag order,database-timeout
$InputFileSeverity info
$InputFileStateFile state_order_database-timeout
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/debug-log.log
$InputFileTag order,debug-log
$InputFileSeverity info
$InputFileStateFile state_order_debug-log
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/external-call.log
$InputFileTag order,external-call
$InputFileSeverity info
$InputFileStateFile state_order_external-call
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/mq-consumer.log
$InputFileTag order,mq-consumer
$InputFileSeverity info
$InputFileStateFile state_order_mq-consumer
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/mq-producer.log
$InputFileTag order,mq-producer
$InputFileSeverity info
$InputFileStateFile state_order_mq-producer
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/order-audit.log
$InputFileTag order,order-audit
$InputFileSeverity info
$InputFileStateFile state_order_order-audit
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/order-close.log
$InputFileTag order,order-close
$InputFileSeverity info
$InputFileStateFile state_order_order-close
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/order-compensate.log
$InputFileTag order,order-compensate
$InputFileSeverity info
$InputFileStateFile state_order_order-compensate
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/order-event.log
$InputFileTag order,order-event
$InputFileSeverity info
$InputFileStateFile state_order_order-event
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/order-process-record.log
$InputFileTag order,order-process-record
$InputFileSeverity info
$InputFileStateFile state_order_order-process-record
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/order-split.log
$InputFileTag order,order-split
$InputFileSeverity info
$InputFileStateFile state_order_order-split
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/order-submit.log
$InputFileTag order,order-submit
$InputFileSeverity info
$InputFileStateFile state_order_order-submit
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/pay-confirm.log
$InputFileTag order,pay-confirm
$InputFileSeverity info
$InputFileStateFile state_order_pay-confirm
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/payment-bd.log
$InputFileTag order,payment-bd
$InputFileSeverity info
$InputFileStateFile state_order_payment-bd
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/pcpay-err.log
$InputFileTag order,pcpay-err
$InputFileSeverity info
$InputFileStateFile state_order_pcpay-err
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/pcpay.log
$InputFileTag order,pcpay
$InputFileSeverity info
$InputFileStateFile state_order_pcpay
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/qqwallet-err.log
$InputFileTag order,qqwallet-err
$InputFileSeverity info
$InputFileStateFile state_order_qqwallet-err
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/qqwallet.log
$InputFileTag order,qqwallet
$InputFileSeverity info
$InputFileStateFile state_order_qqwallet
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/request-stat.log
$InputFileTag order,request-stat
$InputFileSeverity info
$InputFileStateFile state_order_request-stat
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/request-timeout.log
$InputFileTag order,request-timeout
$InputFileSeverity info
$InputFileStateFile state_order_request-timeout
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/trace.log
$InputFileTag order,trace
$InputFileSeverity info
$InputFileStateFile state_order_trace
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/unionpay-err.log
$InputFileTag order,unionpay-err
$InputFileSeverity info
$InputFileStateFile state_order_unionpay-err
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/unionpay.log
$InputFileTag order,unionpay
$InputFileSeverity info
$InputFileStateFile state_order_unionpay
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/unionpaympos-err.log
$InputFileTag order,unionpaympos-err
$InputFileSeverity info
$InputFileStateFile state_order_unionpaympos-err
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/unionpaympos.log
$InputFileTag order,unionpaympos
$InputFileSeverity info
$InputFileStateFile state_order_unionpaympos
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/union-push.log
$InputFileTag order,union-push
$InputFileSeverity info
$InputFileStateFile state_order_union-push
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/warn-log.log
$InputFileTag order,warn-log
$InputFileSeverity info
$InputFileStateFile state_order_warn-log
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/wechatpay-err.log
$InputFileTag order,wechatpay-err
$InputFileSeverity info
$InputFileStateFile state_order_wechatpay-err
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/order/wechatpay.log
$InputFileTag order,wechatpay
$InputFileSeverity info
$InputFileStateFile state_order_wechatpay
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
##########################################################################
# This file is generated automatically, maintained by karl.zhou@yoho.cn
# Generated at 2017-02-08 12:16:00 +0800
# send to rsyslog server for promotion
# /etc/rsyslog.d/*.conf
# For promotion, total 14 files.
$InputFileName /Data/logs/promotion/acquire-coupons.log
$InputFileTag promotion,acquire-coupons
$InputFileSeverity info
$InputFileStateFile state_promotion_acquire-coupons
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/promotion/bs-error-coupons.log
$InputFileTag promotion,bs-error-coupons
$InputFileSeverity info
$InputFileStateFile state_promotion_bs-error-coupons
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/promotion/cache-statistic.log
$InputFileTag promotion,cache-statistic
$InputFileSeverity info
$InputFileStateFile state_promotion_cache-statistic
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/promotion/database-stat.log
$InputFileTag promotion,database-stat
$InputFileSeverity info
$InputFileStateFile state_promotion_database-stat
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/promotion/database-timeout.log
$InputFileTag promotion,database-timeout
$InputFileSeverity info
$InputFileStateFile state_promotion_database-timeout
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/promotion/debug-log.log
$InputFileTag promotion,debug-log
$InputFileSeverity info
$InputFileStateFile state_promotion_debug-log
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/promotion/info.log
$InputFileTag promotion,info
$InputFileSeverity info
$InputFileStateFile state_promotion_info
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/promotion/mq-consumer.log
$InputFileTag promotion,mq-consumer
$InputFileSeverity info
$InputFileStateFile state_promotion_mq-consumer
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/promotion/redis-timeout.log
$InputFileTag promotion,redis-timeout
$InputFileSeverity info
$InputFileStateFile state_promotion_redis-timeout
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/promotion/request-stat.log
$InputFileTag promotion,request-stat
$InputFileSeverity info
$InputFileStateFile state_promotion_request-stat
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/promotion/request-timeout.log
$InputFileTag promotion,request-timeout
$InputFileSeverity info
$InputFileStateFile state_promotion_request-timeout
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/promotion/trace.log
$InputFileTag promotion,trace
$InputFileSeverity info
$InputFileStateFile state_promotion_trace
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/promotion/use-coupons.log
$InputFileTag promotion,use-coupons
$InputFileSeverity info
$InputFileStateFile state_promotion_use-coupons
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
$InputFileName /Data/logs/promotion/warn-log.log
$InputFileTag promotion,warn-log
$InputFileSeverity info
$InputFileStateFile state_promotion_warn-log
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
\ No newline at end of file
... ...
# 日志集中化
基于 `rsyslog` 实现日志集中
\ No newline at end of file
解决方案:
- 1.基于 `rsyslog` 实现日志集中 (目前的实现)
- 2. `nxlog`, https://nxlog.co/
\ No newline at end of file
... ...