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



443
444
445
# File 'lib/fluent/plugin/in_s3.rb', line 443

def content_type
  'application/json'.freeze
end

#extObject



439
440
441
# File 'lib/fluent/plugin/in_s3.rb', line 439

def ext
  'json'.freeze
end