Class: Fluent::Plugin::S3Input::JsonExtractor

Inherits:
TextExtractor show all
Defined in:
lib/fluent/plugin/in_s3.rb

Instance Attribute Summary

Attributes inherited from Extractor

#log

Instance Method Summary collapse

Methods inherited from TextExtractor

#extract

Methods inherited from Extractor

#configure, #extract, #initialize

Constructor Details

This class inherits a constructor from Fluent::Plugin::S3Input::Extractor

Instance Method Details

#content_typeObject



313
314
315
# File 'lib/fluent/plugin/in_s3.rb', line 313

def content_type
  'application/json'.freeze
end

#extObject



309
310
311
# File 'lib/fluent/plugin/in_s3.rb', line 309

def ext
  'json'.freeze
end