Skip to content

CreateGrokClassifierRequest

Source code in docs_src/capo_glue/types/create_grok_classifier_request.py
class CreateGrokClassifierRequest(TypedDict, closed=True):
    classification: "capo_glue.types.classification.Classification"
    """<p>An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, Amazon CloudWatch Logs, and so on.</p>"""
    name: "capo_glue.types.name_string.NameString"
    """<p>The name of the new classifier.</p>"""
    grok_pattern: "capo_glue.types.grok_pattern.GrokPattern"
    """<p>The grok pattern used by this classifier.</p>"""
    custom_patterns: NotRequired["capo_glue.types.custom_patterns.CustomPatterns"]
    """<p>Optional custom grok patterns used by this classifier.</p>"""

classification instance-attribute

classification: Classification

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

custom_patterns instance-attribute

custom_patterns: NotRequired[CustomPatterns]

Optional custom grok patterns used by this classifier.

grok_pattern instance-attribute

grok_pattern: GrokPattern

The grok pattern used by this classifier.

name instance-attribute

name: NameString

The name of the new classifier.