Class: Aws::CloudWatchLogs::Types::ParseWAF

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudwatchlogs/types.rb

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.

[1]: docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch-Logs-Transformation.html#CloudWatch-Logs-Transformation-parsePostGres [2]: docs.aws.amazon.com/waf/latest/developerguide/logging-examples.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#sourceString

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

Returns:

  • (String)


4664
4665
4666
4667
4668
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 4664

class ParseWAF < Struct.new(
  :source)
  SENSITIVE = []
  include Aws::Structure
end