class Amazonite::CloudWatchLogs::ParseWAF

Overview

Use this processor to parse WAF vended logs, extract fields, and and convert them into a JSON format. This processor always processes the entire log event message. For more information about this processor including examples, see parseWAF.

For more information about WAF log format, see Log examples for web ACL traffic.

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

Included Modules

Defined in:

cloudwatch_logs/parse_waf.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]