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.



37
38
39
# File 'lib/datadog_api_client/v2/models/observability_pipeline_parse_grok_processor_rule.rb', line 37

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.



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

def match_rules
  @match_rules
end

#sourceObject

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



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

def source
  @source
end

#support_rulesObject

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



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

def support_rules
  @support_rules
end