Sha256: 9a627ab7b83f08d071626de26b86d2293889262bb821e437629e6746c942ff70
Contents?: true
Size: 900 Bytes
Versions: 3
Compression:
Stored size: 900 Bytes
Contents
# Fluent::Plugin::Dbi Fluentd Output plugin using DBI DBI を使って PostgreSQL や MySQL へ INSERT とかを行う Fluentd の Output Plugin ## Installation Add this line to your application's Gemfile: gem 'fluent-plugin-dbi' And then execute: $ bundle Or install it yourself as: $ gem install fluent-plugin-dbi ## Usage <match dbi.*> type dbi #dsn DBI:Pg:dbname:dbhost dsn DBI:Mysql:dbname:dbhost db_user username db_pass password keys host,time_m,method,uri,protocol,status query insert into access_log (host, time, method, uri, protocol, status) values (?, ?, ?, ?, ?, ?) </match> ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fluent-plugin-dbi-0.0.3 | README.md |
fluent-plugin-dbi-0.0.2 | README.md |
fluent-plugin-dbi-0.0.1 | README.md |