Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 72 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28208,6 +28208,10 @@ components:
description: The `add_env_vars` processor adds environment variable values to
log events.
properties:
enabled:
description: The processor passes through all events if it is set to `false`.
Defaults to `true`.
type: boolean
id:
description: The unique identifier for this component. Used to reference
this processor in the pipeline.
Expand Down Expand Up @@ -28267,6 +28271,10 @@ components:
ObservabilityPipelineAddFieldsProcessor:
description: The `add_fields` processor adds static key-value fields to logs.
properties:
enabled:
description: The processor passes through all events if it is set to `false`.
Defaults to `true`.
type: boolean
fields:
description: A list of static fields (key-value pairs) that is added to
each log event processed by this component.
Expand Down Expand Up @@ -28768,6 +28776,10 @@ components:
Remap Language (VRL)](https://vector.dev/docs/reference/vrl/) scripts with
advanced filtering capabilities.
properties:
enabled:
description: The processor passes through all events if it is set to `false`.
Defaults to `true`.
type: boolean
id:
description: The unique identifier for this processor.
example: remap-vrl-processor
Expand Down Expand Up @@ -28940,6 +28952,10 @@ components:
properties:
action:
$ref: '#/components/schemas/ObservabilityPipelineDatadogTagsProcessorAction'
enabled:
description: The processor passes through all events if it is set to `false`.
Defaults to `true`.
type: boolean
id:
description: The unique identifier for this component. Used to reference
this component in other parts of the pipeline (for example, as the `input`
Expand Down Expand Up @@ -29025,6 +29041,10 @@ components:
ObservabilityPipelineDedupeProcessor:
description: The `dedupe` processor removes duplicate fields in log events.
properties:
enabled:
description: The processor passes through all events if it is set to `false`.
Defaults to `true`.
type: boolean
fields:
description: A list of log field paths to check for duplicates.
example:
Expand Down Expand Up @@ -29266,6 +29286,10 @@ components:
description: The `enrichment_table` processor enriches logs using a static CSV
file or GeoIP database.
properties:
enabled:
description: The processor passes through all events if it is set to `false`.
Defaults to `true`.
type: boolean
file:
$ref: '#/components/schemas/ObservabilityPipelineEnrichmentTableFile'
geoip:
Expand Down Expand Up @@ -29329,6 +29353,10 @@ components:
on a Datadog search query. Logs that match the `include` query are passed
through; others are discarded.
properties:
enabled:
description: The processor passes through all events if it is set to `false`.
Defaults to `true`.
type: boolean
id:
description: The unique identifier for this component. Used to reference
this component in other parts of the pipeline (for example, as the `input`
Expand Down Expand Up @@ -29439,6 +29467,10 @@ components:

'
properties:
enabled:
description: The processor passes through all events if it is set to `false`.
Defaults to `true`.
type: boolean
id:
description: The unique identifier for this component. Used to reference
this component in other parts of the pipeline.
Expand Down Expand Up @@ -30015,6 +30047,10 @@ components:
description: The `ocsf_mapper` processor transforms logs into the OCSF schema
using a predefined mapping configuration.
properties:
enabled:
description: The processor passes through all events if it is set to `false`.
Defaults to `true`.
type: boolean
id:
description: The unique identifier for this component. Used to reference
this component in other parts of the pipeline.
Expand Down Expand Up @@ -30149,6 +30185,10 @@ components:
by Datadog.
example: true
type: boolean
enabled:
description: The processor passes through all events if it is set to `false`.
Defaults to `true`.
type: boolean
id:
description: A unique identifier for this processor.
example: parse-grok-processor
Expand Down Expand Up @@ -30273,6 +30313,10 @@ components:
and flattens it into the event. This is useful when logs contain embedded
JSON as a string.
properties:
enabled:
description: The processor passes through all events if it is set to `false`.
Defaults to `true`.
type: boolean
field:
description: The name of the log field that contains a JSON string.
example: message
Expand Down Expand Up @@ -30336,6 +30380,10 @@ components:
the filter query continue through the pipeline.
example: false
type: boolean
enabled:
description: The processor passes through all events if it is set to `false`.
Defaults to `true`.
type: boolean
id:
description: The unique identifier for this component. Used to reference
this component in other parts of the pipeline (for example, as the `input`
Expand Down Expand Up @@ -30468,6 +30516,10 @@ components:
description: The `reduce` processor aggregates and merges logs based on matching
keys and merge strategies.
properties:
enabled:
description: The processor passes through all events if it is set to `false`.
Defaults to `true`.
type: boolean
group_by:
description: A list of fields used to group log events for merging.
example:
Expand Down Expand Up @@ -30564,6 +30616,10 @@ components:
ObservabilityPipelineRemoveFieldsProcessor:
description: The `remove_fields` processor deletes specified fields from logs.
properties:
enabled:
description: The processor passes through all events if it is set to `false`.
Defaults to `true`.
type: boolean
fields:
description: A list of field names to be removed from each log event.
example:
Expand Down Expand Up @@ -30611,6 +30667,10 @@ components:
ObservabilityPipelineRenameFieldsProcessor:
description: The `rename_fields` processor changes field names.
properties:
enabled:
description: The processor passes through all events if it is set to `false`.
Defaults to `true`.
type: boolean
fields:
description: A list of rename rules specifying which fields to rename in
the event, what to rename them to, and whether to preserve the original
Expand Down Expand Up @@ -30750,6 +30810,10 @@ components:
description: The `sample` processor allows probabilistic sampling of logs at
a fixed rate.
properties:
enabled:
description: The processor passes through all events if it is set to `false`.
Defaults to `true`.
type: boolean
id:
description: The unique identifier for this component. Used to reference
this component in other parts of the pipeline (for example, as the `input`
Expand Down Expand Up @@ -30801,6 +30865,10 @@ components:
description: The `sensitive_data_scanner` processor detects and optionally redacts
sensitive data in log events.
properties:
enabled:
description: The processor passes through all events if it is set to `false`.
Defaults to `true`.
type: boolean
id:
description: The unique identifier for this component. Used to reference
this component in other parts of the pipeline (e.g., as input to downstream
Expand Down Expand Up @@ -31806,6 +31874,10 @@ components:
description: The `throttle` processor limits the number of events that pass
through over a given time window.
properties:
enabled:
description: The processor passes through all events if it is set to `false`.
Defaults to `true`.
type: boolean
group_by:
description: Optional list of fields used to group events before the threshold
has been reached.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ module DatadogAPIClient::V2
class ObservabilityPipelineAddEnvVarsProcessor
include BaseGenericModel

# The processor passes through all events if it is set to `false`. Defaults to `true`.
attr_accessor :enabled

# The unique identifier for this component. Used to reference this processor in the pipeline.
attr_reader :id

Expand All @@ -42,6 +45,7 @@ class ObservabilityPipelineAddEnvVarsProcessor
# @!visibility private
def self.attribute_map
{
:'enabled' => :'enabled',
:'id' => :'id',
:'include' => :'include',
:'inputs' => :'inputs',
Expand All @@ -54,6 +58,7 @@ def self.attribute_map
# @!visibility private
def self.openapi_types
{
:'enabled' => :'Boolean',
:'id' => :'String',
:'include' => :'String',
:'inputs' => :'Array<String>',
Expand All @@ -80,6 +85,10 @@ def initialize(attributes = {})
end
}

if attributes.key?(:'enabled')
self.enabled = attributes[:'enabled']
end

if attributes.key?(:'id')
self.id = attributes[:'id']
end
Expand Down Expand Up @@ -193,6 +202,7 @@ def to_hash
def ==(o)
return true if self.equal?(o)
self.class == o.class &&
enabled == o.enabled &&
id == o.id &&
include == o.include &&
inputs == o.inputs &&
Expand All @@ -205,7 +215,7 @@ def ==(o)
# @return [Integer] Hash code
# @!visibility private
def hash
[id, include, inputs, type, variables, additional_properties].hash
[enabled, id, include, inputs, type, variables, additional_properties].hash
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ module DatadogAPIClient::V2
class ObservabilityPipelineAddFieldsProcessor
include BaseGenericModel

# The processor passes through all events if it is set to `false`. Defaults to `true`.
attr_accessor :enabled

# A list of static fields (key-value pairs) that is added to each log event processed by this component.
attr_reader :fields

Expand All @@ -42,6 +45,7 @@ class ObservabilityPipelineAddFieldsProcessor
# @!visibility private
def self.attribute_map
{
:'enabled' => :'enabled',
:'fields' => :'fields',
:'id' => :'id',
:'include' => :'include',
Expand All @@ -54,6 +58,7 @@ def self.attribute_map
# @!visibility private
def self.openapi_types
{
:'enabled' => :'Boolean',
:'fields' => :'Array<ObservabilityPipelineFieldValue>',
:'id' => :'String',
:'include' => :'String',
Expand All @@ -80,6 +85,10 @@ def initialize(attributes = {})
end
}

if attributes.key?(:'enabled')
self.enabled = attributes[:'enabled']
end

if attributes.key?(:'fields')
if (value = attributes[:'fields']).is_a?(Array)
self.fields = value
Expand Down Expand Up @@ -193,6 +202,7 @@ def to_hash
def ==(o)
return true if self.equal?(o)
self.class == o.class &&
enabled == o.enabled &&
fields == o.fields &&
id == o.id &&
include == o.include &&
Expand All @@ -205,7 +215,7 @@ def ==(o)
# @return [Integer] Hash code
# @!visibility private
def hash
[fields, id, include, inputs, type, additional_properties].hash
[enabled, fields, id, include, inputs, type, additional_properties].hash
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ module DatadogAPIClient::V2
class ObservabilityPipelineCustomProcessor
include BaseGenericModel

# The processor passes through all events if it is set to `false`. Defaults to `true`.
attr_accessor :enabled

# The unique identifier for this processor.
attr_reader :id

Expand All @@ -42,6 +45,7 @@ class ObservabilityPipelineCustomProcessor
# @!visibility private
def self.attribute_map
{
:'enabled' => :'enabled',
:'id' => :'id',
:'include' => :'include',
:'inputs' => :'inputs',
Expand All @@ -54,6 +58,7 @@ def self.attribute_map
# @!visibility private
def self.openapi_types
{
:'enabled' => :'Boolean',
:'id' => :'String',
:'include' => :'String',
:'inputs' => :'Array<String>',
Expand All @@ -80,6 +85,10 @@ def initialize(attributes = {})
end
}

if attributes.key?(:'enabled')
self.enabled = attributes[:'enabled']
end

if attributes.key?(:'id')
self.id = attributes[:'id']
end
Expand Down Expand Up @@ -197,6 +206,7 @@ def to_hash
def ==(o)
return true if self.equal?(o)
self.class == o.class &&
enabled == o.enabled &&
id == o.id &&
include == o.include &&
inputs == o.inputs &&
Expand All @@ -209,7 +219,7 @@ def ==(o)
# @return [Integer] Hash code
# @!visibility private
def hash
[id, include, inputs, remaps, type, additional_properties].hash
[enabled, id, include, inputs, remaps, type, additional_properties].hash
end
end
end
Loading
Loading