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

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

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>)


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

#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)


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

#destinationString

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.

Returns:

  • (String)


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_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)


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

#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)


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