/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