Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

AWS Glue Classifier GrokClassifier

The GrokClassifier property type specifies an AWS Glue classifier that uses grok.

GrokClassifier is a property of the AWS::Glue::Classifier resource.

Syntax

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

JSON

{ "CustomPatterns" : String, "GrokPattern" : String, "Classification" : String, "Name" : String }

YAML

CustomPatterns: String GrokPattern: String Classification: String Name: String

Properties

For more information, see GrokClassifier Structure in the AWS Glue Developer Guide.

CustomPatterns

Custom grok patterns that are used by this classifier. It must match the URI address multi-line string pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Required: No

Type: String

Update requires: No interruption

GrokPattern

The grok pattern that's used by this classifier. It must match the Logstash grok string pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\t]*

Required: Yes

Type: String

Update requires: No interruption

Classification

The data form that the classifier matches—such as Twitter, JSON, or Omniture logs.

Required: Yes

Type: String

Update requires: No interruption

Name

The name of the classifier. It must match the single-line string pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*

Required: No

Type: String

Update requires: Replacement

On this page: