Interface CfnTransformer.ParseToOCSFProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTransformer.ParseToOCSFProperty.Jsii$Proxy
- Enclosing class:
CfnTransformer
@Stability(Stable)
public static interface CfnTransformer.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 parseToOSCF 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.services.logs.*; ParseToOCSFProperty parseToOCSFProperty = ParseToOCSFProperty.builder() .eventSource("eventSource") .ocsfVersion("ocsfVersion") // the properties below are optional .source("source") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTransformer.ParseToOCSFProperty
static final class
An implementation forCfnTransformer.ParseToOCSFProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Specify the service or process that produces the log events that will be converted with this processor.Specify which version of the OCSF schema to use for the transformed log events.default String
The 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:
-
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
-