interface ParseWAFProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Logs.CfnTransformer.ParseWAFProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awslogs#CfnTransformer_ParseWAFProperty |
![]() | software.amazon.awscdk.services.logs.CfnTransformer.ParseWAFProperty |
![]() | aws_cdk.aws_logs.CfnTransformer.ParseWAFProperty |
![]() | aws-cdk-lib » aws_logs » CfnTransformer » ParseWAFProperty |
Use this processor to parse AWS WAF 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 parseWAF .
For more information about AWS WAF log format, see Log examples for web ACL traffic .
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 parseWAFProperty: logs.CfnTransformer.ParseWAFProperty = {
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
.