LogTransformerTransformerConfigDateTimeConverter constructor
const
LogTransformerTransformerConfigDateTimeConverter({})
Creates a new LogTransformerTransformerConfigDateTimeConverter.
locale Specifies the locale of the source field. Defaults to locale.ROOT.
matchPatterns Specifies the list of patterns to match against the source field.
source Specifies the key to apply the date conversion to.
sourceTimezone Specifies the time zone of the source field. Defaults to UTC.
target Specifies the JSON field to store the result in.
targetFormat Specifies the datetime format to use for the converted data in the target field. Defaults to yyyy-MM-dd'T'HH:mm:ss.SSS'Z.
targetTimezone Specifies the time zone of the target field. Defaults to UTC.
Implementation
const LogTransformerTransformerConfigDateTimeConverter({
this.locale,
required this.matchPatterns,
required this.source,
this.sourceTimezone,
required this.target,
this.targetFormat,
this.targetTimezone,
});