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,7 @@

/** The <code>add_env_vars</code> processor adds environment variable values to log events. */
@JsonPropertyOrder({
ObservabilityPipelineAddEnvVarsProcessor.JSON_PROPERTY_ENABLED,
ObservabilityPipelineAddEnvVarsProcessor.JSON_PROPERTY_ID,
ObservabilityPipelineAddEnvVarsProcessor.JSON_PROPERTY_INCLUDE,
ObservabilityPipelineAddEnvVarsProcessor.JSON_PROPERTY_INPUTS,
Expand All @@ -31,6 +32,9 @@
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineAddEnvVarsProcessor {
@JsonIgnore public boolean unparsed = false;
public static final String JSON_PROPERTY_ENABLED = "enabled";
private Boolean enabled;

public static final String JSON_PROPERTY_ID = "id";
private String id;

Expand Down Expand Up @@ -66,6 +70,28 @@ public ObservabilityPipelineAddEnvVarsProcessor(
this.variables = variables;
}

public ObservabilityPipelineAddEnvVarsProcessor enabled(Boolean enabled) {
this.enabled = enabled;
return this;
}

/**
* The processor passes through all events if it is set to <code>false</code>. Defaults to <code>
* true</code>.
*
* @return enabled
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ENABLED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getEnabled() {
return enabled;
}

public void setEnabled(Boolean enabled) {
this.enabled = enabled;
}

public ObservabilityPipelineAddEnvVarsProcessor id(String id) {
this.id = id;
return this;
Expand Down Expand Up @@ -244,7 +270,8 @@ public boolean equals(Object o) {
}
ObservabilityPipelineAddEnvVarsProcessor observabilityPipelineAddEnvVarsProcessor =
(ObservabilityPipelineAddEnvVarsProcessor) o;
return Objects.equals(this.id, observabilityPipelineAddEnvVarsProcessor.id)
return Objects.equals(this.enabled, observabilityPipelineAddEnvVarsProcessor.enabled)
&& Objects.equals(this.id, observabilityPipelineAddEnvVarsProcessor.id)
&& Objects.equals(this.include, observabilityPipelineAddEnvVarsProcessor.include)
&& Objects.equals(this.inputs, observabilityPipelineAddEnvVarsProcessor.inputs)
&& Objects.equals(this.type, observabilityPipelineAddEnvVarsProcessor.type)
Expand All @@ -256,13 +283,14 @@ public boolean equals(Object o) {

@Override
public int hashCode() {
return Objects.hash(id, include, inputs, type, variables, additionalProperties);
return Objects.hash(enabled, id, include, inputs, type, variables, additionalProperties);
}

@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ObservabilityPipelineAddEnvVarsProcessor {\n");
sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" include: ").append(toIndentedString(include)).append("\n");
sb.append(" inputs: ").append(toIndentedString(inputs)).append("\n");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

/** The <code>add_fields</code> processor adds static key-value fields to logs. */
@JsonPropertyOrder({
ObservabilityPipelineAddFieldsProcessor.JSON_PROPERTY_ENABLED,
ObservabilityPipelineAddFieldsProcessor.JSON_PROPERTY_FIELDS,
ObservabilityPipelineAddFieldsProcessor.JSON_PROPERTY_ID,
ObservabilityPipelineAddFieldsProcessor.JSON_PROPERTY_INCLUDE,
Expand All @@ -31,6 +32,9 @@
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineAddFieldsProcessor {
@JsonIgnore public boolean unparsed = false;
public static final String JSON_PROPERTY_ENABLED = "enabled";
private Boolean enabled;

public static final String JSON_PROPERTY_FIELDS = "fields";
private List<ObservabilityPipelineFieldValue> fields = new ArrayList<>();

Expand Down Expand Up @@ -66,6 +70,28 @@ public ObservabilityPipelineAddFieldsProcessor(
this.unparsed |= !type.isValid();
}

public ObservabilityPipelineAddFieldsProcessor enabled(Boolean enabled) {
this.enabled = enabled;
return this;
}

/**
* The processor passes through all events if it is set to <code>false</code>. Defaults to <code>
* true</code>.
*
* @return enabled
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ENABLED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getEnabled() {
return enabled;
}

public void setEnabled(Boolean enabled) {
this.enabled = enabled;
}

public ObservabilityPipelineAddFieldsProcessor fields(
List<ObservabilityPipelineFieldValue> fields) {
this.fields = fields;
Expand Down Expand Up @@ -246,7 +272,8 @@ public boolean equals(Object o) {
}
ObservabilityPipelineAddFieldsProcessor observabilityPipelineAddFieldsProcessor =
(ObservabilityPipelineAddFieldsProcessor) o;
return Objects.equals(this.fields, observabilityPipelineAddFieldsProcessor.fields)
return Objects.equals(this.enabled, observabilityPipelineAddFieldsProcessor.enabled)
&& Objects.equals(this.fields, observabilityPipelineAddFieldsProcessor.fields)
&& Objects.equals(this.id, observabilityPipelineAddFieldsProcessor.id)
&& Objects.equals(this.include, observabilityPipelineAddFieldsProcessor.include)
&& Objects.equals(this.inputs, observabilityPipelineAddFieldsProcessor.inputs)
Expand All @@ -258,13 +285,14 @@ public boolean equals(Object o) {

@Override
public int hashCode() {
return Objects.hash(fields, id, include, inputs, type, additionalProperties);
return Objects.hash(enabled, fields, id, include, inputs, type, additionalProperties);
}

@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ObservabilityPipelineAddFieldsProcessor {\n");
sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n");
sb.append(" fields: ").append(toIndentedString(fields)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" include: ").append(toIndentedString(include)).append("\n");
Expand Down
Loading
Loading