AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
This 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.
Namespace: Amazon.CloudWatchLogs.Model
Assembly: AWSSDK.CloudWatchLogs.dll
Version: 3.x.y.z
public class DateTimeConverter
The DateTimeConverter type exposes the following members
Name | Description | |
---|---|---|
![]() |
DateTimeConverter() |
Name | Type | Description | |
---|---|---|---|
![]() |
Locale | System.String |
Gets and sets the property Locale.
The locale of the source field. If you omit this, the default of |
![]() |
MatchPatterns | System.Collections.Generic.List<System.String> |
Gets and sets the property MatchPatterns.
A list of patterns to match against the |
![]() |
Source | System.String |
Gets and sets the property Source. The key to apply the date conversion to. |
![]() |
SourceTimezone | System.String |
Gets and sets the property SourceTimezone. The time zone of the source field. If you omit this, the default used is the UTC zone. |
![]() |
Target | System.String |
Gets and sets the property Target. The JSON field to store the result in. |
![]() |
TargetFormat | System.String |
Gets and sets the property TargetFormat. The datetime format to use for the converted data in the target field.
If you omit this, the default of |
![]() |
TargetTimezone | System.String |
Gets and sets the property TargetTimezone. The time zone of the target field. If you omit this, the default used is the UTC zone. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5