class Amazonite::CloudWatchLogs::ParseCloudfront

Overview

This processor parses CloudFront vended logs, extract fields, and convert them into JSON format. Encoded field values are decoded. Values that are integers and doubles are treated as such. For more information about this processor including examples, see parseCloudfront

For more information about CloudFront log format, see Configure and use standard logs (access logs).

If you use this processor, it must be the first processor in your transformer.

Included Modules

Defined in:

cloudwatch_logs/parse_cloudfront.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(source : String | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def source : String | Nil #

Omit this parameter and the whole log message will be processed by this processor. No other value than @message is allowed for #source.


[View source]
def source=(source : String | Nil) #

Omit this parameter and the whole log message will be processed by this processor. No other value than @message is allowed for #source.


[View source]
def validate! : Nil #

[View source]