天天看點

使用logstash出現報錯com.mysql.jdbc.Driver not loaded. Are you sure you've included the correct jdbc driver in :jdbc_driver_library

是因為需要使用到插件logstash-input-jdbc,

因該插件是ruby開發的,需要先在電腦中安裝ruby環境,然後安裝RubyGems插件

進入logstash-input-jdbc目錄下,指令行執行gem build logstash-input-jdbc.gemspec,

繼續閱讀