I need to install a gem into the ruby instance that logstash uses. Specifically, I need to install jdbc-sqlite3 to support database calls that can't be done as an input plugin.
I have tried doing it remote or local, without success.
bitnami@ip-172-31-64-199:/opt/bitnami/logstash$ sudo logstash-plugin install ~/jdbc-sqlite3-3.8.11.2.gem --no-verify
ERROR: Mixed source of plugins, you can't mix local .gem and remote gems
See: 'bin/logstash-plugin install --help'
bitnami@ip-172-31-64-199:/opt/bitnami/logstash$ sudo logstash-plugin install jdbc-sqlite3 --no-verify
Validating jdbc-sqlite3
jdbc-sqlite3 is not a Logstash plugin
ERROR: Installation aborted, verification failed for jdbc-sqlite3
I am pretty sure the logstash sqlite plugin would not do what I need. I am getting events through the input, splitting it into 50-100 separate events with a ruby filter, and then enriching the data with data from four different sqlite databases (in the same script). The logstash sqlite plugin only acts as an input filter, and wouldn't be able to handle that kind of use case, from my understanding.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.