You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm trying to export data I collected from a PostgreSQL to an InfluxDB database, as I want to use Grafana, but Grafana doesn't (yet) support PostgreSQL. For this I'm trying to put a logstash between the PostgreSQL and the InfluxDB, using as logstash input the JDBC plugin (works fine 👍), and the logstash output plugin for InfluxDB.
As the influxdb plugin doesn't support InfluxDB 0.9.x servers (yet 😄), I replaced all the official InfluxDB plugin files in /opt/logstash/vendor/bundle/jruby/1.9/gems with the ones from your repository/fork contentfree/logstash-output-influxdb.
Alas, it still doesn't work. When trying to flush the data (sending it to InfluxDB), I get the following error:
Hello,
I'm trying to export data I collected from a PostgreSQL to an InfluxDB database, as I want to use Grafana, but Grafana doesn't (yet) support PostgreSQL. For this I'm trying to put a logstash between the PostgreSQL and the InfluxDB, using as logstash input the JDBC plugin (works fine 👍), and the logstash output plugin for InfluxDB.
As the influxdb plugin doesn't support InfluxDB 0.9.x servers (yet 😄), I replaced all the official InfluxDB plugin files in
/opt/logstash/vendor/bundle/jruby/1.9/gems
with the ones from your repository/forkcontentfree/logstash-output-influxdb
.Alas, it still doesn't work. When trying to flush the data (sending it to InfluxDB), I get the following error:
I'm not a Ruby user, so I don't exactly understand the problem. It says
exception=>"NoMethodError"
around the line:Do I need a particular version of Ruby? I'm on an Ubuntu Server (Trusty), with Ruby 1.9.3.4.
If that can help understanding the problem is my logstash output block conf file:
Thanks for your help
The text was updated successfully, but these errors were encountered: