Class: DatadogAPIClient::V2::ObservabilityPipelineParseJSONProcessor

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

Overview

The parse_json processor extracts JSON from a specified field and flattens it into the event. This is useful when logs contain embedded JSON as a string.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



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

def additional_properties
  @additional_properties
end

#fieldObject

The name of the log field that contains a JSON string.



25
26
27
# File 'lib/datadog_api_client/v2/models/observability_pipeline_parse_json_processor.rb', line 25

def field
  @field
end

#idObject

A unique identifier for this component. Used to reference this component in other parts of the pipeline (e.g., as input to downstream components).



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

def id
  @id
end

#includeObject

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



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

def include
  @include
end

#inputsObject

A list of component IDs whose output is used as the input for this component.



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

def inputs
  @inputs
end

#typeObject

The processor type. The value should always be parse_json.



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

def type
  @type
end