Class: Aws::CloudWatchLogs::Types::DateTimeConverter
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchLogs::Types::DateTimeConverter
- Includes:
- Structure
- Defined in:
- 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 ‘source` field.
-
#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.
1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 1018 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.
1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 1018 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.
1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 1018 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.
1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 1018 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.
1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 1018 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.
1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 1018 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.
1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 1018 class DateTimeConverter < Struct.new( :source, :target, :target_format, :match_patterns, :source_timezone, :target_timezone, :locale) SENSITIVE = [] include Aws::Structure end |