Class: Aws::CloudWatchLogs::Types::CSV
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchLogs::Types::CSV
- Defined in:
- gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb
Overview
The CSV processor parses comma-separated values (CSV) from the log
events into columns.
For more information about this processor including examples, see csv in the CloudWatch Logs User Guide.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#columns ⇒ Array<String>
An array of names to use for the columns in the transformed log event.
-
#delimiter ⇒ String
The character used to separate each column in the original comma-separated value log event.
-
#destination ⇒ String
The path to the parent field to put transformed key value pairs under.
-
#quote_character ⇒ String
The character used used as a text qualifier for a single column of data.
-
#source ⇒ String
The path to the field in the log event that has the comma separated values to be parsed.
Instance Attribute Details
#columns ⇒ Array<String>
An array of names to use for the columns in the transformed log event.
If you omit this, default column names ([column_1, column_2 ...])
are used.
494 495 496 497 498 499 500 501 502 |
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 494 class CSV < Struct.new( :quote_character, :delimiter, :columns, :source, :destination) SENSITIVE = [] include Aws::Structure end |
#delimiter ⇒ String
The character used to separate each column in the original
comma-separated value log event. If you omit this, the processor
looks for the comma , character as the delimiter.
494 495 496 497 498 499 500 501 502 |
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 494 class CSV < Struct.new( :quote_character, :delimiter, :columns, :source, :destination) SENSITIVE = [] include Aws::Structure end |
#destination ⇒ String
The path to the parent field to put transformed key value pairs under. If you omit this value, the key value pairs will be placed under the root node.
494 495 496 497 498 499 500 501 502 |
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 494 class CSV < Struct.new( :quote_character, :delimiter, :columns, :source, :destination) SENSITIVE = [] include Aws::Structure end |
#quote_character ⇒ String
The character used used as a text qualifier for a single column of
data. If you omit this, the double quotation mark " character is
used.
494 495 496 497 498 499 500 501 502 |
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 494 class CSV < Struct.new( :quote_character, :delimiter, :columns, :source, :destination) SENSITIVE = [] include Aws::Structure end |
#source ⇒ String
The path to the field in the log event that has the comma separated values to be parsed. If you omit this value, the whole log message is processed.
494 495 496 497 498 499 500 501 502 |
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 494 class CSV < Struct.new( :quote_character, :delimiter, :columns, :source, :destination) SENSITIVE = [] include Aws::Structure end |