Show / Hide Table of Contents

Interface CfnTransformerPropsMixin.IGrokProperty

This processor uses pattern matching to parse and structure unstructured data.

Namespace: Amazon.CDK.Mixins.Preview.AWS.Logs.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnTransformerPropsMixin.IGrokProperty
Syntax (vb)
Public Interface CfnTransformerPropsMixin.IGrokProperty
Remarks

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-logs-transformer-grok.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.Mixins.Preview.AWS.Logs.Mixins;

             var grokProperty = new GrokProperty {
                 Match = "match",
                 Source = "source"
             };

Synopsis

Properties

Match

The grok pattern to match against the log event.

Source

The path to the field in the log event that you want to parse.

Properties

Match

The grok pattern to match against the log event.

string? Match { get; }
Property Value

string

Remarks

For a list of supported grok patterns, see Supported grok patterns .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-logs-transformer-grok.html#cfn-logs-transformer-grok-match

Source

The path to the field in the log event that you want to parse.

string? Source { get; }
Property Value

string

Remarks

If you omit this value, the whole log message is parsed.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-logs-transformer-grok.html#cfn-logs-transformer-grok-source

Back to top Generated by DocFX