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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb

Overview

Note:

When making an API call, you may pass CreateGrokClassifierRequest data as a hash:

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

Specifies a Grok classifier for CreateClassifier to create.

Instance Attribute Summary collapse

Instance Attribute Details

#classificationString

The type of result that the classifier matches, such as Twitter Json, Omniture logs, Cloudwatch logs, and so forth.

Returns:

  • (String)


1244
1245
1246
1247
1248
1249
1250
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1244

class CreateGrokClassifierRequest < Struct.new(
  :classification,
  :name,
  :grok_pattern,
  :custom_patterns)
  include Aws::Structure
end

#custom_patternsString

Custom grok patterns used by this classifier.

Returns:

  • (String)


1244
1245
1246
1247
1248
1249
1250
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1244

class CreateGrokClassifierRequest < Struct.new(
  :classification,
  :name,
  :grok_pattern,
  :custom_patterns)
  include Aws::Structure
end

#grok_patternString

The grok pattern used by this classifier.

Returns:

  • (String)


1244
1245
1246
1247
1248
1249
1250
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1244

class CreateGrokClassifierRequest < Struct.new(
  :classification,
  :name,
  :grok_pattern,
  :custom_patterns)
  include Aws::Structure
end

#nameString

The name of the new Classifier.

Returns:

  • (String)


1244
1245
1246
1247
1248
1249
1250
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1244

class CreateGrokClassifierRequest < Struct.new(
  :classification,
  :name,
  :grok_pattern,
  :custom_patterns)
  include Aws::Structure
end