Skip to content
v2.278.0

ParsePostgresProperty ​

Struct External

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.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_logs as logs } from 'aws-cdk-lib';
const parsePostgresProperty: logs.CfnTransformer.ParsePostgresProperty = {
  source: 'source',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_logs as logs

parse_postgres_property = logs.CfnTransformer.ParsePostgresProperty(
    source="source"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.logs.*;

ParsePostgresProperty parsePostgresProperty = ParsePostgresProperty.builder()
        .source("source")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Logs;

var parsePostgresProperty = new ParsePostgresProperty {
    Source = "source"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

parsePostgresProperty := &ParsePostgresProperty{
	Source: jsii.String("source"),
}

Properties ​

sourceoptionalstringsourceoptionalstrsourceoptionalStringSourceoptionalstringSourceoptional*string #
Omit this parameter and the whole log message will be processed by this processor.

No other value than @message is allowed for source .