interface ParsePostgresProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Logs.CfnTransformer.ParsePostgresProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awslogs#CfnTransformer_ParsePostgresProperty |
![]() | software.amazon.awscdk.services.logs.CfnTransformer.ParsePostgresProperty |
![]() | aws_cdk.aws_logs.CfnTransformer.ParsePostgresProperty |
![]() | aws-cdk-lib » aws_logs » CfnTransformer » 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-lib';
const parsePostgresProperty: logs.CfnTransformer.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
.