Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

AWS::Glue::Classifier GrokClassifier

Focus mode
AWS::Glue::Classifier GrokClassifier - AWS CloudFormation
Filter View

A classifier that uses grok patterns.

Syntax

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

JSON

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

YAML

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

Properties

Classification

An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, and so on.

Required: Yes

Type: String

Update requires: No interruption

CustomPatterns

Optional custom grok patterns defined by this classifier. For more information, see custom patterns in Writing Custom Classifiers.

Required: No

Type: String

Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Minimum: 0

Maximum: 16000

Update requires: No interruption

GrokPattern

The grok pattern applied to a data store by this classifier. For more information, see built-in patterns in Writing Custom Classifiers.

Required: Yes

Type: String

Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\t]*

Minimum: 1

Maximum: 2048

Update requires: No interruption

Name

The name of the classifier.

Required: No

Type: String

Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*

Minimum: 1

Maximum: 255

Update requires: No interruption

On this page

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.