Sha256: 8bcc8c1233746899b0f1a412dadb36cca2565d249ef5193e9ae2d29e4ad60ed2
Contents?: true
Size: 1.11 KB
Versions: 3
Compression:
Stored size: 1.11 KB
Contents
class Fluentd module Setting class OutS3 include Fluentd::Setting::Plugin register_plugin("output", "s3") def self.initial_params { s3_region: "us-west-1", buffer_type: "file", buffer: { "0" => { "type" => "file", "path" => "/var/log/td-agent/buffer/s3", } }, format_type: "out_file", format: { "0" => { "type" => "out_file" } } } end def common_options [ :label, :pattern, :s3_region, :s3_bucket, :use_ssl, :path, ] end def hidden_options [ :secondary, :inject, :buffer, :format, ] + aws_credential_options + aws_credential_sections end def aws_credential_options [ :aws_key_id, :aws_sec_key, ] end def aws_credential_sections [ :assume_role_credentials, :instance_profile_credentials, :shared_credentials ] end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fluentd-ui-1.2.1 | app/models/fluentd/setting/out_s3.rb |
fluentd-ui-1.2.0 | app/models/fluentd/setting/out_s3.rb |
fluentd-ui-1.1.0 | app/models/fluentd/setting/out_s3.rb |