AWS::Glue::Classifier GrokClassifier
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