Class: DatadogAPIClient::V2::ObservabilityPipelineParseGrokProcessorRuleMatchRule

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/observability_pipeline_parse_grok_processor_rule_match_rule.rb

Overview

Defines a Grok parsing rule, which extracts structured fields from log content using named Grok patterns. Each rule must have a unique name and a valid Datadog Grok pattern that will be applied to the source field.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



31
32
33
# File 'lib/datadog_api_client/v2/models/observability_pipeline_parse_grok_processor_rule_match_rule.rb', line 31

def additional_properties
  @additional_properties
end

#nameObject

The name of the rule.



26
27
28
# File 'lib/datadog_api_client/v2/models/observability_pipeline_parse_grok_processor_rule_match_rule.rb', line 26

def name
  @name
end

#ruleObject

The definition of the Grok rule.



29
30
31
# File 'lib/datadog_api_client/v2/models/observability_pipeline_parse_grok_processor_rule_match_rule.rb', line 29

def rule
  @rule
end