Git Product home page Git Product logo

Comments (3)

anuragensemble avatar anuragensemble commented on June 14, 2024

The version of pg gem was incorrect.

from fluent-plugin-sql.

Oleg2tor avatar Oleg2tor commented on June 14, 2024

@anuragensemble
So which one is correct? Have same issue.

pg v0.21.0 not working:

2018-07-11 15:18:25 +0000 [info]: starting fluentd-1.2.2 pid=6 ruby="2.4.4"

2018-07-11 15:18:25 +0000 [info]: spawn command to main: cmdline=["/usr/bin/ruby", "-Eascii-8bit:ascii-8bit", "/usr/bin/fluentd", "-c", "/fluentd/etc/fluent.conf", "-p", "/fluentd/plugins", "--under-supervisor"]

2018-07-11 15:18:26 +0000 [info]: gem 'fluent-plugin-sql' version '1.0.0'

2018-07-11 15:18:26 +0000 [info]: gem 'fluentd' version '1.2.2'

2018-07-11 15:18:26 +0000 [info]: adding match pattern="nginx.access.log" type="sql"

2018-07-11 15:18:26 +0000 [info]: #0 'flush_interval' is configured at out side of . 'flush_mode' is set to 'interval' to keep existing behaviour

2018-07-11 15:18:26 +0000 [warn]: #0 'type' is deprecated parameter name. use '@type' instead.

2018-07-11 15:18:26 +0000 [info]: adding source type="tail"

2018-07-11 15:18:26 +0000 [info]: #0 starting fluentd worker pid=16 ppid=6 worker=0

2018-07-11 15:18:26 +0000 [error]: #0 unexpected error error_class=LoadError error="Could not load 'active_record/connection_adapters/postgresql_adapter'. Make sure that the adapter in config/database.yml is valid. If you use an adapter other than 'mysql', 'mysql2', 'postgresql' or 'sqlite3' add the necessary adapter gem to the Gemfile."

from fluent-plugin-sql.

Oleg2tor avatar Oleg2tor commented on June 14, 2024

Found solution here #47

from fluent-plugin-sql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.