class Amazonite::CloudWatchLogs::ParsePostgres

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.

Included Modules

Defined in:

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