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



401
402
403
# File 'lib/fluent/plugin/in_s3.rb', line 401

def content_type
  'application/json'.freeze
end

#extObject



397
398
399
# File 'lib/fluent/plugin/in_s3.rb', line 397

def ext
  'json'.freeze
end