Class: Aws::CloudWatchLogs::Types::CSV

Inherits:
Struct
  • Object
show all
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*.

[1]: docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch-Logs-Transformation.html#CloudWatch-Logs-Transformation-csv

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#columnsArray<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.

Returns:

  • (Array<String>)


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

#delimiterString

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.

Returns:

  • (String)


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_characterString

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.

Returns:

  • (String)


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

#sourceString

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.

Returns:

  • (String)


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