Class CfnClassifier.GrokClassifierProperty
A classifier that uses grok
patterns.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Glue
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class GrokClassifierProperty : Object, CfnClassifier.IGrokClassifierProperty
Syntax (vb)
Public Class GrokClassifierProperty
Inherits Object
Implements CfnClassifier.IGrokClassifierProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Glue;
var grokClassifierProperty = new GrokClassifierProperty {
Classification = "classification",
GrokPattern = "grokPattern",
// the properties below are optional
CustomPatterns = "customPatterns",
Name = "name"
};
Synopsis
Constructors
GrokClassifierProperty() |
Properties
Classification | An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, and so on. |
CustomPatterns | Optional custom grok patterns defined by this classifier. |
GrokPattern | The grok pattern applied to a data store by this classifier. |
Name | The name of the classifier. |
Constructors
GrokClassifierProperty()
public GrokClassifierProperty()
Properties
Classification
An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, and so on.
public string Classification { get; set; }
Property Value
System.String
Remarks
CustomPatterns
Optional custom grok patterns defined by this classifier.
public string CustomPatterns { get; set; }
Property Value
System.String
Remarks
For more information, see custom patterns in Writing Custom Classifiers .
GrokPattern
The grok pattern applied to a data store by this classifier.
public string GrokPattern { get; set; }
Property Value
System.String
Remarks
For more information, see built-in patterns in Writing Custom Classifiers .
Name
The name of the classifier.
public string Name { get; set; }
Property Value
System.String