Interface CfnTransformerPropsMixin.ParseToOCSFProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTransformerPropsMixin.ParseToOCSFProperty.Jsii$Proxy
- Enclosing class:
CfnTransformerPropsMixin
@Stability(Stable)
public static interface CfnTransformerPropsMixin.ParseToOCSFProperty
extends software.amazon.jsii.JsiiSerializable
This processor converts logs into Open Cybersecurity Schema Framework (OCSF) events.
For more information about this processor including examples, see parseToOCSF in the CloudWatch Logs User Guide .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.logs.*;
ParseToOCSFProperty parseToOCSFProperty = ParseToOCSFProperty.builder()
.eventSource("eventSource")
.mappingVersion("mappingVersion")
.ocsfVersion("ocsfVersion")
.source("source")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTransformerPropsMixin.ParseToOCSFPropertystatic final classAn implementation forCfnTransformerPropsMixin.ParseToOCSFProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringSpecify the service or process that produces the log events that will be converted with this processor.default StringThe version of the OCSF mapping to use for parsing log data.default StringSpecify which version of the OCSF schema to use for the transformed log events.default StringThe path to the field in the log event that you want to parse.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEventSource
Specify the service or process that produces the log events that will be converted with this processor.- See Also:
-
getMappingVersion
The version of the OCSF mapping to use for parsing log data.- See Also:
-
getOcsfVersion
Specify which version of the OCSF schema to use for the transformed log events.- See Also:
-
getSource
The path to the field in the log event that you want to parse.If you omit this value, the whole log message is parsed.
- See Also:
-
builder
-