class Amazonite::CloudWatchLogs::ParseVPC

Overview

Use this processor to parse Amazon VPC vended logs, extract fields, and and convert them into a JSON format. This processor always processes the entire log event message.

This processor doesn't support custom log formats, such as NAT gateway logs. For more information about custom log formats in Amazon VPC, see parseVPC For more information about this processor including examples, see parseVPC.

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

Included Modules

Defined in:

cloudwatch_logs/parse_vpc.cr

Constructors

Instance Method Summary

Constructor Detail

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

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

[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]