You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Glue::Types::CreateGrokClassifierRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateGrokClassifierRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  classification: "Classification", # required
  name: "NameString", # required
  grok_pattern: "GrokPattern", # required
  custom_patterns: "CustomPatterns",
}

Specifies a grok classifier for CreateClassifier to create.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#classificationString

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

Returns:

  • (String)

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

#custom_patternsString

Optional custom grok patterns used by this classifier.

Returns:

  • (String)

    Optional custom grok patterns used by this classifier.

#grok_patternString

The grok pattern used by this classifier.

Returns:

  • (String)

    The grok pattern used by this classifier.

#nameString

The name of the new classifier.

Returns:

  • (String)

    The name of the new classifier.