Class: Aws::CloudWatchLogs::Types::DateTimeConverter
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchLogs::Types::DateTimeConverter
- Defined in:
- gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb
Overview
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.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#locale ⇒ String
The locale of the source field.
-
#match_patterns ⇒ Array<String>
A list of patterns to match against the
sourcefield. -
#source ⇒ String
The key to apply the date conversion to.
-
#source_timezone ⇒ String
The time zone of the source field.
-
#target ⇒ String
The JSON field to store the result in.
-
#target_format ⇒ String
The datetime format to use for the converted data in the target field.
-
#target_timezone ⇒ String
The time zone of the target field.
Instance Attribute Details
#locale ⇒ String
The locale of the source field. If you omit this, the default of
locale.ROOT is used.
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 |
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1247 class DateTimeConverter < Struct.new( :source, :target, :target_format, :match_patterns, :source_timezone, :target_timezone, :locale) SENSITIVE = [] include Aws::Structure end |
#match_patterns ⇒ Array<String>
A list of patterns to match against the source field.
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 |
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1247 class DateTimeConverter < Struct.new( :source, :target, :target_format, :match_patterns, :source_timezone, :target_timezone, :locale) SENSITIVE = [] include Aws::Structure end |
#source ⇒ String
The key to apply the date conversion to.
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 |
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1247 class DateTimeConverter < Struct.new( :source, :target, :target_format, :match_patterns, :source_timezone, :target_timezone, :locale) SENSITIVE = [] include Aws::Structure end |
#source_timezone ⇒ String
The time zone of the source field. If you omit this, the default used is the UTC zone.
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 |
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1247 class DateTimeConverter < Struct.new( :source, :target, :target_format, :match_patterns, :source_timezone, :target_timezone, :locale) SENSITIVE = [] include Aws::Structure end |
#target ⇒ String
The JSON field to store the result in.
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 |
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1247 class DateTimeConverter < Struct.new( :source, :target, :target_format, :match_patterns, :source_timezone, :target_timezone, :locale) SENSITIVE = [] include Aws::Structure end |
#target_format ⇒ String
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.
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 |
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1247 class DateTimeConverter < Struct.new( :source, :target, :target_format, :match_patterns, :source_timezone, :target_timezone, :locale) SENSITIVE = [] include Aws::Structure end |
#target_timezone ⇒ String
The time zone of the target field. If you omit this, the default used is the UTC zone.
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 |
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1247 class DateTimeConverter < Struct.new( :source, :target, :target_format, :match_patterns, :source_timezone, :target_timezone, :locale) SENSITIVE = [] include Aws::Structure end |