frsyuki/fluent-plugin-sql — pull request #5 by repeatedly (2014-02-12 02:27:01+00:00)
Title: Add out_sql plugin

I implemented `out_sql` to insert events to RDBMS.
Configuration is similar to `in_sql`.

```conf

type sql
host 127.0.0.1
port 3306
database fluentd
adapter mysql2

# Optional. event which has sql.project.xxx tag is stored into this table

table projects
# json keys to table columns. name to foo, age to bar.
key_names name,age
column_names foo,bar

# Default table. It is required.

table users
column_names name,age # key_names is not needed if key_names and column_names are same.

```

Currently, this is a prototype. Any feedbacks are welcome.