interface ParsePostgresProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Logs.CfnTransformerPropsMixin.ParsePostgresProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslogs#CfnTransformerPropsMixin_ParsePostgresProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.logs.CfnTransformerPropsMixin.ParsePostgresProperty |
Python | aws_cdk.cfn_property_mixins.aws_logs.CfnTransformerPropsMixin.ParsePostgresProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_logs » CfnTransformerPropsMixin » ParsePostgresProperty |
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
// 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/cfn-property-mixins';
const parsePostgresProperty: logs.CfnTransformerPropsMixin.ParsePostgresProperty = {
source: 'source',
};
Properties
| Name | Type | Description |
|---|---|---|
| source? | string | Omit this parameter and the whole log message will be processed by this processor. |
source?
Type:
string
(optional)
Omit this parameter and the whole log message will be processed by this processor.
No other value than @message is allowed for source .

.NET
Go
Java
Python
TypeScript