Class: Fluent::Plugin::S3Output::JsonCompressor

Inherits:
TextCompressor show all
Defined in:
lib/fluent/plugin/out_s3.rb

Instance Attribute Summary

Attributes inherited from Compressor

#buffer_type, #log

Instance Method Summary collapse

Methods inherited from TextCompressor

#compress

Methods inherited from Compressor

#compress, #configure, #initialize

Constructor Details

This class inherits a constructor from Fluent::Plugin::S3Output::Compressor

Instance Method Details

#content_typeObject



624
625
626
# File 'lib/fluent/plugin/out_s3.rb', line 624

def content_type
  'application/json'.freeze
end

#extObject



620
621
622
# File 'lib/fluent/plugin/out_s3.rb', line 620

def ext
  'json'.freeze
end