Values.DateTimeConverterSourceThis processor converts a datetime string into a format that you specify. For more information about this processor including examples, see datetimeConverter in the CloudWatch Logs User Guide.
type nonrec t = {source : Source.t;The key to apply the date conversion to.
*)target : Target.t;The JSON field to store the result in.
*)targetFormat : TargetFormat.t option;The datetime format to use for the converted data in the target field. If you omit this, the default of yyyy-MM-dd'T'HH:mm:ss.SSS'Z is used.
*)matchPatterns : MatchPatterns.t;A list of patterns to match against the source field.
*)sourceTimezone : SourceTimezone.t option;The time zone of the source field. If you omit this, the default used is the UTC zone.
*)targetTimezone : TargetTimezone.t option;The time zone of the target field. If you omit this, the default used is the UTC zone.
*)locale : Locale.t option;The locale of the source field. If you omit this, the default of locale.ROOT is used.
*)}val make :
?targetFormat:??? ->
?sourceTimezone:??? ->
?targetTimezone:??? ->
?locale:??? ->
source:Source.t ->
target:Target.t ->
matchPatterns:MatchPatterns.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `List of [> `String of MatchPattern.t ] list
| `String of Source.t ])
list ]