a1.sources = r1
a1.sinks = k1
a1.channels = c1 # Describe/configure the source
a1.sources.r1.type = netcat
a1.sources.r1.bind = localhost
a1.sources.r1.port = 44444
a1.sources.r1.interceptors = i1 i2 i3 i4
a1.sources.r1.interceptors.i4.type = timestamp
a1.sources.r1.interceptors.i2.type = host
a1.sources.r1.interceptors.i3.type = static
a1.sources.r1.interceptors.i3.key = datacenter
a1.sources.r1.interceptors.i3.value = NEW_YORK
a1.sources.r1.interceptors.i1.type=regex_extractor
a1.sources.r1.interceptors.i1.regex = (\\d):(\\d):(\\d)
a1.sources.r1.interceptors.i1.serializers = s1 s2 s3
a1.sources.r1.interceptors.i1.serializers.s1.name = one
a1.sources.r1.interceptors.i1.serializers.s2.name = two
a1.sources.r1.interceptors.i1.serializers.s3.name = three # Describe the sink
a1.sinks.k1.type = logger # Use a channel which buffers events in memory
a1.channels.c1.type = memory
a1.channels.c1.capacity = 1000
a1.channels.c1.transactionCapacity = 100 # Bind the source and sink to the channel
a1.sources.r1.channels = c1
a1.sinks.k1.channel = c1

最新文章

  1. 即时搜索(input框)
  2. UIPickerView滚轮选择器视图
  3. PAT 1023. 组个最小数 (20)
  4. GMU 简单使用一
  5. mormot json操作
  6. C#获取HTML文件指定DIV内容
  7. sql总结
  8. iOS 10 的一些资料整理
  9. 集合框架学习之排序Comparable&Comoarator
  10. 三种方式得到LayoutInflater
  11. 代码实现IMapcontrol当前视图输出为图片功能
  12. lua调用C语言
  13. 【struts2】ActionContext与ServletActionContext
  14. 【朝花夕拾】四大组件之(二)Service篇
  15. layer.photos()异步修改图片地址后显示异常
  16. openstack--1--基础环境搭建
  17. java的并发和多线程
  18. RocketMQ专题1:入门
  19. docker容器网络通信原理分析
  20. iPhone How-to:如何调整UIView的Z-Order

热门文章

  1. python 关键词
  2. smartsvn学习(三) Error validating server certificate for
  3. go--互斥锁
  4. GestureDetector 完全解析
  5. 2016.6.21 将Eclipse中项目部署到tomcat下
  6. 转: https 加密通信流程
  7. windows中静态库lib和动态dll的区别及使用方法
  8. mysql 远程登陆不上
  9. MAC - 命令行中用sublime打开指定文件,使用ln命令建立软链接
  10. jquery方法