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.

Supported pipeline types: logs

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



44
45
46
# File 'lib/datadog_api_client/v2/models/observability_pipeline_parse_json_processor.rb', line 44

def additional_properties
  @additional_properties
end

#display_nameObject

The display name for a component.



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

def display_name
  @display_name
end

#enabledObject

Indicates whether the processor is enabled.



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

def enabled
  @enabled
end

#fieldObject

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



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

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).



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

def id
  @id
end

#includeObject

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



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

def include
  @include
end

#typeObject

The processor type. The value should always be parse_json.



42
43
44
# File 'lib/datadog_api_client/v2/models/observability_pipeline_parse_json_processor.rb', line 42

def type
  @type
end