in_s3: allow duplicate keys in JSON parser
The json gem emits a deprecation warning for duplicate keys in JSON objects and will raise
JSON::ParserErrorin json 3.0 unlessallow_duplicate_key: trueis specified.The plugin has historically accepted duplicate keys silently (last value wins). To preserve this behavior uniformly regardless of the json gem version, this passes
allow_duplicate_key: truetoJSON.parse.Signed-off-by: Shizuo Fujita fujita@clear-code.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
Amazon S3 plugin for Fluentd
Overview
s3 output plugin buffers event logs in local file and upload it to S3 periodically.
This plugin splits files exactly by using the time of event logs (not the time when the logs are received). For example, a log ‘2011-01-02 message B’ is reached, and then another log ‘2011-01-03 message B’ is reached in this order, the former one is stored in “20110102.gz” file, and latter one in “20110103.gz” file.
s3 input plugin reads data from S3 periodically. This plugin uses SQS queue on the region same as S3 bucket. We must setup SQS queue and S3 event notification before use this plugin.
Requirements
Installation
Simply use RubyGems:
Configuration: credentials
Both S3 input/output plugin provide several credential methods for authentication/authorization.
See Configuration: credentials about details.
Output Plugin
See Configuration: Output about details.
Input Plugin
See Configuration: Input about details.
Tips and How to
Migration guide
See Migration guide from v0.12 about details.
Website, license, et. al.