AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
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.
Namespace: Amazon.CloudWatchLogs.Model
Assembly: AWSSDK.CloudWatchLogs.dll
Version: 3.x.y.z
public class CSV
The CSV type exposes the following members
Name | Description | |
---|---|---|
![]() |
CSV() |
Name | Type | Description | |
---|---|---|---|
![]() |
Columns | System.Collections.Generic.List<System.String> |
Gets and sets the property Columns. An array of names to use for the columns in the transformed log event.
If you omit this, default column names ( |
![]() |
Delimiter | System.String |
Gets and sets the property 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 |
![]() |
QuoteCharacter | System.String |
Gets and sets the property QuoteCharacter.
The character used used as a text qualifier for a single column of data. If you omit
this, the double quotation mark |
![]() |
Source | System.String |
Gets and sets the property 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. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5