Class: Aws::CloudWatchLogs::Types::CSV
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchLogs::Types::CSV
- Includes:
- Structure
- Defined in:
- 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.
-
#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.
431 432 433 434 435 436 437 438 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 431 class CSV < Struct.new( :quote_character, :delimiter, :columns, :source) 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.
431 432 433 434 435 436 437 438 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 431 class CSV < Struct.new( :quote_character, :delimiter, :columns, :source) 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.
431 432 433 434 435 436 437 438 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 431 class CSV < Struct.new( :quote_character, :delimiter, :columns, :source) 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.
431 432 433 434 435 436 437 438 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 431 class CSV < Struct.new( :quote_character, :delimiter, :columns, :source) SENSITIVE = [] include Aws::Structure end |