Class: DatadogAPIClient::V2::ObservabilityPipelineParseGrokProcessorIncludeRule

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

Overview

A Grok parsing rule selected using the include query. Each rule defines how to extract structured fields from logs matching a Datadog search query.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



39
40
41
# File 'lib/datadog_api_client/v2/models/observability_pipeline_parse_grok_processor_include_rule.rb', line 39

def additional_properties
  @additional_properties
end

#include ⇒ Object

A Datadog search query used to determine which logs this Grok rule targets.



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

def include
  @include
end

#match_rules ⇒ Object

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



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

def match_rules
  @match_rules
end

#name ⇒ Object

Optional name identifying this include-based Grok rule in worker diagnostics. Names must be unique within the processor.



34
35
36
# File 'lib/datadog_api_client/v2/models/observability_pipeline_parse_grok_processor_include_rule.rb', line 34

def name
  @name
end

#support_rules ⇒ Object

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



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

def support_rules
  @support_rules
end