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.”

GrokClassifier

Focus mode
GrokClassifier - AWS Glue

A classifier that uses grok patterns.

Contents

Classification

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

Type: String

Required: Yes

GrokPattern

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

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2048.

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

Required: Yes

Name

The name of the classifier.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

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

Required: Yes

CreationTime

The time that this classifier was registered.

Type: Timestamp

Required: No

CustomPatterns

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

Type: String

Length Constraints: Minimum length of 0. Maximum length of 16000.

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

Required: No

LastUpdated

The time that this classifier was last updated.

Type: Timestamp

Required: No

Version

The version of this classifier.

Type: Long

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page

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