下载tar.gz安装包直接解压即安装(自动拆箱很傻瓜下载即安装),或者在Mac下输入
brew install logstash
---
直接在logstash的安装目录bin下运行 ./logstash-plugin install logstash-input-jdbc
在bin目录下,logstash -f ../config/mysql.conf
表示指定配置文件为mysql.conf启动。
原文:https://www.cnblogs.com/hellosiyu/p/12464568.html