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.
This processor uses pattern matching to parse and structure unstructured data. This processor can also extract fields from log messages.
For more information about this processor including examples, see grok in the CloudWatch Logs User Guide.
Namespace: Amazon.CloudWatchLogs.Model
Assembly: AWSSDK.CloudWatchLogs.dll
Version: 3.x.y.z
public class Grok
The Grok type exposes the following members
Name | Description | |
---|---|---|
Grok() |
Name | Type | Description | |
---|---|---|---|
Match | System.String |
Gets and sets the property Match. The grok pattern to match against the log event. For a list of supported grok patterns, see Supported grok patterns. |
|
Source | System.String |
Gets and sets the property Source. The path to the field in the log event that you want to parse. If you omit this value, the whole log message is parsed. |
.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