Logstash实现同步多张数据表

2019-10-22T03:58:00

/usr/local/logstash-6.4.3/config/目录中找到logstash.yml文件进行编辑
在文件后面添加2张表

##pipeline.id标识
- pipeline.id: table1
##path.config路径
  path.config: "/usr/local/sql/mysql.conf"
  
- pipeline.id: table2
  path.config: "/usr/local/sql/mysql_1.conf"

启动logstash

./bin/logstash
当前页面是本站的「Baidu MIP」版。发表评论请点击:完整版 »