interface GrokClassifierProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Glue.CfnClassifier.GrokClassifierProperty |
Java | software.amazon.awscdk.services.glue.CfnClassifier.GrokClassifierProperty |
Python | aws_cdk.aws_glue.CfnClassifier.GrokClassifierProperty |
TypeScript | @aws-cdk/aws-glue » CfnClassifier » GrokClassifierProperty |
A classifier that uses grok
patterns.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as glue from '@aws-cdk/aws-glue';
const grokClassifierProperty: glue.CfnClassifier.GrokClassifierProperty = {
classification: 'classification',
grokPattern: 'grokPattern',
// the properties below are optional
customPatterns: 'customPatterns',
name: 'name',
};
Properties
Name | Type | Description |
---|---|---|
classification | string | An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, and so on. |
grok | string | The grok pattern applied to a data store by this classifier. |
custom | string | Optional custom grok patterns defined by this classifier. |
name? | string | The name of the classifier. |
classification
Type:
string
An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, and so on.
grokPattern
Type:
string
The grok pattern applied to a data store by this classifier.
For more information, see built-in patterns in Writing Custom Classifiers .
customPatterns?
Type:
string
(optional)
Optional custom grok patterns defined by this classifier.
For more information, see custom patterns in Writing Custom Classifiers .
name?
Type:
string
(optional)
The name of the classifier.