AWS::Logs::Transformer Csv - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::Logs::Transformer Csv

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.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Columns" : [ String, ... ], "Delimiter" : String, "QuoteCharacter" : String, "Source" : String }

YAML

Columns: - String Delimiter: String QuoteCharacter: String Source: String

Properties

Columns

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.

Required: No

Type: Array of String

Minimum: 1

Maximum: 100

Update requires: No interruption

Delimiter

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.

Required: No

Type: String

Maximum: 2

Update requires: No interruption

QuoteCharacter

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.

Required: No

Type: String

Maximum: 1

Update requires: No interruption

Source

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.

Required: No

Type: String

Minimum: 1

Maximum: 128

Update requires: No interruption