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



652
653
654
# File 'lib/fluent/plugin/out_s3.rb', line 652

def content_type
  'application/json'.freeze
end

#extObject



648
649
650
# File 'lib/fluent/plugin/out_s3.rb', line 648

def ext
  'json'.freeze
end