fluent plugin 5rocks插件安装与配置
fluent-plugin-5rocks 输出插件将数据插入到数据库中。安装时,需要将以下行添加到应用程序的 Gemfile 中:
gem 'fluent-plugin-5rocks'
然后执行:
$ bundle
或者可以手动安装:
$ gem install fluent-plugin-5rocks
配置示例:
<match>
type 5rocks
app_id xxxx
app_key XXXXX
match>
<field>
type custom
name test_from_plugin
category cat_1
p1 test_p_1
p2 test_p_2
user_id test_user
uv1 $(fld_s)
uv2 $(fld_)
field>
下载地址
用户评论