Class: DatadogAPIClient::V2::ObservabilityPipelineParseGrokProcessorRule

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

Overview

A Grok parsing rule used in the parse_grok processor. Each rule defines how to extract structured fields from a specific log field using Grok patterns.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



35
36
37
# File 'lib/datadog_api_client/v2/models/observability_pipeline_parse_grok_processor_rule.rb', line 35

def additional_properties
  @additional_properties
end

#match_rulesObject

A list of Grok parsing rules that define how to extract fields from the source field. Each rule must contain a name and a valid Grok pattern.



27
28
29
# File 'lib/datadog_api_client/v2/models/observability_pipeline_parse_grok_processor_rule.rb', line 27

def match_rules
  @match_rules
end

#sourceObject

The name of the field in the log event to apply the Grok rules to.



30
31
32
# File 'lib/datadog_api_client/v2/models/observability_pipeline_parse_grok_processor_rule.rb', line 30

def source
  @source
end

#support_rulesObject

A list of Grok helper rules that can be referenced by the parsing rules.



33
34
35
# File 'lib/datadog_api_client/v2/models/observability_pipeline_parse_grok_processor_rule.rb', line 33

def support_rules
  @support_rules
end