Class: Aws::CloudWatchLogs::Types::ParsePostgres

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

Overview

Use this processor to parse RDS for PostgreSQL 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 [ parsePostGres].

For more information about RDS for PostgreSQL log format, see [ RDS for PostgreSQL database log filesTCP flag sequence].

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/AmazonRDS/latest/UserGuide/USER_LogAccess.Concepts.PostgreSQL.html#USER_LogAccess.Concepts.PostgreSQL.Log_Format.log-line-prefix

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)


4577
4578
4579
4580
4581
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 4577

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