Comments (3)
The version of pg gem was incorrect.
from fluent-plugin-sql.
@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.
Found solution here #47
from fluent-plugin-sql.
Related Issues (20)
- How to Encrypt HOT 1
- Plugin 'sql' does not support multi workers configuration (Fluent::Plugin::SQLOutput)
- Support for Composite Primary Key
- Hostname is being changed
- Record ID written to state file as string HOT 1
- How to Map a json inside a json to column HOT 1
- Extract column field values instead of column_mapping HOT 1
- SQL Login failed. The login is from an untrusted domain and cannot be used with Integrated authentication.
- Conflict/Duplicate handling
- Plugin not working for snowflake but works for mysql
- Azure MS SQL Server - USE statement is not supported to switch between databases HOT 1
- Missing Copyright and License HOT 6
- Not able to run ruby script in windows
- ยท
- Records are dumped without retry when PostgreSQL temporarily shuts down during insertion HOT 1
- How do i put timestamp in a different timezone?
- The time difference hours has disappeared with `TIMESTAMP WITHOUT TIME ZONE`
- Casting issue for output configuration
- FluentD keeps crashing when state_file is set HOT 2
- Writing custom select queries
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluent-plugin-sql.