Values.ParseToOCSFSourceThis 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.
type nonrec t = {source : Source.t option;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.
*)eventSource : EventSource.t;Specify the service or process that produces the log events that will be converted with this processor.
*)ocsfVersion : OCSFVersion.t;Specify which version of the OCSF schema to use for the transformed log events.
*)mappingVersion : MappingVersion.t option;The version of the OCSF mapping to use for parsing log data.
*)}val make :
?source:??? ->
?mappingVersion:??? ->
eventSource:EventSource.t ->
ocsfVersion:OCSFVersion.t ->
unit ->
t