From 1aa1ea51af66a97a7deda022809ee0ae7c5be820 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 12 Dec 2025 12:15:15 +0000 Subject: [PATCH] Regenerate client from commit 13630ea of spec repo --- .generator/schemas/v2/openapi.yaml | 340 +++++++++--------- .../frozen.json | 2 +- .../recording.har | 16 +- .../frozen.json | 2 +- .../recording.har | 24 +- .../frozen.json | 2 +- .../recording.har | 4 +- .../frozen.json | 2 +- .../recording.har | 32 +- .../frozen.json | 2 +- .../recording.har | 38 +- .../frozen.json | 2 +- .../recording.har | 4 +- .../frozen.json | 2 +- .../recording.har | 36 +- .../frozen.json | 2 +- .../recording.har | 42 +-- .../frozen.json | 2 +- .../recording.har | 10 +- .../frozen.json | 2 +- .../recording.har | 42 +-- .../frozen.json | 2 +- .../recording.har | 10 +- .../frozen.json | 2 +- .../recording.har | 16 +- .../observability-pipelines/CreatePipeline.ts | 14 +- .../observability-pipelines/UpdatePipeline.ts | 14 +- .../ValidatePipeline.ts | 14 +- features/v2/given.json | 2 +- features/v2/observability_pipelines.feature | 18 +- packages/datadog-api-client-v2/index.ts | 1 + .../models/ObjectSerializer.ts | 3 + ...bservabilityPipelineAddEnvVarsProcessor.ts | 18 +- ...ObservabilityPipelineAddFieldsProcessor.ts | 18 +- .../models/ObservabilityPipelineConfig.ts | 8 +- ...servabilityPipelineConfigProcessorGroup.ts | 90 +++++ .../ObservabilityPipelineCustomProcessor.ts | 18 +- ...servabilityPipelineCustomProcessorRemap.ts | 3 +- ...servabilityPipelineDatadogTagsProcessor.ts | 18 +- .../ObservabilityPipelineDedupeProcessor.ts | 18 +- ...abilityPipelineEnrichmentTableProcessor.ts | 18 +- .../ObservabilityPipelineFilterProcessor.ts | 18 +- ...abilityPipelineGenerateMetricsProcessor.ts | 24 +- ...bservabilityPipelineOcsfMapperProcessor.ts | 18 +- ...ObservabilityPipelineParseGrokProcessor.ts | 18 +- ...ObservabilityPipelineParseJSONProcessor.ts | 18 +- .../ObservabilityPipelineQuotaProcessor.ts | 19 +- .../ObservabilityPipelineReduceProcessor.ts | 18 +- ...ervabilityPipelineRemoveFieldsProcessor.ts | 18 +- ...ervabilityPipelineRenameFieldsProcessor.ts | 18 +- .../ObservabilityPipelineSampleProcessor.ts | 18 +- ...tyPipelineSensitiveDataScannerProcessor.ts | 18 +- .../ObservabilityPipelineThrottleProcessor.ts | 18 +- 53 files changed, 626 insertions(+), 510 deletions(-) create mode 100644 packages/datadog-api-client-v2/models/ObservabilityPipelineConfigProcessorGroup.ts diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 82b87c5b71cd..411f9de1471c 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -34832,6 +34832,10 @@ components: description: The `add_env_vars` processor adds environment variable values to log events. properties: + enabled: + description: Whether this processor is enabled. + example: true + type: boolean id: description: The unique identifier for this component. Used to reference this processor in the pipeline. @@ -34842,14 +34846,6 @@ components: targets. example: service:my-service type: string - inputs: - description: A list of component IDs whose output is used as the input for - this processor. - example: - - datadog-agent-source - items: - type: string - type: array type: $ref: '#/components/schemas/ObservabilityPipelineAddEnvVarsProcessorType' variables: @@ -34861,8 +34857,8 @@ components: - id - type - include - - inputs - variables + - enabled type: object ObservabilityPipelineAddEnvVarsProcessorType: default: add_env_vars @@ -34891,6 +34887,10 @@ components: ObservabilityPipelineAddFieldsProcessor: description: The `add_fields` processor adds static key-value fields to logs. properties: + enabled: + description: Whether this processor is enabled. + example: true + type: boolean fields: description: A list of static fields (key-value pairs) that is added to each log event processed by this component. @@ -34908,14 +34908,6 @@ components: targets. example: service:my-service type: string - inputs: - description: A list of component IDs whose output is used as the `input` - for this component. - example: - - datadog-agent-source - items: - type: string - type: array type: $ref: '#/components/schemas/ObservabilityPipelineAddFieldsProcessorType' required: @@ -34923,7 +34915,7 @@ components: - type - include - fields - - inputs + - enabled type: object ObservabilityPipelineAddFieldsProcessorType: default: add_fields @@ -35226,15 +35218,25 @@ components: $ref: '#/components/schemas/ObservabilityPipelineConfigDestinationItem' type: array processors: - description: A list of processors that transform or enrich log data. + description: A list of processor groups that transform or enrich log data. example: - - id: filter-processor + - enabled: true + id: my-processor-group include: service:my-service inputs: - datadog-agent-source - type: filter + processors: + - enabled: true + id: filter-processor + include: status:error + type: filter + - enabled: true + field: message + id: json-processor + include: '*' + type: parse_json items: - $ref: '#/components/schemas/ObservabilityPipelineConfigProcessorItem' + $ref: '#/components/schemas/ObservabilityPipelineConfigProcessorGroup' type: array sources: description: A list of configured data sources for the pipeline. @@ -35270,6 +35272,73 @@ components: - $ref: '#/components/schemas/ObservabilityPipelineAmazonSecurityLakeDestination' - $ref: '#/components/schemas/ObservabilityPipelineCrowdStrikeNextGenSiemDestination' - $ref: '#/components/schemas/ObservabilityPipelineGooglePubSubDestination' + ObservabilityPipelineConfigProcessorGroup: + description: A group of processors. + example: + enabled: true + id: my-processor-group + include: service:my-service + inputs: + - datadog-agent-source + processors: + - enabled: true + fields: + - name: env + value: prod + id: add-fields-processor + include: '*' + type: add_fields + - enabled: true + id: filter-processor + include: status:error + type: filter + properties: + enabled: + description: Whether this processor group is enabled. + example: true + type: boolean + id: + description: The unique identifier for the processor group. + example: grouped-processors + type: string + include: + description: Conditional expression for when this processor group should + execute. + example: service:my-service + type: string + inputs: + description: A list of IDs for components whose output is used as the input + for this processor group. + example: + - datadog-agent-source + items: + type: string + type: array + processors: + description: Processors applied sequentially within this group. Events flow + through each processor in order. + example: + - enabled: true + fields: + - name: env + value: prod + id: add-fields-processor + include: '*' + type: add_fields + - enabled: true + id: filter-processor + include: status:error + type: filter + items: + $ref: '#/components/schemas/ObservabilityPipelineConfigProcessorItem' + type: array + required: + - id + - include + - inputs + - processors + - enabled + type: object ObservabilityPipelineConfigProcessorItem: description: A processor for the pipeline. oneOf: @@ -35387,6 +35456,10 @@ components: Remap Language (VRL)](https://vector.dev/docs/reference/vrl/) scripts with advanced filtering capabilities. properties: + enabled: + description: Whether this processor is enabled. + example: true + type: boolean id: description: The unique identifier for this processor. example: remap-vrl-processor @@ -35398,14 +35471,6 @@ components: processor. example: '*' type: string - inputs: - description: A list of component IDs whose output is used as the input for - this processor. - example: - - datadog-agent-source - items: - type: string - type: array remaps: description: Array of VRL remap rules. items: @@ -35419,7 +35484,7 @@ components: - type - include - remaps - - inputs + - enabled type: object ObservabilityPipelineCustomProcessorRemap: description: Defines a single VRL remap rule with its own filtering and transformation @@ -35450,7 +35515,6 @@ components: - include - name - source - - enabled - drop_on_error type: object ObservabilityPipelineCustomProcessorType: @@ -35559,6 +35623,10 @@ components: properties: action: $ref: '#/components/schemas/ObservabilityPipelineDatadogTagsProcessorAction' + enabled: + description: Whether this processor is enabled. + example: 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` @@ -35570,14 +35638,6 @@ components: targets. example: service:my-service type: string - inputs: - description: A list of component IDs whose output is used as the `input` - for this component. - example: - - datadog-agent-source - items: - type: string - type: array keys: description: A list of tag keys. example: @@ -35598,7 +35658,7 @@ components: - mode - action - keys - - inputs + - enabled type: object ObservabilityPipelineDatadogTagsProcessorAction: description: The action to take on tags with matching keys. @@ -35644,6 +35704,10 @@ components: ObservabilityPipelineDedupeProcessor: description: The `dedupe` processor removes duplicate fields in log events. properties: + enabled: + description: Whether this processor is enabled. + example: true + type: boolean fields: description: A list of log field paths to check for duplicates. example: @@ -35661,14 +35725,6 @@ components: targets. example: service:my-service type: string - inputs: - description: A list of component IDs whose output is used as the input for - this processor. - example: - - parse-json-processor - items: - type: string - type: array mode: $ref: '#/components/schemas/ObservabilityPipelineDedupeProcessorMode' type: @@ -35677,9 +35733,9 @@ components: - id - type - include - - inputs - fields - mode + - enabled type: object ObservabilityPipelineDedupeProcessorMode: description: The deduplication mode to apply to the fields. @@ -35885,6 +35941,10 @@ components: description: The `enrichment_table` processor enriches logs using a static CSV file or GeoIP database. properties: + enabled: + description: Whether this processor is enabled. + example: true + type: boolean file: $ref: '#/components/schemas/ObservabilityPipelineEnrichmentTableFile' geoip: @@ -35898,14 +35958,6 @@ components: targets. example: source:my-source type: string - inputs: - description: A list of component IDs whose output is used as the input for - this processor. - example: - - add-fields-processor - items: - type: string - type: array target: description: Path where enrichment results should be stored in the log. example: enriched.geoip @@ -35916,8 +35968,8 @@ components: - id - type - include - - inputs - target + - enabled type: object ObservabilityPipelineEnrichmentTableProcessorType: default: enrichment_table @@ -35948,6 +36000,10 @@ components: on a Datadog search query. Logs that match the `include` query are passed through; others are discarded. properties: + enabled: + description: Whether this processor is enabled. + example: 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` @@ -35960,21 +36016,13 @@ components: components; others are dropped. example: service:my-service type: string - inputs: - description: A list of component IDs whose output is used as the `input` - for this component. - example: - - datadog-agent-source - items: - type: string - type: array type: $ref: '#/components/schemas/ObservabilityPipelineFilterProcessorType' required: - id - type - include - - inputs + - enabled type: object ObservabilityPipelineFilterProcessorType: default: filter @@ -36054,6 +36102,10 @@ components: Metrics can be counters, gauges, or distributions and optionally grouped by log fields.' properties: + enabled: + description: Whether this processor is enabled. + example: true + type: boolean id: description: The unique identifier for this component. Used to reference this component in other parts of the pipeline. @@ -36064,14 +36116,6 @@ components: targets. example: service:my-service type: string - inputs: - description: A list of component IDs whose output is used as the `input` - for this processor. - example: - - source-id - items: - type: string - type: array metrics: description: Configuration for generating individual metrics. items: @@ -36082,9 +36126,7 @@ components: required: - id - type - - inputs - - include - - metrics + - enabled type: object ObservabilityPipelineGenerateMetricsProcessorType: default: generate_datadog_metrics @@ -36681,6 +36723,10 @@ components: description: The `ocsf_mapper` processor transforms logs into the OCSF schema using a predefined mapping configuration. properties: + enabled: + description: Whether this processor is enabled. + example: true + type: boolean id: description: The unique identifier for this component. Used to reference this component in other parts of the pipeline. @@ -36691,14 +36737,6 @@ components: targets. example: service:my-service type: string - inputs: - description: A list of component IDs whose output is used as the `input` - for this processor. - example: - - filter-processor - items: - type: string - type: array mappings: description: A list of mapping rules to convert events to the OCSF format. items: @@ -36710,8 +36748,8 @@ components: - id - type - include - - inputs - mappings + - enabled type: object ObservabilityPipelineOcsfMapperProcessorMapping: description: Defines how specific events are transformed to OCSF using a mapping @@ -36816,6 +36854,10 @@ components: by Datadog. example: true type: boolean + enabled: + description: Whether this processor is enabled. + example: true + type: boolean id: description: A unique identifier for this processor. example: parse-grok-processor @@ -36825,14 +36867,6 @@ components: targets. example: service:my-service type: string - inputs: - description: A list of component IDs whose output is used as the `input` - for this component. - example: - - datadog-agent-source - items: - type: string - type: array rules: description: The list of Grok parsing rules. If multiple matching rules are provided, they are evaluated in order. The first successful match @@ -36846,8 +36880,8 @@ components: - id - type - include - - inputs - rules + - enabled type: object ObservabilityPipelineParseGrokProcessorRule: description: 'A Grok parsing rule used in the `parse_grok` processor. Each rule @@ -36932,6 +36966,10 @@ components: and flattens it into the event. This is useful when logs contain embedded JSON as a string. properties: + enabled: + description: Whether this processor is enabled. + example: true + type: boolean field: description: The name of the log field that contains a JSON string. example: message @@ -36947,14 +36985,6 @@ components: targets. example: service:my-service type: string - inputs: - description: A list of component IDs whose output is used as the `input` - for this component. - example: - - datadog-agent-source - items: - type: string - type: array type: $ref: '#/components/schemas/ObservabilityPipelineParseJSONProcessorType' required: @@ -36962,7 +36992,7 @@ components: - type - include - field - - inputs + - enabled type: object ObservabilityPipelineParseJSONProcessorType: default: parse_json @@ -36995,6 +37025,10 @@ components: the filter query continue through the pipeline. example: false type: boolean + enabled: + description: Whether this processor is enabled. + example: 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` @@ -37010,14 +37044,6 @@ components: targets. example: service:my-service type: string - inputs: - description: A list of component IDs whose output is used as the `input` - for this component. - example: - - datadog-agent-source - items: - type: string - type: array limit: $ref: '#/components/schemas/ObservabilityPipelineQuotaProcessorLimit' name: @@ -37047,9 +37073,8 @@ components: - type - include - name - - drop_events - limit - - inputs + - enabled type: object ObservabilityPipelineQuotaProcessorLimit: description: The maximum amount of data or number of events allowed before the @@ -37125,6 +37150,10 @@ components: description: The `reduce` processor aggregates and merges logs based on matching keys and merge strategies. properties: + enabled: + description: Whether this processor is enabled. + example: true + type: boolean group_by: description: A list of fields used to group log events for merging. example: @@ -37142,14 +37171,6 @@ components: targets. example: env:prod type: string - inputs: - description: A list of component IDs whose output is used as the input for - this processor. - example: - - parse-json-processor - items: - type: string - type: array merge_strategies: description: List of merge strategies defining how values from grouped events should be combined. @@ -37162,9 +37183,9 @@ components: - id - type - include - - inputs - group_by - merge_strategies + - enabled type: object ObservabilityPipelineReduceProcessorMergeStrategy: description: Defines how a specific field should be merged across grouped events. @@ -37221,6 +37242,10 @@ components: ObservabilityPipelineRemoveFieldsProcessor: description: The `remove_fields` processor deletes specified fields from logs. properties: + enabled: + description: Whether this processor is enabled. + example: true + type: boolean fields: description: A list of field names to be removed from each log event. example: @@ -37240,13 +37265,6 @@ components: targets. example: service:my-service type: string - inputs: - description: The `PipelineRemoveFieldsProcessor` `inputs`. - example: - - datadog-agent-source - items: - type: string - type: array type: $ref: '#/components/schemas/ObservabilityPipelineRemoveFieldsProcessorType' required: @@ -37254,7 +37272,7 @@ components: - type - include - fields - - inputs + - enabled type: object ObservabilityPipelineRemoveFieldsProcessorType: default: remove_fields @@ -37268,6 +37286,10 @@ components: ObservabilityPipelineRenameFieldsProcessor: description: The `rename_fields` processor changes field names. properties: + enabled: + description: Whether this processor is enabled. + example: 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 @@ -37286,14 +37308,6 @@ components: targets. example: service:my-service type: string - inputs: - description: A list of component IDs whose output is used as the `input` - for this component. - example: - - datadog-agent-source - items: - type: string - type: array type: $ref: '#/components/schemas/ObservabilityPipelineRenameFieldsProcessorType' required: @@ -37301,7 +37315,7 @@ components: - type - include - fields - - inputs + - enabled type: object ObservabilityPipelineRenameFieldsProcessorField: description: Defines how to rename a field in log events. @@ -37407,6 +37421,10 @@ components: description: The `sample` processor allows probabilistic sampling of logs at a fixed rate. properties: + enabled: + description: Whether this processor is enabled. + example: 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` @@ -37418,14 +37436,6 @@ components: targets. example: service:my-service type: string - inputs: - description: A list of component IDs whose output is used as the `input` - for this component. - example: - - datadog-agent-source - items: - type: string - type: array percentage: description: The percentage of logs to sample. example: 10.0 @@ -37443,7 +37453,7 @@ components: - id - type - include - - inputs + - enabled type: object ObservabilityPipelineSampleProcessorType: default: sample @@ -37458,6 +37468,10 @@ components: description: The `sensitive_data_scanner` processor detects and optionally redacts sensitive data in log events. properties: + enabled: + description: Whether this processor is enabled. + example: 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 @@ -37469,14 +37483,6 @@ components: targets. example: source:prod type: string - inputs: - description: A list of component IDs whose output is used as the `input` - for this component. - example: - - parse-json-processor - items: - type: string - type: array rules: description: A list of rules for identifying and acting on sensitive data patterns. @@ -37489,8 +37495,8 @@ components: - id - type - include - - inputs - rules + - enabled type: object ObservabilityPipelineSensitiveDataScannerProcessorAction: description: Defines what action to take when sensitive data is matched. @@ -38451,6 +38457,10 @@ components: description: The `throttle` processor limits the number of events that pass through over a given time window. properties: + enabled: + description: Whether this processor is enabled. + example: true + type: boolean group_by: description: Optional list of fields used to group events before the threshold has been reached. @@ -38468,14 +38478,6 @@ components: targets. example: env:prod type: string - inputs: - description: A list of component IDs whose output is used as the input for - this processor. - example: - - datadog-agent-source - items: - type: string - type: array threshold: description: the number of events allowed in a given time window. Events sent after the threshold has been reached, are dropped. @@ -38493,9 +38495,9 @@ components: - id - type - include - - inputs - threshold - window + - enabled type: object ObservabilityPipelineThrottleProcessorType: default: throttle diff --git a/cassettes/v2/Observability-Pipelines_4170000189/Create-a-new-pipeline-returns-Bad-Request-response_2199325426/frozen.json b/cassettes/v2/Observability-Pipelines_4170000189/Create-a-new-pipeline-returns-Bad-Request-response_2199325426/frozen.json index 36ffcb7bba4d..41b30f06b174 100644 --- a/cassettes/v2/Observability-Pipelines_4170000189/Create-a-new-pipeline-returns-Bad-Request-response_2199325426/frozen.json +++ b/cassettes/v2/Observability-Pipelines_4170000189/Create-a-new-pipeline-returns-Bad-Request-response_2199325426/frozen.json @@ -1 +1 @@ -"2025-04-25T17:29:21.625Z" +"2025-12-12T12:01:38.830Z" diff --git a/cassettes/v2/Observability-Pipelines_4170000189/Create-a-new-pipeline-returns-Bad-Request-response_2199325426/recording.har b/cassettes/v2/Observability-Pipelines_4170000189/Create-a-new-pipeline-returns-Bad-Request-response_2199325426/recording.har index a283bfe6cfab..738c926f8914 100644 --- a/cassettes/v2/Observability-Pipelines_4170000189/Create-a-new-pipeline-returns-Bad-Request-response_2199325426/recording.har +++ b/cassettes/v2/Observability-Pipelines_4170000189/Create-a-new-pipeline-returns-Bad-Request-response_2199325426/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "27cad2cb136cf53108ff45a0fc536c02", + "_id": "95a5701126df3343b440f0295430ff3b", "_order": 0, "cache": {}, "request": { - "bodySize": 383, + "bodySize": 481, "cookies": [], "headers": [ { @@ -32,17 +32,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"unknown-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Main Observability Pipeline\"},\"type\":\"pipelines\"}}" + "text": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"my-processor-group\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"enabled\":true,\"id\":\"unknown-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Main Observability Pipeline\"},\"type\":\"pipelines\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines" }, "response": { - "bodySize": 353, + "bodySize": 357, "content": { "mimeType": "application/json", - "size": 353, - "text": "{\"errors\":[{\"title\":\"Component with ID filter-processor is an unknown component\",\"meta\":{\"message\":\"Component with ID filter-processor is an unknown component\"}},{\"title\":\"The following components are unused: [datadog-agent-source unknown-processor]\",\"meta\":{\"message\":\"The following components are unused: [datadog-agent-source unknown-processor]\"}}]}\n" + "size": 357, + "text": "{\"errors\":[{\"title\":\"Component with ID my-processor-group is an unknown component\",\"meta\":{\"message\":\"Component with ID my-processor-group is an unknown component\"}},{\"title\":\"The following components are unused: [datadog-agent-source unknown-processor]\",\"meta\":{\"message\":\"The following components are unused: [datadog-agent-source unknown-processor]\"}}]}\n" }, "cookies": [], "headers": [ @@ -57,8 +57,8 @@ "status": 400, "statusText": "Bad Request" }, - "startedDateTime": "2025-04-25T17:29:21.631Z", - "time": 2193 + "startedDateTime": "2025-12-12T12:01:38.833Z", + "time": 470 } ], "pages": [], diff --git a/cassettes/v2/Observability-Pipelines_4170000189/Create-a-new-pipeline-returns-OK-response_2981893872/frozen.json b/cassettes/v2/Observability-Pipelines_4170000189/Create-a-new-pipeline-returns-OK-response_2981893872/frozen.json index b60b621da30c..7c2482e2e73e 100644 --- a/cassettes/v2/Observability-Pipelines_4170000189/Create-a-new-pipeline-returns-OK-response_2981893872/frozen.json +++ b/cassettes/v2/Observability-Pipelines_4170000189/Create-a-new-pipeline-returns-OK-response_2981893872/frozen.json @@ -1 +1 @@ -"2025-04-25T17:29:23.837Z" +"2025-12-12T12:01:39.315Z" diff --git a/cassettes/v2/Observability-Pipelines_4170000189/Create-a-new-pipeline-returns-OK-response_2981893872/recording.har b/cassettes/v2/Observability-Pipelines_4170000189/Create-a-new-pipeline-returns-OK-response_2981893872/recording.har index 6c6e26078ae1..c1b3459e0c6f 100644 --- a/cassettes/v2/Observability-Pipelines_4170000189/Create-a-new-pipeline-returns-OK-response_2981893872/recording.har +++ b/cassettes/v2/Observability-Pipelines_4170000189/Create-a-new-pipeline-returns-OK-response_2981893872/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "ccedcb249a427cb75505c852f00f4319", + "_id": "2cc7f51aea1a7fda97edd909fad481a4", "_order": 0, "cache": {}, "request": { - "bodySize": 382, + "bodySize": 482, "cookies": [], "headers": [ { @@ -32,17 +32,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Main Observability Pipeline\"},\"type\":\"pipelines\"}}" + "text": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"my-processor-group\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"enabled\":true,\"id\":\"my-processor-group\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Main Observability Pipeline\"},\"type\":\"pipelines\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines" }, "response": { - "bodySize": 427, + "bodySize": 527, "content": { "mimeType": "application/json", - "size": 427, - "text": "{\"data\":{\"id\":\"d891e45c-21fa-11f0-96dc-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}}}\n" + "size": 527, + "text": "{\"data\":{\"id\":\"512fbd46-d752-11f0-b25a-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"my-processor-group\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"enabled\":true,\"id\":\"my-processor-group\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}}}\n" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-04-25T17:29:23.842Z", - "time": 922 + "startedDateTime": "2025-12-12T12:01:39.318Z", + "time": 850 }, { - "_id": "1cf1cc77a6906f28420662c129b23adb", + "_id": "daee0d2a6bfc56dad16e3e11b211ca18", "_order": 0, "cache": {}, "request": { @@ -78,7 +78,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/d891e45c-21fa-11f0-96dc-da7ad0900002" + "url": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/512fbd46-d752-11f0-b25a-da7ad0900002" }, "response": { "bodySize": 0, @@ -99,8 +99,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-04-25T17:29:24.776Z", - "time": 509 + "startedDateTime": "2025-12-12T12:01:40.178Z", + "time": 539 } ], "pages": [], diff --git a/cassettes/v2/Observability-Pipelines_4170000189/Delete-a-pipeline-returns-Not-Found-response_870326444/frozen.json b/cassettes/v2/Observability-Pipelines_4170000189/Delete-a-pipeline-returns-Not-Found-response_870326444/frozen.json index 7e918b424930..2f0e9a6e5c09 100644 --- a/cassettes/v2/Observability-Pipelines_4170000189/Delete-a-pipeline-returns-Not-Found-response_870326444/frozen.json +++ b/cassettes/v2/Observability-Pipelines_4170000189/Delete-a-pipeline-returns-Not-Found-response_870326444/frozen.json @@ -1 +1 @@ -"2025-04-25T17:29:25.292Z" +"2025-12-12T12:01:40.725Z" diff --git a/cassettes/v2/Observability-Pipelines_4170000189/Delete-a-pipeline-returns-Not-Found-response_870326444/recording.har b/cassettes/v2/Observability-Pipelines_4170000189/Delete-a-pipeline-returns-Not-Found-response_870326444/recording.har index 5e6a3e90b480..1e1bb963acb5 100644 --- a/cassettes/v2/Observability-Pipelines_4170000189/Delete-a-pipeline-returns-Not-Found-response_870326444/recording.har +++ b/cassettes/v2/Observability-Pipelines_4170000189/Delete-a-pipeline-returns-Not-Found-response_870326444/recording.har @@ -47,8 +47,8 @@ "status": 404, "statusText": "Not Found" }, - "startedDateTime": "2025-04-25T17:29:25.296Z", - "time": 1546 + "startedDateTime": "2025-12-12T12:01:40.727Z", + "time": 573 } ], "pages": [], diff --git a/cassettes/v2/Observability-Pipelines_4170000189/Delete-a-pipeline-returns-OK-response_1744781279/frozen.json b/cassettes/v2/Observability-Pipelines_4170000189/Delete-a-pipeline-returns-OK-response_1744781279/frozen.json index afeb3133c017..7b32178ad80e 100644 --- a/cassettes/v2/Observability-Pipelines_4170000189/Delete-a-pipeline-returns-OK-response_1744781279/frozen.json +++ b/cassettes/v2/Observability-Pipelines_4170000189/Delete-a-pipeline-returns-OK-response_1744781279/frozen.json @@ -1 +1 @@ -"2025-04-25T17:29:26.847Z" +"2025-12-12T12:01:41.308Z" diff --git a/cassettes/v2/Observability-Pipelines_4170000189/Delete-a-pipeline-returns-OK-response_1744781279/recording.har b/cassettes/v2/Observability-Pipelines_4170000189/Delete-a-pipeline-returns-OK-response_1744781279/recording.har index 6064ae03241b..967698a57379 100644 --- a/cassettes/v2/Observability-Pipelines_4170000189/Delete-a-pipeline-returns-OK-response_1744781279/recording.har +++ b/cassettes/v2/Observability-Pipelines_4170000189/Delete-a-pipeline-returns-OK-response_1744781279/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "ccedcb249a427cb75505c852f00f4319", + "_id": "da4c1e7179b6967e765b83722311cb84", "_order": 0, "cache": {}, "request": { - "bodySize": 382, + "bodySize": 480, "cookies": [], "headers": [ { @@ -32,17 +32,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Main Observability Pipeline\"},\"type\":\"pipelines\"}}" + "text": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"processor-group-0\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"enabled\":true,\"id\":\"processor-group-0\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Main Observability Pipeline\"},\"type\":\"pipelines\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines" }, "response": { - "bodySize": 427, + "bodySize": 525, "content": { "mimeType": "application/json", - "size": 427, - "text": "{\"data\":{\"id\":\"da5f2218-21fa-11f0-96de-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}}}\n" + "size": 525, + "text": "{\"data\":{\"id\":\"5260fb94-d752-11f0-b25c-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"processor-group-0\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"enabled\":true,\"id\":\"processor-group-0\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}}}\n" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-04-25T17:29:26.849Z", - "time": 934 + "startedDateTime": "2025-12-12T12:01:41.311Z", + "time": 939 }, { - "_id": "598cf7c6bf150219bc90925671f48c4a", + "_id": "46a341e963579ca39864fbc1cf39edc4", "_order": 0, "cache": {}, "request": { @@ -78,7 +78,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/da5f2218-21fa-11f0-96de-da7ad0900002" + "url": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/5260fb94-d752-11f0-b25c-da7ad0900002" }, "response": { "bodySize": 0, @@ -99,11 +99,11 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-04-25T17:29:27.792Z", - "time": 723 + "startedDateTime": "2025-12-12T12:01:42.258Z", + "time": 816 }, { - "_id": "598cf7c6bf150219bc90925671f48c4a", + "_id": "46a341e963579ca39864fbc1cf39edc4", "_order": 1, "cache": {}, "request": { @@ -120,7 +120,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/da5f2218-21fa-11f0-96de-da7ad0900002" + "url": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/5260fb94-d752-11f0-b25c-da7ad0900002" }, "response": { "bodySize": 44, @@ -142,8 +142,8 @@ "status": 404, "statusText": "Not Found" }, - "startedDateTime": "2025-04-25T17:29:28.522Z", - "time": 666 + "startedDateTime": "2025-12-12T12:01:43.083Z", + "time": 599 } ], "pages": [], diff --git a/cassettes/v2/Observability-Pipelines_4170000189/Get-a-specific-pipeline-returns-OK-response_3347956844/frozen.json b/cassettes/v2/Observability-Pipelines_4170000189/Get-a-specific-pipeline-returns-OK-response_3347956844/frozen.json index 2612df2c5415..045a5f642941 100644 --- a/cassettes/v2/Observability-Pipelines_4170000189/Get-a-specific-pipeline-returns-OK-response_3347956844/frozen.json +++ b/cassettes/v2/Observability-Pipelines_4170000189/Get-a-specific-pipeline-returns-OK-response_3347956844/frozen.json @@ -1 +1 @@ -"2025-04-25T17:29:29.196Z" +"2025-12-12T12:01:43.689Z" diff --git a/cassettes/v2/Observability-Pipelines_4170000189/Get-a-specific-pipeline-returns-OK-response_3347956844/recording.har b/cassettes/v2/Observability-Pipelines_4170000189/Get-a-specific-pipeline-returns-OK-response_3347956844/recording.har index 758c6789dbdf..801a833a5fad 100644 --- a/cassettes/v2/Observability-Pipelines_4170000189/Get-a-specific-pipeline-returns-OK-response_3347956844/recording.har +++ b/cassettes/v2/Observability-Pipelines_4170000189/Get-a-specific-pipeline-returns-OK-response_3347956844/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "ccedcb249a427cb75505c852f00f4319", + "_id": "da4c1e7179b6967e765b83722311cb84", "_order": 0, "cache": {}, "request": { - "bodySize": 382, + "bodySize": 480, "cookies": [], "headers": [ { @@ -32,17 +32,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Main Observability Pipeline\"},\"type\":\"pipelines\"}}" + "text": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"processor-group-0\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"enabled\":true,\"id\":\"processor-group-0\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Main Observability Pipeline\"},\"type\":\"pipelines\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines" }, "response": { - "bodySize": 427, + "bodySize": 525, "content": { "mimeType": "application/json", - "size": 427, - "text": "{\"data\":{\"id\":\"dbbff3d0-21fa-11f0-96e0-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}}}\n" + "size": 525, + "text": "{\"data\":{\"id\":\"53caaa70-d752-11f0-b766-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"processor-group-0\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"enabled\":true,\"id\":\"processor-group-0\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}}}\n" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-04-25T17:29:29.200Z", - "time": 1048 + "startedDateTime": "2025-12-12T12:01:43.694Z", + "time": 902 }, { - "_id": "556b6b39efde699b7097b64716e70c01", + "_id": "cc0b677819fcef101e065dee94820812", "_order": 0, "cache": {}, "request": { @@ -78,14 +78,14 @@ "httpVersion": "HTTP/1.1", "method": "GET", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/dbbff3d0-21fa-11f0-96e0-da7ad0900002" + "url": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/53caaa70-d752-11f0-b766-da7ad0900002" }, "response": { - "bodySize": 427, + "bodySize": 525, "content": { "mimeType": "application/json", - "size": 427, - "text": "{\"data\":{\"id\":\"dbbff3d0-21fa-11f0-96e0-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}}}\n" + "size": 525, + "text": "{\"data\":{\"id\":\"53caaa70-d752-11f0-b766-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"processor-group-0\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"enabled\":true,\"id\":\"processor-group-0\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}}}\n" }, "cookies": [], "headers": [ @@ -100,11 +100,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-04-25T17:29:30.254Z", - "time": 740 + "startedDateTime": "2025-12-12T12:01:44.603Z", + "time": 648 }, { - "_id": "91b13ea6a00daad4d3c5b58c06e0c937", + "_id": "5be73d6974d33bc3f3ea979fa86cbd31", "_order": 0, "cache": {}, "request": { @@ -121,7 +121,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/dbbff3d0-21fa-11f0-96e0-da7ad0900002" + "url": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/53caaa70-d752-11f0-b766-da7ad0900002" }, "response": { "bodySize": 0, @@ -142,8 +142,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-04-25T17:29:31.003Z", - "time": 757 + "startedDateTime": "2025-12-12T12:01:45.257Z", + "time": 832 } ], "pages": [], diff --git a/cassettes/v2/Observability-Pipelines_4170000189/List-pipelines-returns-Bad-Request-response_3950676222/frozen.json b/cassettes/v2/Observability-Pipelines_4170000189/List-pipelines-returns-Bad-Request-response_3950676222/frozen.json index 08d73db5070e..17f6f1e7d4c0 100644 --- a/cassettes/v2/Observability-Pipelines_4170000189/List-pipelines-returns-Bad-Request-response_3950676222/frozen.json +++ b/cassettes/v2/Observability-Pipelines_4170000189/List-pipelines-returns-Bad-Request-response_3950676222/frozen.json @@ -1 +1 @@ -"2025-04-25T17:29:31.769Z" +"2025-12-12T12:01:46.096Z" diff --git a/cassettes/v2/Observability-Pipelines_4170000189/List-pipelines-returns-Bad-Request-response_3950676222/recording.har b/cassettes/v2/Observability-Pipelines_4170000189/List-pipelines-returns-Bad-Request-response_3950676222/recording.har index 1d21bb983cbd..26cdfbbb594e 100644 --- a/cassettes/v2/Observability-Pipelines_4170000189/List-pipelines-returns-Bad-Request-response_3950676222/recording.har +++ b/cassettes/v2/Observability-Pipelines_4170000189/List-pipelines-returns-Bad-Request-response_3950676222/recording.har @@ -54,8 +54,8 @@ "status": 400, "statusText": "Bad Request" }, - "startedDateTime": "2025-04-25T17:29:31.777Z", - "time": 540 + "startedDateTime": "2025-12-12T12:01:46.101Z", + "time": 472 } ], "pages": [], diff --git a/cassettes/v2/Observability-Pipelines_4170000189/List-pipelines-returns-OK-response_669614676/frozen.json b/cassettes/v2/Observability-Pipelines_4170000189/List-pipelines-returns-OK-response_669614676/frozen.json index 25be7d9ca497..4ee91f4c0474 100644 --- a/cassettes/v2/Observability-Pipelines_4170000189/List-pipelines-returns-OK-response_669614676/frozen.json +++ b/cassettes/v2/Observability-Pipelines_4170000189/List-pipelines-returns-OK-response_669614676/frozen.json @@ -1 +1 @@ -"2025-04-25T17:29:32.322Z" +"2025-12-12T12:01:46.582Z" diff --git a/cassettes/v2/Observability-Pipelines_4170000189/List-pipelines-returns-OK-response_669614676/recording.har b/cassettes/v2/Observability-Pipelines_4170000189/List-pipelines-returns-OK-response_669614676/recording.har index 303fbd46ab9b..6e348b6ea774 100644 --- a/cassettes/v2/Observability-Pipelines_4170000189/List-pipelines-returns-OK-response_669614676/recording.har +++ b/cassettes/v2/Observability-Pipelines_4170000189/List-pipelines-returns-OK-response_669614676/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "ccedcb249a427cb75505c852f00f4319", + "_id": "da4c1e7179b6967e765b83722311cb84", "_order": 0, "cache": {}, "request": { - "bodySize": 382, + "bodySize": 480, "cookies": [], "headers": [ { @@ -32,17 +32,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Main Observability Pipeline\"},\"type\":\"pipelines\"}}" + "text": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"processor-group-0\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"enabled\":true,\"id\":\"processor-group-0\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Main Observability Pipeline\"},\"type\":\"pipelines\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines" }, "response": { - "bodySize": 427, + "bodySize": 525, "content": { "mimeType": "application/json", - "size": 427, - "text": "{\"data\":{\"id\":\"dd87c652-21fa-11f0-96e2-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}}}\n" + "size": 525, + "text": "{\"data\":{\"id\":\"558588ee-d752-11f0-b25e-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"processor-group-0\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"enabled\":true,\"id\":\"processor-group-0\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}}}\n" }, "cookies": [], "headers": [ @@ -57,8 +57,8 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-04-25T17:29:32.328Z", - "time": 929 + "startedDateTime": "2025-12-12T12:01:46.585Z", + "time": 732 }, { "_id": "2a1ecc5b42fa71d41e8a9990a3446289", @@ -81,11 +81,11 @@ "url": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines" }, "response": { - "bodySize": 20407, + "bodySize": 551, "content": { "mimeType": "application/vnd.api+json", - "size": 20407, - "text": "{\"data\":[{\"id\":\"8d85d864-0f09-11f0-9711-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"3f339054-10ab-11f0-88a2-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"b8c068de-10ab-11f0-88a8-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"32e2f90a-1139-11f0-8501-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"67e79020-1139-11f0-98d1-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"30966e06-113a-11f0-98e1-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"3e3f9382-138f-11f0-8cf0-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"test pipeline\",\"config\":{\"destinations\":[{\"id\":\"destination-1\",\"inputs\":[\"parser-1\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"field\":\"message\",\"id\":\"parser-1\",\"include\":\"service:my-service\",\"inputs\":[\"source-1\"],\"type\":\"parse_json\"}],\"sources\":[{\"id\":\"source-1\",\"tls\":{\"crt_file\":\"/path/to/cert.crt\"},\"type\":\"datadog_agent\"}]}}},{\"id\":\"42159650-138f-11f0-a2aa-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"test pipeline\",\"config\":{\"destinations\":[{\"id\":\"destination-1\",\"inputs\":[\"parser-1\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"field\":\"message\",\"id\":\"parser-1\",\"include\":\"service:my-service\",\"inputs\":[\"source-1\"],\"type\":\"parse_json\"}],\"sources\":[{\"id\":\"source-1\",\"tls\":{\"crt_file\":\"/path/to/cert.crt\"},\"type\":\"datadog_agent\"}]}}},{\"id\":\"6cc001f8-1392-11f0-9e35-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"agent with tls\",\"config\":{\"destinations\":[{\"id\":\"destination-1\",\"inputs\":[\"source-with-tls\"],\"type\":\"datadog_logs\"}],\"processors\":[],\"sources\":[{\"id\":\"source-with-tls\",\"tls\":{\"ca_file\":\"/etc/certs/ca.crt\",\"crt_file\":\"/etc/certs/agent.crt\",\"key_file\":\"/etc/certs/agent.key\"},\"type\":\"datadog_agent\"}]}}},{\"id\":\"bdf5078e-139d-11f0-8e4f-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"add-fields-pipeline\",\"config\":{\"destinations\":[{\"id\":\"destination-1\",\"inputs\":[\"add-fields-1\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"fields\":[{\"name\":\"custom.field\",\"value\":\"hello-world\"}],\"id\":\"add-fields-1\",\"include\":\"*\",\"inputs\":[\"source-1\"],\"type\":\"add_fields\"}],\"sources\":[{\"id\":\"source-1\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"e67402d2-139d-11f0-8e51-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"add-fields-pipeline\",\"config\":{\"destinations\":[{\"id\":\"destination-1\",\"inputs\":[\"add-fields-1\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"fields\":[{\"name\":\"custom.field\",\"value\":\"hello-world\"}],\"id\":\"add-fields-1\",\"include\":\"*\",\"inputs\":[\"source-1\"],\"type\":\"add_fields\"}],\"sources\":[{\"id\":\"source-1\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"e9849f22-139d-11f0-8e53-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"add-fields-pipeline\",\"config\":{\"destinations\":[{\"id\":\"destination-1\",\"inputs\":[\"add-fields-1\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"fields\":[{\"name\":\"custom.field\",\"value\":\"hello-world\"}],\"id\":\"add-fields-1\",\"include\":\"*\",\"inputs\":[\"source-1\"],\"type\":\"add_fields\"}],\"sources\":[{\"id\":\"source-1\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"f9845bb0-139d-11f0-b101-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"add-fields-pipeline\",\"config\":{\"destinations\":[{\"id\":\"destination-1\",\"inputs\":[\"add-fields-1\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"fields\":[{\"name\":\"custom.field\",\"value\":\"hello-world\"}],\"id\":\"add-fields-1\",\"include\":\"*\",\"inputs\":[\"source-1\"],\"type\":\"add_fields\"}],\"sources\":[{\"id\":\"source-1\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"2ebd82ca-139e-11f0-b103-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"add-fields-pipeline\",\"config\":{\"destinations\":[{\"id\":\"destination-1\",\"inputs\":[\"add-fields-1\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"fields\":[{\"name\":\"custom.field\",\"value\":\"hello-world\"}],\"id\":\"add-fields-1\",\"include\":\"*\",\"inputs\":[\"source-1\"],\"type\":\"add_fields\"}],\"sources\":[{\"id\":\"source-1\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"31ba5a34-139e-11f0-8e55-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"add-fields-pipeline\",\"config\":{\"destinations\":[{\"id\":\"destination-1\",\"inputs\":[\"add-fields-1\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"fields\":[{\"name\":\"custom.field\",\"value\":\"hello-world\"}],\"id\":\"add-fields-1\",\"include\":\"*\",\"inputs\":[\"source-1\"],\"type\":\"add_fields\"}],\"sources\":[{\"id\":\"source-1\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"3aa802c2-139e-11f0-8e57-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"add-fields-pipeline\",\"config\":{\"destinations\":[{\"id\":\"destination-1\",\"inputs\":[\"add-fields-1\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"fields\":[{\"name\":\"custom.field\",\"value\":\"hello-world\"}],\"id\":\"add-fields-1\",\"include\":\"*\",\"inputs\":[\"source-1\"],\"type\":\"add_fields\"}],\"sources\":[{\"id\":\"source-1\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"7b3daaf8-139e-11f0-8e59-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"add-fields-pipeline\",\"config\":{\"destinations\":[{\"id\":\"destination-1\",\"inputs\":[\"add-fields-1\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"fields\":[{\"name\":\"custom.field\",\"value\":\"hello-world\"}],\"id\":\"add-fields-1\",\"include\":\"*\",\"inputs\":[\"source-1\"],\"type\":\"add_fields\"}],\"sources\":[{\"id\":\"source-1\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"7e72d32e-139e-11f0-8e5b-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"add-fields-pipeline\",\"config\":{\"destinations\":[{\"id\":\"destination-1\",\"inputs\":[\"add-fields-1\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"fields\":[{\"name\":\"custom.field\",\"value\":\"hello-world\"}],\"id\":\"add-fields-1\",\"include\":\"*\",\"inputs\":[\"source-1\"],\"type\":\"add_fields\"}],\"sources\":[{\"id\":\"source-1\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"818a8728-139e-11f0-8e5d-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"add-fields-pipeline\",\"config\":{\"destinations\":[{\"id\":\"destination-1\",\"inputs\":[\"add-fields-1\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"fields\":[{\"name\":\"custom.field\",\"value\":\"hello-world\"}],\"id\":\"add-fields-1\",\"include\":\"*\",\"inputs\":[\"source-1\"],\"type\":\"add_fields\"}],\"sources\":[{\"id\":\"source-1\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"bed86e88-139e-11f0-8e5f-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"add-fields-pipeline\",\"config\":{\"destinations\":[{\"id\":\"destination-1\",\"inputs\":[\"add-fields-1\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"fields\":[{\"name\":\"custom.field\",\"value\":\"hello-world\"}],\"id\":\"add-fields-1\",\"include\":\"*\",\"inputs\":[\"source-1\"],\"type\":\"add_fields\"}],\"sources\":[{\"id\":\"source-1\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"c202b050-139e-11f0-b107-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"add-fields-pipeline\",\"config\":{\"destinations\":[{\"id\":\"destination-1\",\"inputs\":[\"add-fields-1\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"fields\":[{\"name\":\"custom.field\",\"value\":\"hello-world\"}],\"id\":\"add-fields-1\",\"include\":\"*\",\"inputs\":[\"source-1\"],\"type\":\"add_fields\"}],\"sources\":[{\"id\":\"source-1\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"c5111084-139e-11f0-8e61-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"add-fields-pipeline\",\"config\":{\"destinations\":[{\"id\":\"destination-1\",\"inputs\":[\"add-fields-1\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"fields\":[{\"name\":\"custom.field\",\"value\":\"hello-world\"}],\"id\":\"add-fields-1\",\"include\":\"*\",\"inputs\":[\"source-1\"],\"type\":\"add_fields\"}],\"sources\":[{\"id\":\"source-1\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"e01ae6de-139e-11f0-8e63-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"add-fields-pipeline\",\"config\":{\"destinations\":[{\"id\":\"destination-1\",\"inputs\":[\"add-fields-1\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"fields\":[{\"name\":\"custom.field\",\"value\":\"hello-world\"}],\"id\":\"add-fields-1\",\"include\":\"*\",\"inputs\":[\"source-1\"],\"type\":\"add_fields\"}],\"sources\":[{\"id\":\"source-1\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"e33ad356-139e-11f0-b109-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"add-fields-pipeline\",\"config\":{\"destinations\":[{\"id\":\"destination-1\",\"inputs\":[\"add-fields-1\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"fields\":[{\"name\":\"custom.field\",\"value\":\"hello-world\"}],\"id\":\"add-fields-1\",\"include\":\"*\",\"inputs\":[\"source-1\"],\"type\":\"add_fields\"}],\"sources\":[{\"id\":\"source-1\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"e6783e78-139e-11f0-b10b-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"add-fields-pipeline\",\"config\":{\"destinations\":[{\"id\":\"destination-1\",\"inputs\":[\"add-fields-1\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"fields\":[{\"name\":\"custom.field\",\"value\":\"hello-world\"}],\"id\":\"add-fields-1\",\"include\":\"*\",\"inputs\":[\"source-1\"],\"type\":\"add_fields\"}],\"sources\":[{\"id\":\"source-1\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"04407bfa-139f-11f0-8e65-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"add-fields-pipeline\",\"config\":{\"destinations\":[{\"id\":\"destination-1\",\"inputs\":[\"add-fields-1\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"fields\":[{\"name\":\"custom.field\",\"value\":\"hello-world\"}],\"id\":\"add-fields-1\",\"include\":\"*\",\"inputs\":[\"source-1\"],\"type\":\"add_fields\"}],\"sources\":[{\"id\":\"source-1\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"126be958-139f-11f0-8e67-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"add-fields-pipeline\",\"config\":{\"destinations\":[{\"id\":\"destination-1\",\"inputs\":[\"add-fields-1\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"fields\":[{\"name\":\"custom.field\",\"value\":\"hello-world\"}],\"id\":\"add-fields-1\",\"include\":\"*\",\"inputs\":[\"source-1\"],\"type\":\"add_fields\"}],\"sources\":[{\"id\":\"source-1\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"97607354-139f-11f0-8e6b-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"add-fields-pipeline\",\"config\":{\"destinations\":[{\"id\":\"destination-1\",\"inputs\":[\"add-fields-1\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"fields\":[{\"name\":\"custom.field\",\"value\":\"hello-world\"}],\"id\":\"add-fields-1\",\"include\":\"*\",\"inputs\":[\"source-1\"],\"type\":\"add_fields\"}],\"sources\":[{\"id\":\"source-1\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"305f9a88-13a2-11f0-8dd9-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"parse-json-pipeline\",\"config\":{\"destinations\":[{\"id\":\"destination-1\",\"inputs\":[\"parser-1\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"field\":\"message\",\"id\":\"parser-1\",\"include\":\"env:parse\",\"inputs\":[\"source-1\"],\"type\":\"parse_json\"}],\"sources\":[{\"id\":\"source-1\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"45669120-13a2-11f0-8ddb-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"parse-json-pipeline\",\"config\":{\"destinations\":[{\"id\":\"destination-1\",\"inputs\":[\"parser-1\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"field\":\"message\",\"id\":\"parser-1\",\"include\":\"env:parse\",\"inputs\":[\"source-1\"],\"type\":\"parse_json\"}],\"sources\":[{\"id\":\"source-1\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"c00f7548-13a4-11f0-9315-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"test pipeline\",\"config\":{\"destinations\":[{\"id\":\"destination-1\",\"inputs\":[\"parser-1\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"field\":\"message\",\"id\":\"parser-1\",\"include\":\"service:my-service\",\"inputs\":[\"source-1\"],\"type\":\"parse_json\"}],\"sources\":[{\"id\":\"source-1\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"c07cf206-13a6-11f0-949d-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"test pipeline\",\"config\":{\"destinations\":[{\"id\":\"destination-1\",\"inputs\":[\"parser-1\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"field\":\"message\",\"id\":\"parser-1\",\"include\":\"service:my-service\",\"inputs\":[\"source-1\"],\"type\":\"parse_json\"}],\"sources\":[{\"id\":\"source-1\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"8ff06e36-13ad-11f0-8243-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"add-fields-pipeline\",\"config\":{\"destinations\":[{\"id\":\"destination-1\",\"inputs\":[\"add-fields-1\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"fields\":[{\"name\":\"custom.field\",\"value\":\"hello-world\"}],\"id\":\"add-fields-1\",\"include\":\"*\",\"inputs\":[\"source-1\"],\"type\":\"add_fields\"}],\"sources\":[{\"id\":\"source-1\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"8ff1a508-13ad-11f0-b934-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"agent with tls\",\"config\":{\"destinations\":[{\"id\":\"destination-1\",\"inputs\":[\"source-with-tls\"],\"type\":\"datadog_logs\"}],\"processors\":[],\"sources\":[{\"id\":\"source-with-tls\",\"tls\":{\"crt_file\":\"/etc/certs/agent.crt\",\"key_file\":\"/etc/certs/agent.key\"},\"type\":\"datadog_agent\"}]}}},{\"id\":\"8ff38a08-13ad-11f0-8245-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"parse-json-pipeline\",\"config\":{\"destinations\":[{\"id\":\"destination-1\",\"inputs\":[\"parser-1\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"field\":\"message\",\"id\":\"parser-1\",\"include\":\"env:parse\",\"inputs\":[\"source-1\"],\"type\":\"parse_json\"}],\"sources\":[{\"id\":\"source-1\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"8ff54f0a-13ad-11f0-8247-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"kafka pipeline\",\"config\":{\"destinations\":[{\"id\":\"destination-1\",\"inputs\":[\"kafka-source-1\"],\"type\":\"datadog_logs\"}],\"processors\":[],\"sources\":[{\"group_id\":\"consumer-group-1\",\"id\":\"kafka-source-1\",\"sasl\":{\"mechanism\":\"PLAIN\"},\"tls\":{\"ca_file\":\"\",\"crt_file\":\"/path/to/kafka.crt\"},\"topics\":[\"topic-a\",\"topic-b\"],\"type\":\"kafka\"}]}}},{\"id\":\"f814235e-13ad-11f0-b942-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"agent with tls\",\"config\":{\"destinations\":[{\"id\":\"destination-1\",\"inputs\":[\"source-with-tls\"],\"type\":\"datadog_logs\"}],\"processors\":[],\"sources\":[{\"id\":\"source-with-tls\",\"tls\":{\"crt_file\":\"/etc/certs/agent.crt\",\"key_file\":\"/etc/certs/agent.key\"},\"type\":\"datadog_agent\"}]}}},{\"id\":\"5b1a9314-13ce-11f0-a9de-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"rename-fields-pipeline\",\"config\":{\"destinations\":[{\"id\":\"destination-1\",\"inputs\":[\"rename-1\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"fields\":[{\"destination\":\"new.field\",\"preserve_source\":true,\"source\":\"old.field\"}],\"id\":\"rename-1\",\"include\":\"*\",\"inputs\":[\"source-1\"],\"type\":\"rename_fields\"}],\"sources\":[{\"id\":\"source-1\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"1e356802-1419-11f0-8834-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"14156a86-142b-11f0-96f3-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"a5280a06-143a-11f0-aac4-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"5005f6c2-1481-11f0-8faa-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"remove-fields-pipeline\",\"config\":{\"destinations\":[{\"id\":\"destination-1\",\"inputs\":[\"remove-1\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"fields\":[\"temp.debug\",\"internal.trace_id\"],\"id\":\"remove-1\",\"include\":\"*\",\"inputs\":[\"source-1\"],\"type\":\"remove_fields\"}],\"sources\":[{\"id\":\"source-1\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"9c1776c0-14d7-11f0-87c9-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"b1e4c58c-1501-11f0-b0bd-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"43a8a4cc-15c3-11f0-b111-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"45042a58-15c3-11f0-b113-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"f9de3956-15cc-11f0-ac43-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"b3efaa52-1693-11f0-89e0-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"24c83620-1696-11f0-89e6-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}},{\"id\":\"5d2875d6-17a2-11f0-9bd1-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}}],\"meta\":{\"totalCount\":128}}\n" + "size": 551, + "text": "{\"data\":[{\"id\":\"558588ee-d752-11f0-b25e-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"processor-group-0\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"enabled\":true,\"id\":\"processor-group-0\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}}],\"meta\":{\"totalCount\":1}}\n" }, "cookies": [], "headers": [ @@ -94,17 +94,17 @@ "value": "application/vnd.api+json" } ], - "headersSize": 232, + "headersSize": 225, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-04-25T17:29:33.263Z", - "time": 713 + "startedDateTime": "2025-12-12T12:01:47.325Z", + "time": 620 }, { - "_id": "365d8eb669ce7c00a0888b8c6211d176", + "_id": "37c28b19be345806c2fc7d05314a3092", "_order": 0, "cache": {}, "request": { @@ -121,7 +121,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/dd87c652-21fa-11f0-96e2-da7ad0900002" + "url": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/558588ee-d752-11f0-b25e-da7ad0900002" }, "response": { "bodySize": 0, @@ -142,8 +142,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-04-25T17:29:33.984Z", - "time": 681 + "startedDateTime": "2025-12-12T12:01:47.954Z", + "time": 784 } ], "pages": [], diff --git a/cassettes/v2/Observability-Pipelines_4170000189/Update-a-pipeline-returns-Bad-Request-response_1788147065/frozen.json b/cassettes/v2/Observability-Pipelines_4170000189/Update-a-pipeline-returns-Bad-Request-response_1788147065/frozen.json index 70710c19cd41..9cca5589270e 100644 --- a/cassettes/v2/Observability-Pipelines_4170000189/Update-a-pipeline-returns-Bad-Request-response_1788147065/frozen.json +++ b/cassettes/v2/Observability-Pipelines_4170000189/Update-a-pipeline-returns-Bad-Request-response_1788147065/frozen.json @@ -1 +1 @@ -"2025-04-25T17:29:34.672Z" +"2025-12-12T12:01:48.747Z" diff --git a/cassettes/v2/Observability-Pipelines_4170000189/Update-a-pipeline-returns-Bad-Request-response_1788147065/recording.har b/cassettes/v2/Observability-Pipelines_4170000189/Update-a-pipeline-returns-Bad-Request-response_1788147065/recording.har index d634e84496cf..72b26d427c45 100644 --- a/cassettes/v2/Observability-Pipelines_4170000189/Update-a-pipeline-returns-Bad-Request-response_1788147065/recording.har +++ b/cassettes/v2/Observability-Pipelines_4170000189/Update-a-pipeline-returns-Bad-Request-response_1788147065/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "ccedcb249a427cb75505c852f00f4319", + "_id": "da4c1e7179b6967e765b83722311cb84", "_order": 0, "cache": {}, "request": { - "bodySize": 382, + "bodySize": 480, "cookies": [], "headers": [ { @@ -32,17 +32,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Main Observability Pipeline\"},\"type\":\"pipelines\"}}" + "text": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"processor-group-0\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"enabled\":true,\"id\":\"processor-group-0\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Main Observability Pipeline\"},\"type\":\"pipelines\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines" }, "response": { - "bodySize": 427, + "bodySize": 525, "content": { "mimeType": "application/json", - "size": 427, - "text": "{\"data\":{\"id\":\"deeea5f6-21fa-11f0-96e4-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}}}\n" + "size": 525, + "text": "{\"data\":{\"id\":\"56cdbe24-d752-11f0-b260-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"processor-group-0\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"enabled\":true,\"id\":\"processor-group-0\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}}}\n" }, "cookies": [], "headers": [ @@ -57,15 +57,15 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-04-25T17:29:34.674Z", - "time": 900 + "startedDateTime": "2025-12-12T12:01:48.749Z", + "time": 833 }, { - "_id": "0e70fa043ccb96c72483c1dd21d002d5", + "_id": "8771dbd213b67010bcf9e0215d407fe1", "_order": 0, "cache": {}, "request": { - "bodySize": 427, + "bodySize": 525, "cookies": [], "headers": [ { @@ -85,17 +85,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"unknown-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Main Observability Pipeline\"},\"id\":\"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\"type\":\"pipelines\"}}" + "text": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"my-processor-group\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"enabled\":true,\"id\":\"unknown-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Main Observability Pipeline\"},\"id\":\"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\"type\":\"pipelines\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/deeea5f6-21fa-11f0-96e4-da7ad0900002" + "url": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/56cdbe24-d752-11f0-b260-da7ad0900002" }, "response": { - "bodySize": 353, + "bodySize": 357, "content": { "mimeType": "application/json", - "size": 353, - "text": "{\"errors\":[{\"title\":\"Component with ID filter-processor is an unknown component\",\"meta\":{\"message\":\"Component with ID filter-processor is an unknown component\"}},{\"title\":\"The following components are unused: [datadog-agent-source unknown-processor]\",\"meta\":{\"message\":\"The following components are unused: [datadog-agent-source unknown-processor]\"}}]}\n" + "size": 357, + "text": "{\"errors\":[{\"title\":\"Component with ID my-processor-group is an unknown component\",\"meta\":{\"message\":\"Component with ID my-processor-group is an unknown component\"}},{\"title\":\"The following components are unused: [datadog-agent-source unknown-processor]\",\"meta\":{\"message\":\"The following components are unused: [datadog-agent-source unknown-processor]\"}}]}\n" }, "cookies": [], "headers": [ @@ -110,11 +110,11 @@ "status": 400, "statusText": "Bad Request" }, - "startedDateTime": "2025-04-25T17:29:35.582Z", - "time": 395 + "startedDateTime": "2025-12-12T12:01:49.589Z", + "time": 359 }, { - "_id": "b56473f40b11d0869576a13195a8ddb5", + "_id": "a30b36313e350620d4183ac8b9c89a4c", "_order": 0, "cache": {}, "request": { @@ -131,7 +131,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/deeea5f6-21fa-11f0-96e4-da7ad0900002" + "url": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/56cdbe24-d752-11f0-b260-da7ad0900002" }, "response": { "bodySize": 0, @@ -152,8 +152,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-04-25T17:29:35.984Z", - "time": 574 + "startedDateTime": "2025-12-12T12:01:49.954Z", + "time": 709 } ], "pages": [], diff --git a/cassettes/v2/Observability-Pipelines_4170000189/Update-a-pipeline-returns-Not-Found-response_1595868066/frozen.json b/cassettes/v2/Observability-Pipelines_4170000189/Update-a-pipeline-returns-Not-Found-response_1595868066/frozen.json index 5324d652f90b..339c994c4c42 100644 --- a/cassettes/v2/Observability-Pipelines_4170000189/Update-a-pipeline-returns-Not-Found-response_1595868066/frozen.json +++ b/cassettes/v2/Observability-Pipelines_4170000189/Update-a-pipeline-returns-Not-Found-response_1595868066/frozen.json @@ -1 +1 @@ -"2025-04-25T17:29:36.564Z" +"2025-12-12T12:01:50.671Z" diff --git a/cassettes/v2/Observability-Pipelines_4170000189/Update-a-pipeline-returns-Not-Found-response_1595868066/recording.har b/cassettes/v2/Observability-Pipelines_4170000189/Update-a-pipeline-returns-Not-Found-response_1595868066/recording.har index 073ee1381c35..318661abddc9 100644 --- a/cassettes/v2/Observability-Pipelines_4170000189/Update-a-pipeline-returns-Not-Found-response_1595868066/recording.har +++ b/cassettes/v2/Observability-Pipelines_4170000189/Update-a-pipeline-returns-Not-Found-response_1595868066/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "ecb642541046438257cb30f1fe25da2a", + "_id": "e34d84ff45f443b4095304142fd8332a", "_order": 0, "cache": {}, "request": { - "bodySize": 426, + "bodySize": 526, "cookies": [], "headers": [ { @@ -32,7 +32,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Main Observability Pipeline\"},\"id\":\"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\"type\":\"pipelines\"}}" + "text": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"my-processor-group\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"enabled\":true,\"id\":\"my-processor-group\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Main Observability Pipeline\"},\"id\":\"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\"type\":\"pipelines\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/3fa85f64-5717-4562-b3fc-2c963f66afa6" @@ -57,8 +57,8 @@ "status": 404, "statusText": "Not Found" }, - "startedDateTime": "2025-04-25T17:29:36.567Z", - "time": 413 + "startedDateTime": "2025-12-12T12:01:50.676Z", + "time": 478 } ], "pages": [], diff --git a/cassettes/v2/Observability-Pipelines_4170000189/Update-a-pipeline-returns-OK-response_1400152949/frozen.json b/cassettes/v2/Observability-Pipelines_4170000189/Update-a-pipeline-returns-OK-response_1400152949/frozen.json index 8d87dea4cede..ecd3740c6f12 100644 --- a/cassettes/v2/Observability-Pipelines_4170000189/Update-a-pipeline-returns-OK-response_1400152949/frozen.json +++ b/cassettes/v2/Observability-Pipelines_4170000189/Update-a-pipeline-returns-OK-response_1400152949/frozen.json @@ -1 +1 @@ -"2025-04-25T17:29:36.987Z" +"2025-12-12T12:01:51.160Z" diff --git a/cassettes/v2/Observability-Pipelines_4170000189/Update-a-pipeline-returns-OK-response_1400152949/recording.har b/cassettes/v2/Observability-Pipelines_4170000189/Update-a-pipeline-returns-OK-response_1400152949/recording.har index 0cd185ef9a6c..b63448291980 100644 --- a/cassettes/v2/Observability-Pipelines_4170000189/Update-a-pipeline-returns-OK-response_1400152949/recording.har +++ b/cassettes/v2/Observability-Pipelines_4170000189/Update-a-pipeline-returns-OK-response_1400152949/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "ccedcb249a427cb75505c852f00f4319", + "_id": "da4c1e7179b6967e765b83722311cb84", "_order": 0, "cache": {}, "request": { - "bodySize": 382, + "bodySize": 480, "cookies": [], "headers": [ { @@ -32,17 +32,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Main Observability Pipeline\"},\"type\":\"pipelines\"}}" + "text": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"processor-group-0\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"enabled\":true,\"id\":\"processor-group-0\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Main Observability Pipeline\"},\"type\":\"pipelines\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines" }, "response": { - "bodySize": 427, + "bodySize": 525, "content": { "mimeType": "application/json", - "size": 427, - "text": "{\"data\":{\"id\":\"e04d5230-21fa-11f0-96e6-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}}}\n" + "size": 525, + "text": "{\"data\":{\"id\":\"58407a12-d752-11f0-b262-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"processor-group-0\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"enabled\":true,\"id\":\"processor-group-0\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}}}\n" }, "cookies": [], "headers": [ @@ -57,15 +57,15 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-04-25T17:29:36.990Z", - "time": 762 + "startedDateTime": "2025-12-12T12:01:51.163Z", + "time": 1021 }, { - "_id": "622ee817795a322e6bd48da965872af3", + "_id": "6b440e743fe04562fc6432de72f34666", "_order": 0, "cache": {}, "request": { - "bodySize": 431, + "bodySize": 531, "cookies": [], "headers": [ { @@ -85,17 +85,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"updated-datadog-logs-destination-id\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Updated Pipeline Name\"},\"id\":\"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\"type\":\"pipelines\"}}" + "text": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"updated-datadog-logs-destination-id\",\"inputs\":[\"my-processor-group\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"enabled\":true,\"id\":\"my-processor-group\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Updated Pipeline Name\"},\"id\":\"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\"type\":\"pipelines\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/e04d5230-21fa-11f0-96e6-da7ad0900002" + "url": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/58407a12-d752-11f0-b262-da7ad0900002" }, "response": { - "bodySize": 432, + "bodySize": 532, "content": { "mimeType": "application/json", - "size": 432, - "text": "{\"data\":{\"id\":\"e04d5230-21fa-11f0-96e6-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Updated Pipeline Name\",\"config\":{\"destinations\":[{\"id\":\"updated-datadog-logs-destination-id\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}}}\n" + "size": 532, + "text": "{\"data\":{\"id\":\"58407a12-d752-11f0-b262-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Updated Pipeline Name\",\"config\":{\"destinations\":[{\"id\":\"updated-datadog-logs-destination-id\",\"inputs\":[\"my-processor-group\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"enabled\":true,\"id\":\"my-processor-group\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}}}\n" }, "cookies": [], "headers": [ @@ -110,11 +110,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-04-25T17:29:37.759Z", - "time": 800 + "startedDateTime": "2025-12-12T12:01:52.190Z", + "time": 976 }, { - "_id": "147650d860f4a3414d1ab17f29d4fcee", + "_id": "3239901fa6bdd0071963346d8278697d", "_order": 0, "cache": {}, "request": { @@ -131,7 +131,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/e04d5230-21fa-11f0-96e6-da7ad0900002" + "url": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/58407a12-d752-11f0-b262-da7ad0900002" }, "response": { "bodySize": 0, @@ -152,8 +152,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-04-25T17:29:38.563Z", - "time": 670 + "startedDateTime": "2025-12-12T12:01:53.173Z", + "time": 864 } ], "pages": [], diff --git a/cassettes/v2/Observability-Pipelines_4170000189/Validate-an-observability-pipeline-returns-Bad-Request-response_2539203425/frozen.json b/cassettes/v2/Observability-Pipelines_4170000189/Validate-an-observability-pipeline-returns-Bad-Request-response_2539203425/frozen.json index a920f0b80716..6e4e98970c86 100644 --- a/cassettes/v2/Observability-Pipelines_4170000189/Validate-an-observability-pipeline-returns-Bad-Request-response_2539203425/frozen.json +++ b/cassettes/v2/Observability-Pipelines_4170000189/Validate-an-observability-pipeline-returns-Bad-Request-response_2539203425/frozen.json @@ -1 +1 @@ -"2025-04-25T17:29:39.236Z" +"2025-12-12T12:01:54.040Z" diff --git a/cassettes/v2/Observability-Pipelines_4170000189/Validate-an-observability-pipeline-returns-Bad-Request-response_2539203425/recording.har b/cassettes/v2/Observability-Pipelines_4170000189/Validate-an-observability-pipeline-returns-Bad-Request-response_2539203425/recording.har index c6b85b17d78d..336cc5d0f84f 100644 --- a/cassettes/v2/Observability-Pipelines_4170000189/Validate-an-observability-pipeline-returns-Bad-Request-response_2539203425/recording.har +++ b/cassettes/v2/Observability-Pipelines_4170000189/Validate-an-observability-pipeline-returns-Bad-Request-response_2539203425/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "be868b777a39d125df9570b7226efe40", + "_id": "863aee1f0430c0d4eb6521dbde4b995f", "_order": 0, "cache": {}, "request": { - "bodySize": 351, + "bodySize": 457, "cookies": [], "headers": [ { @@ -32,7 +32,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Main Observability Pipeline\"},\"type\":\"pipelines\"}}" + "text": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"my-processor-group\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"enabled\":true,\"id\":\"my-processor-group\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Main Observability Pipeline\"},\"type\":\"pipelines\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/validate" @@ -57,8 +57,8 @@ "status": 400, "statusText": "Bad Request" }, - "startedDateTime": "2025-04-25T17:29:39.238Z", - "time": 370 + "startedDateTime": "2025-12-12T12:01:54.041Z", + "time": 468 } ], "pages": [], diff --git a/cassettes/v2/Observability-Pipelines_4170000189/Validate-an-observability-pipeline-returns-OK-response_1773535341/frozen.json b/cassettes/v2/Observability-Pipelines_4170000189/Validate-an-observability-pipeline-returns-OK-response_1773535341/frozen.json index 3eafaa57b375..879a3bd79be0 100644 --- a/cassettes/v2/Observability-Pipelines_4170000189/Validate-an-observability-pipeline-returns-OK-response_1773535341/frozen.json +++ b/cassettes/v2/Observability-Pipelines_4170000189/Validate-an-observability-pipeline-returns-OK-response_1773535341/frozen.json @@ -1 +1 @@ -"2025-04-25T17:29:39.613Z" +"2025-12-12T12:01:54.520Z" diff --git a/cassettes/v2/Observability-Pipelines_4170000189/Validate-an-observability-pipeline-returns-OK-response_1773535341/recording.har b/cassettes/v2/Observability-Pipelines_4170000189/Validate-an-observability-pipeline-returns-OK-response_1773535341/recording.har index 309b636bba0f..cfea530c3c07 100644 --- a/cassettes/v2/Observability-Pipelines_4170000189/Validate-an-observability-pipeline-returns-OK-response_1773535341/recording.har +++ b/cassettes/v2/Observability-Pipelines_4170000189/Validate-an-observability-pipeline-returns-OK-response_1773535341/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "78f615a7dcd18ec7725144f1fe9ba135", + "_id": "621a711b583d6a391a85b709238bf078", "_order": 0, "cache": {}, "request": { - "bodySize": 382, + "bodySize": 482, "cookies": [], "headers": [ { @@ -32,7 +32,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"filter-processor\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"id\":\"filter-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"type\":\"filter\"}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Main Observability Pipeline\"},\"type\":\"pipelines\"}}" + "text": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"my-processor-group\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"enabled\":true,\"id\":\"my-processor-group\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Main Observability Pipeline\"},\"type\":\"pipelines\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/validate" @@ -40,7 +40,7 @@ "response": { "bodySize": 14, "content": { - "mimeType": "application/json", + "mimeType": "application/vnd.api+json", "size": 14, "text": "{\"errors\":[]}\n" }, @@ -48,17 +48,17 @@ "headers": [ { "name": "content-type", - "value": "application/json" + "value": "application/vnd.api+json" } ], - "headersSize": 216, + "headersSize": 224, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-04-25T17:29:39.614Z", - "time": 393 + "startedDateTime": "2025-12-12T12:01:54.522Z", + "time": 481 } ], "pages": [], diff --git a/examples/v2/observability-pipelines/CreatePipeline.ts b/examples/v2/observability-pipelines/CreatePipeline.ts index 68c86c40d55a..58d81afa4cd3 100644 --- a/examples/v2/observability-pipelines/CreatePipeline.ts +++ b/examples/v2/observability-pipelines/CreatePipeline.ts @@ -16,16 +16,24 @@ const params: v2.ObservabilityPipelinesApiCreatePipelineRequest = { destinations: [ { id: "datadog-logs-destination", - inputs: ["filter-processor"], + inputs: ["my-processor-group"], type: "datadog_logs", }, ], processors: [ { - id: "filter-processor", + enabled: true, + id: "my-processor-group", include: "service:my-service", inputs: ["datadog-agent-source"], - type: "filter", + processors: [ + { + enabled: true, + id: "filter-processor", + include: "status:error", + type: "filter", + }, + ], }, ], sources: [ diff --git a/examples/v2/observability-pipelines/UpdatePipeline.ts b/examples/v2/observability-pipelines/UpdatePipeline.ts index e7deda13b2d5..21127e520af0 100644 --- a/examples/v2/observability-pipelines/UpdatePipeline.ts +++ b/examples/v2/observability-pipelines/UpdatePipeline.ts @@ -19,16 +19,24 @@ const params: v2.ObservabilityPipelinesApiUpdatePipelineRequest = { destinations: [ { id: "updated-datadog-logs-destination-id", - inputs: ["filter-processor"], + inputs: ["my-processor-group"], type: "datadog_logs", }, ], processors: [ { - id: "filter-processor", + enabled: true, + id: "my-processor-group", include: "service:my-service", inputs: ["datadog-agent-source"], - type: "filter", + processors: [ + { + enabled: true, + id: "filter-processor", + include: "status:error", + type: "filter", + }, + ], }, ], sources: [ diff --git a/examples/v2/observability-pipelines/ValidatePipeline.ts b/examples/v2/observability-pipelines/ValidatePipeline.ts index 1a6cc8995dcb..6a5b539a95cf 100644 --- a/examples/v2/observability-pipelines/ValidatePipeline.ts +++ b/examples/v2/observability-pipelines/ValidatePipeline.ts @@ -16,16 +16,24 @@ const params: v2.ObservabilityPipelinesApiValidatePipelineRequest = { destinations: [ { id: "datadog-logs-destination", - inputs: ["filter-processor"], + inputs: ["my-processor-group"], type: "datadog_logs", }, ], processors: [ { - id: "filter-processor", + enabled: true, + id: "my-processor-group", include: "service:my-service", inputs: ["datadog-agent-source"], - type: "filter", + processors: [ + { + enabled: true, + id: "filter-processor", + include: "status:error", + type: "filter", + }, + ], }, ], sources: [ diff --git a/features/v2/given.json b/features/v2/given.json index a6a148f264e5..7725798de449 100644 --- a/features/v2/given.json +++ b/features/v2/given.json @@ -867,7 +867,7 @@ "parameters": [ { "name": "body", - "value": "{\n \"data\":{\n \"attributes\":{\n \"config\":{\n \"destinations\":[\n {\n \"id\":\"datadog-logs-destination\",\n \"inputs\":[\n \"filter-processor\"\n ],\n \"type\":\"datadog_logs\"\n }\n ],\n \"processors\":[\n {\n \"id\":\"filter-processor\",\n \"include\":\"service:my-service\",\n \"inputs\":[\n \"datadog-agent-source\"\n ],\n \"type\":\"filter\"\n }\n ],\n \"sources\":[\n {\n \"id\":\"datadog-agent-source\",\n \"type\":\"datadog_agent\"\n }\n ]\n },\n \"name\":\"Main Observability Pipeline\"\n },\n \"type\":\"pipelines\"\n }\n}" + "value": "{\n \"data\":{\n \"attributes\":{\n \"config\":{\n \"destinations\":[\n {\n \"id\":\"datadog-logs-destination\",\n \"inputs\":[\n \"processor-group-0\"\n ],\n \"type\":\"datadog_logs\"\n }\n ],\n \"processors\":[\n {\n \"id\":\"processor-group-0\",\n \"include\":\"service:my-service\",\n \"inputs\":[\n \"datadog-agent-source\"\n ],\n \"enabled\": true,\n \"processors\": [\n {\n \"id\": \"filter-processor\",\n \"type\": \"filter\",\n \"include\": \"status:error\",\n \"enabled\": true\n }\n ]\n }\n ],\n \"sources\":[\n {\n \"id\":\"datadog-agent-source\",\n \"type\":\"datadog_agent\"\n }\n ]\n },\n \"name\":\"Main Observability Pipeline\"\n },\n \"type\":\"pipelines\"\n }\n}" } ], "step": "there is a valid \"pipeline\" in the system", diff --git a/features/v2/observability_pipelines.feature b/features/v2/observability_pipelines.feature index c7149b1e4fad..c43fa8b3b767 100644 --- a/features/v2/observability_pipelines.feature +++ b/features/v2/observability_pipelines.feature @@ -12,7 +12,7 @@ Feature: Observability Pipelines Scenario: Create a new pipeline returns "Bad Request" response Given operation "CreatePipeline" enabled And new "CreatePipeline" request - And body with value {"data": {"attributes": {"config": {"destinations": [{"id": "datadog-logs-destination", "inputs": ["filter-processor"], "type": "datadog_logs"}], "processors": [{"id": "unknown-processor", "include": "service:my-service", "inputs": ["datadog-agent-source"], "type": "filter"}], "sources": [{"id": "datadog-agent-source", "type": "datadog_agent"}]}, "name": "Main Observability Pipeline"}, "type": "pipelines"}} + And body with value {"data": {"attributes": {"config": {"destinations": [{"id": "datadog-logs-destination", "inputs": ["my-processor-group"], "type": "datadog_logs"}], "processors": [{"enabled": true, "id": "unknown-processor", "include": "service:my-service", "inputs": ["datadog-agent-source"], "processors": [{"enabled": true, "id": "filter-processor", "include": "status:error", "type": "filter"}]}], "sources": [{"id": "datadog-agent-source", "type": "datadog_agent"}]}, "name": "Main Observability Pipeline"}, "type": "pipelines"}} When the request is sent Then the response status is 400 Bad Request @@ -20,7 +20,7 @@ Feature: Observability Pipelines Scenario: Create a new pipeline returns "Conflict" response Given operation "CreatePipeline" enabled And new "CreatePipeline" request - And body with value {"data": {"attributes": {"config": {"destinations": [{"id": "datadog-logs-destination", "inputs": ["filter-processor"], "type": "datadog_logs"}], "processors": [{"id": "filter-processor", "include": "service:my-service", "inputs": ["datadog-agent-source"], "type": "filter"}], "sources": [{"id": "datadog-agent-source", "type": "datadog_agent"}]}, "name": "Main Observability Pipeline"}, "type": "pipelines"}} + And body with value {"data": {"attributes": {"config": {"destinations": [{"id": "datadog-logs-destination", "inputs": ["filter-processor"], "type": "datadog_logs"}], "processors": [{"enabled": true, "id": "my-processor-group", "include": "service:my-service", "inputs": ["datadog-agent-source"], "processors": [{"enabled": true, "id": "filter-processor", "include": "status:error", "type": "filter"}, {"enabled": true, "field": "message", "id": "json-processor", "include": "*", "type": "parse_json"}]}], "sources": [{"id": "datadog-agent-source", "type": "datadog_agent"}]}, "name": "Main Observability Pipeline"}, "type": "pipelines"}} When the request is sent Then the response status is 409 Conflict @@ -28,7 +28,7 @@ Feature: Observability Pipelines Scenario: Create a new pipeline returns "OK" response Given operation "CreatePipeline" enabled And new "CreatePipeline" request - And body with value {"data": {"attributes": {"config": {"destinations": [{"id": "datadog-logs-destination", "inputs": ["filter-processor"], "type": "datadog_logs"}], "processors": [{"id": "filter-processor", "include": "service:my-service", "inputs": ["datadog-agent-source"], "type": "filter"}], "sources": [{"id": "datadog-agent-source", "type": "datadog_agent"}]}, "name": "Main Observability Pipeline"}, "type": "pipelines"}} + And body with value {"data": {"attributes": {"config": {"destinations": [{"id": "datadog-logs-destination", "inputs": ["my-processor-group"], "type": "datadog_logs"}], "processors": [{"enabled": true, "id": "my-processor-group", "include": "service:my-service", "inputs": ["datadog-agent-source"], "processors": [{"enabled": true, "id": "filter-processor", "include": "status:error", "type": "filter"}]}], "sources": [{"id": "datadog-agent-source", "type": "datadog_agent"}]}, "name": "Main Observability Pipeline"}, "type": "pipelines"}} When the request is sent Then the response status is 201 OK And the response "data" has field "id" @@ -106,7 +106,7 @@ Feature: Observability Pipelines And new "UpdatePipeline" request And there is a valid "pipeline" in the system And request contains "pipeline_id" parameter from "pipeline.data.id" - And body with value {"data": {"attributes": {"config": {"destinations": [{"id": "datadog-logs-destination", "inputs": ["filter-processor"], "type": "datadog_logs"}], "processors": [{"id": "unknown-processor", "include": "service:my-service", "inputs": ["datadog-agent-source"], "type": "filter"}], "sources": [{"id": "datadog-agent-source", "type": "datadog_agent"}]}, "name": "Main Observability Pipeline"}, "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "pipelines"}} + And body with value {"data": {"attributes": {"config": {"destinations": [{"id": "datadog-logs-destination", "inputs": ["my-processor-group"], "type": "datadog_logs"}], "processors": [{"enabled": true, "id": "unknown-processor", "include": "service:my-service", "inputs": ["datadog-agent-source"], "processors": [{"enabled": true, "id": "filter-processor", "include": "status:error", "type": "filter"}]}], "sources": [{"id": "datadog-agent-source", "type": "datadog_agent"}]}, "name": "Main Observability Pipeline"}, "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "pipelines"}} When the request is sent Then the response status is 400 Bad Request @@ -115,7 +115,7 @@ Feature: Observability Pipelines Given operation "UpdatePipeline" enabled And new "UpdatePipeline" request And request contains "pipeline_id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"config": {"destinations": [{"id": "datadog-logs-destination", "inputs": ["filter-processor"], "type": "datadog_logs"}], "processors": [{"id": "filter-processor", "include": "service:my-service", "inputs": ["datadog-agent-source"], "type": "filter"}], "sources": [{"id": "datadog-agent-source", "type": "datadog_agent"}]}, "name": "Main Observability Pipeline"}, "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "pipelines"}} + And body with value {"data": {"attributes": {"config": {"destinations": [{"id": "datadog-logs-destination", "inputs": ["filter-processor"], "type": "datadog_logs"}], "processors": [{"enabled": true, "id": "my-processor-group", "include": "service:my-service", "inputs": ["datadog-agent-source"], "processors": [{"enabled": true, "id": "filter-processor", "include": "status:error", "type": "filter"}, {"enabled": true, "field": "message", "id": "json-processor", "include": "*", "type": "parse_json"}]}], "sources": [{"id": "datadog-agent-source", "type": "datadog_agent"}]}, "name": "Main Observability Pipeline"}, "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "pipelines"}} When the request is sent Then the response status is 409 Conflict @@ -124,7 +124,7 @@ Feature: Observability Pipelines Given operation "UpdatePipeline" enabled And new "UpdatePipeline" request And request contains "pipeline_id" parameter with value "3fa85f64-5717-4562-b3fc-2c963f66afa6" - And body with value {"data": {"attributes": {"config": {"destinations": [{"id": "datadog-logs-destination", "inputs": ["filter-processor"], "type": "datadog_logs"}], "processors": [{"id": "filter-processor", "include": "service:my-service", "inputs": ["datadog-agent-source"], "type": "filter"}], "sources": [{"id": "datadog-agent-source", "type": "datadog_agent"}]}, "name": "Main Observability Pipeline"}, "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "pipelines"}} + And body with value {"data": {"attributes": {"config": {"destinations": [{"id": "datadog-logs-destination", "inputs": ["my-processor-group"], "type": "datadog_logs"}], "processors": [{"enabled": true, "id": "my-processor-group", "include": "service:my-service", "inputs": ["datadog-agent-source"], "processors": [{"enabled": true, "id": "filter-processor", "include": "status:error", "type": "filter"}]}], "sources": [{"id": "datadog-agent-source", "type": "datadog_agent"}]}, "name": "Main Observability Pipeline"}, "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "pipelines"}} When the request is sent Then the response status is 404 Not Found @@ -134,7 +134,7 @@ Feature: Observability Pipelines And there is a valid "pipeline" in the system And new "UpdatePipeline" request And request contains "pipeline_id" parameter from "pipeline.data.id" - And body with value {"data": {"attributes": {"config": {"destinations": [{"id": "updated-datadog-logs-destination-id", "inputs": ["filter-processor"], "type": "datadog_logs"}], "processors": [{"id": "filter-processor", "include": "service:my-service", "inputs": ["datadog-agent-source"], "type": "filter"}], "sources": [{"id": "datadog-agent-source", "type": "datadog_agent"}]}, "name": "Updated Pipeline Name"}, "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "pipelines"}} + And body with value {"data": {"attributes": {"config": {"destinations": [{"id": "updated-datadog-logs-destination-id", "inputs": ["my-processor-group"], "type": "datadog_logs"}], "processors": [{"enabled": true, "id": "my-processor-group", "include": "service:my-service", "inputs": ["datadog-agent-source"], "processors": [{"enabled": true, "id": "filter-processor", "include": "status:error", "type": "filter"}]}], "sources": [{"id": "datadog-agent-source", "type": "datadog_agent"}]}, "name": "Updated Pipeline Name"}, "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "type": "pipelines"}} When the request is sent Then the response status is 200 OK And the response "data" has field "id" @@ -149,7 +149,7 @@ Feature: Observability Pipelines Scenario: Validate an observability pipeline returns "Bad Request" response Given operation "ValidatePipeline" enabled And new "ValidatePipeline" request - And body with value {"data": {"attributes": {"config": {"destinations": [{"id": "datadog-logs-destination", "inputs": ["filter-processor"], "type": "datadog_logs"}], "processors": [{"id": "filter-processor", "inputs": ["datadog-agent-source"], "type": "filter"}], "sources": [{"id": "datadog-agent-source", "type": "datadog_agent"}]}, "name": "Main Observability Pipeline"}, "type": "pipelines"}} + And body with value {"data": {"attributes": {"config": {"destinations": [{"id": "datadog-logs-destination", "inputs": ["my-processor-group"], "type": "datadog_logs"}], "processors": [{"enabled": true, "id": "my-processor-group", "include": "service:my-service", "inputs": ["datadog-agent-source"], "processors": [{"enabled": true, "id": "filter-processor", "type": "filter"}]}], "sources": [{"id": "datadog-agent-source", "type": "datadog_agent"}]}, "name": "Main Observability Pipeline"}, "type": "pipelines"}} When the request is sent Then the response status is 400 Bad Request And the response "errors[0].title" is equal to "Field 'include' is required" @@ -161,7 +161,7 @@ Feature: Observability Pipelines Scenario: Validate an observability pipeline returns "OK" response Given operation "ValidatePipeline" enabled And new "ValidatePipeline" request - And body with value {"data": {"attributes": {"config": {"destinations": [{"id": "datadog-logs-destination", "inputs": ["filter-processor"], "type": "datadog_logs"}], "processors": [{"id": "filter-processor", "include": "service:my-service", "inputs": ["datadog-agent-source"], "type": "filter"}], "sources": [{"id": "datadog-agent-source", "type": "datadog_agent"}]}, "name": "Main Observability Pipeline"}, "type": "pipelines"}} + And body with value {"data": {"attributes": {"config": {"destinations": [{"id": "datadog-logs-destination", "inputs": ["my-processor-group"], "type": "datadog_logs"}], "processors": [{"enabled": true, "id": "my-processor-group", "include": "service:my-service", "inputs": ["datadog-agent-source"], "processors": [{"enabled": true, "id": "filter-processor", "include": "status:error", "type": "filter"}]}], "sources": [{"id": "datadog-agent-source", "type": "datadog_agent"}]}, "name": "Main Observability Pipeline"}, "type": "pipelines"}} When the request is sent Then the response status is 200 OK And the response "errors" has length 0 diff --git a/packages/datadog-api-client-v2/index.ts b/packages/datadog-api-client-v2/index.ts index bc7a8866c3e3..5b7c3eb00d62 100644 --- a/packages/datadog-api-client-v2/index.ts +++ b/packages/datadog-api-client-v2/index.ts @@ -3137,6 +3137,7 @@ export { ObservabilityPipelineAmazonSecurityLakeDestinationType } from "./models export { ObservabilityPipelineAwsAuth } from "./models/ObservabilityPipelineAwsAuth"; export { ObservabilityPipelineConfig } from "./models/ObservabilityPipelineConfig"; export { ObservabilityPipelineConfigDestinationItem } from "./models/ObservabilityPipelineConfigDestinationItem"; +export { ObservabilityPipelineConfigProcessorGroup } from "./models/ObservabilityPipelineConfigProcessorGroup"; export { ObservabilityPipelineConfigProcessorItem } from "./models/ObservabilityPipelineConfigProcessorItem"; export { ObservabilityPipelineConfigSourceItem } from "./models/ObservabilityPipelineConfigSourceItem"; export { ObservabilityPipelineCrowdStrikeNextGenSiemDestination } from "./models/ObservabilityPipelineCrowdStrikeNextGenSiemDestination"; diff --git a/packages/datadog-api-client-v2/models/ObjectSerializer.ts b/packages/datadog-api-client-v2/models/ObjectSerializer.ts index b55ca9dae7b2..6193c68727ba 100644 --- a/packages/datadog-api-client-v2/models/ObjectSerializer.ts +++ b/packages/datadog-api-client-v2/models/ObjectSerializer.ts @@ -1658,6 +1658,7 @@ import { ObservabilityPipelineAmazonS3Source } from "./ObservabilityPipelineAmaz import { ObservabilityPipelineAmazonSecurityLakeDestination } from "./ObservabilityPipelineAmazonSecurityLakeDestination"; import { ObservabilityPipelineAwsAuth } from "./ObservabilityPipelineAwsAuth"; import { ObservabilityPipelineConfig } from "./ObservabilityPipelineConfig"; +import { ObservabilityPipelineConfigProcessorGroup } from "./ObservabilityPipelineConfigProcessorGroup"; import { ObservabilityPipelineCrowdStrikeNextGenSiemDestination } from "./ObservabilityPipelineCrowdStrikeNextGenSiemDestination"; import { ObservabilityPipelineCrowdStrikeNextGenSiemDestinationCompression } from "./ObservabilityPipelineCrowdStrikeNextGenSiemDestinationCompression"; import { ObservabilityPipelineCustomProcessor } from "./ObservabilityPipelineCustomProcessor"; @@ -6341,6 +6342,8 @@ const typeMap: { [index: string]: any } = { ObservabilityPipelineAmazonSecurityLakeDestination, ObservabilityPipelineAwsAuth: ObservabilityPipelineAwsAuth, ObservabilityPipelineConfig: ObservabilityPipelineConfig, + ObservabilityPipelineConfigProcessorGroup: + ObservabilityPipelineConfigProcessorGroup, ObservabilityPipelineCrowdStrikeNextGenSiemDestination: ObservabilityPipelineCrowdStrikeNextGenSiemDestination, ObservabilityPipelineCrowdStrikeNextGenSiemDestinationCompression: diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineAddEnvVarsProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineAddEnvVarsProcessor.ts index b53ea3f750f1..a1db189f6513 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineAddEnvVarsProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineAddEnvVarsProcessor.ts @@ -12,6 +12,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; * The `add_env_vars` processor adds environment variable values to log events. */ export class ObservabilityPipelineAddEnvVarsProcessor { + /** + * Whether this processor is enabled. + */ + "enabled": boolean; /** * The unique identifier for this component. Used to reference this processor in the pipeline. */ @@ -20,10 +24,6 @@ export class ObservabilityPipelineAddEnvVarsProcessor { * A Datadog search query used to determine which logs this processor targets. */ "include": string; - /** - * A list of component IDs whose output is used as the input for this processor. - */ - "inputs": Array; /** * The processor type. The value should always be `add_env_vars`. */ @@ -49,6 +49,11 @@ export class ObservabilityPipelineAddEnvVarsProcessor { * @ignore */ static readonly attributeTypeMap: AttributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + required: true, + }, id: { baseName: "id", type: "string", @@ -59,11 +64,6 @@ export class ObservabilityPipelineAddEnvVarsProcessor { type: "string", required: true, }, - inputs: { - baseName: "inputs", - type: "Array", - required: true, - }, type: { baseName: "type", type: "ObservabilityPipelineAddEnvVarsProcessorType", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineAddFieldsProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineAddFieldsProcessor.ts index f2dcae19d2c3..5beaed87e914 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineAddFieldsProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineAddFieldsProcessor.ts @@ -12,6 +12,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; * The `add_fields` processor adds static key-value fields to logs. */ export class ObservabilityPipelineAddFieldsProcessor { + /** + * Whether this processor is enabled. + */ + "enabled": boolean; /** * A list of static fields (key-value pairs) that is added to each log event processed by this component. */ @@ -24,10 +28,6 @@ export class ObservabilityPipelineAddFieldsProcessor { * A Datadog search query used to determine which logs this processor targets. */ "include": string; - /** - * A list of component IDs whose output is used as the `input` for this component. - */ - "inputs": Array; /** * The processor type. The value should always be `add_fields`. */ @@ -49,6 +49,11 @@ export class ObservabilityPipelineAddFieldsProcessor { * @ignore */ static readonly attributeTypeMap: AttributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + required: true, + }, fields: { baseName: "fields", type: "Array", @@ -64,11 +69,6 @@ export class ObservabilityPipelineAddFieldsProcessor { type: "string", required: true, }, - inputs: { - baseName: "inputs", - type: "Array", - required: true, - }, type: { baseName: "type", type: "ObservabilityPipelineAddFieldsProcessorType", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineConfig.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineConfig.ts index eff11798e2c4..8394d388805e 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineConfig.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineConfig.ts @@ -4,7 +4,7 @@ * Copyright 2020-Present Datadog, Inc. */ import { ObservabilityPipelineConfigDestinationItem } from "./ObservabilityPipelineConfigDestinationItem"; -import { ObservabilityPipelineConfigProcessorItem } from "./ObservabilityPipelineConfigProcessorItem"; +import { ObservabilityPipelineConfigProcessorGroup } from "./ObservabilityPipelineConfigProcessorGroup"; import { ObservabilityPipelineConfigSourceItem } from "./ObservabilityPipelineConfigSourceItem"; import { AttributeTypeMap } from "../../datadog-api-client-common/util"; @@ -18,9 +18,9 @@ export class ObservabilityPipelineConfig { */ "destinations": Array; /** - * A list of processors that transform or enrich log data. + * A list of processor groups that transform or enrich log data. */ - "processors"?: Array; + "processors"?: Array; /** * A list of configured data sources for the pipeline. */ @@ -49,7 +49,7 @@ export class ObservabilityPipelineConfig { }, processors: { baseName: "processors", - type: "Array", + type: "Array", }, sources: { baseName: "sources", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineConfigProcessorGroup.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineConfigProcessorGroup.ts new file mode 100644 index 000000000000..eb6026281c61 --- /dev/null +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineConfigProcessorGroup.ts @@ -0,0 +1,90 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { ObservabilityPipelineConfigProcessorItem } from "./ObservabilityPipelineConfigProcessorItem"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * A group of processors. + */ +export class ObservabilityPipelineConfigProcessorGroup { + /** + * Whether this processor group is enabled. + */ + "enabled": boolean; + /** + * The unique identifier for the processor group. + */ + "id": string; + /** + * Conditional expression for when this processor group should execute. + */ + "include": string; + /** + * A list of IDs for components whose output is used as the input for this processor group. + */ + "inputs": Array; + /** + * Processors applied sequentially within this group. Events flow through each processor in order. + */ + "processors": Array; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + required: true, + }, + id: { + baseName: "id", + type: "string", + required: true, + }, + include: { + baseName: "include", + type: "string", + required: true, + }, + inputs: { + baseName: "inputs", + type: "Array", + required: true, + }, + processors: { + baseName: "processors", + type: "Array", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return ObservabilityPipelineConfigProcessorGroup.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineCustomProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineCustomProcessor.ts index 303466edb1f2..4021056c2547 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineCustomProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineCustomProcessor.ts @@ -12,6 +12,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; * The `custom_processor` processor transforms events using [Vector Remap Language (VRL)](https://vector.dev/docs/reference/vrl/) scripts with advanced filtering capabilities. */ export class ObservabilityPipelineCustomProcessor { + /** + * Whether this processor is enabled. + */ + "enabled": boolean; /** * The unique identifier for this processor. */ @@ -20,10 +24,6 @@ export class ObservabilityPipelineCustomProcessor { * A Datadog search query used to determine which logs this processor targets. This field should always be set to `*` for the custom_processor processor. */ "include": string; - /** - * A list of component IDs whose output is used as the input for this processor. - */ - "inputs": Array; /** * Array of VRL remap rules. */ @@ -49,6 +49,11 @@ export class ObservabilityPipelineCustomProcessor { * @ignore */ static readonly attributeTypeMap: AttributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + required: true, + }, id: { baseName: "id", type: "string", @@ -59,11 +64,6 @@ export class ObservabilityPipelineCustomProcessor { type: "string", required: true, }, - inputs: { - baseName: "inputs", - type: "Array", - required: true, - }, remaps: { baseName: "remaps", type: "Array", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineCustomProcessorRemap.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineCustomProcessorRemap.ts index 1b1332942fa7..413b94a1835a 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineCustomProcessorRemap.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineCustomProcessorRemap.ts @@ -17,7 +17,7 @@ export class ObservabilityPipelineCustomProcessorRemap { /** * Whether this remap rule is enabled. */ - "enabled": boolean; + "enabled"?: boolean; /** * A Datadog search query used to filter events for this specific remap rule. */ @@ -55,7 +55,6 @@ export class ObservabilityPipelineCustomProcessorRemap { enabled: { baseName: "enabled", type: "boolean", - required: true, }, include: { baseName: "include", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineDatadogTagsProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineDatadogTagsProcessor.ts index e96f031a82be..feacce6dacd8 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineDatadogTagsProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineDatadogTagsProcessor.ts @@ -17,6 +17,10 @@ export class ObservabilityPipelineDatadogTagsProcessor { * The action to take on tags with matching keys. */ "action": ObservabilityPipelineDatadogTagsProcessorAction; + /** + * Whether this processor is enabled. + */ + "enabled": boolean; /** * The unique identifier for this component. Used to reference this component in other parts of the pipeline (for example, as the `input` to downstream components). */ @@ -25,10 +29,6 @@ export class ObservabilityPipelineDatadogTagsProcessor { * A Datadog search query used to determine which logs this processor targets. */ "include": string; - /** - * A list of component IDs whose output is used as the `input` for this component. - */ - "inputs": Array; /** * A list of tag keys. */ @@ -63,6 +63,11 @@ export class ObservabilityPipelineDatadogTagsProcessor { type: "ObservabilityPipelineDatadogTagsProcessorAction", required: true, }, + enabled: { + baseName: "enabled", + type: "boolean", + required: true, + }, id: { baseName: "id", type: "string", @@ -73,11 +78,6 @@ export class ObservabilityPipelineDatadogTagsProcessor { type: "string", required: true, }, - inputs: { - baseName: "inputs", - type: "Array", - required: true, - }, keys: { baseName: "keys", type: "Array", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineDedupeProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineDedupeProcessor.ts index 93eb24b3de77..07fea1f50ca2 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineDedupeProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineDedupeProcessor.ts @@ -12,6 +12,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; * The `dedupe` processor removes duplicate fields in log events. */ export class ObservabilityPipelineDedupeProcessor { + /** + * Whether this processor is enabled. + */ + "enabled": boolean; /** * A list of log field paths to check for duplicates. */ @@ -24,10 +28,6 @@ export class ObservabilityPipelineDedupeProcessor { * A Datadog search query used to determine which logs this processor targets. */ "include": string; - /** - * A list of component IDs whose output is used as the input for this processor. - */ - "inputs": Array; /** * The deduplication mode to apply to the fields. */ @@ -53,6 +53,11 @@ export class ObservabilityPipelineDedupeProcessor { * @ignore */ static readonly attributeTypeMap: AttributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + required: true, + }, fields: { baseName: "fields", type: "Array", @@ -68,11 +73,6 @@ export class ObservabilityPipelineDedupeProcessor { type: "string", required: true, }, - inputs: { - baseName: "inputs", - type: "Array", - required: true, - }, mode: { baseName: "mode", type: "ObservabilityPipelineDedupeProcessorMode", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineEnrichmentTableProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineEnrichmentTableProcessor.ts index 2d810554f013..87abe074525d 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineEnrichmentTableProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineEnrichmentTableProcessor.ts @@ -13,6 +13,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; * The `enrichment_table` processor enriches logs using a static CSV file or GeoIP database. */ export class ObservabilityPipelineEnrichmentTableProcessor { + /** + * Whether this processor is enabled. + */ + "enabled": boolean; /** * Defines a static enrichment table loaded from a CSV file. */ @@ -29,10 +33,6 @@ export class ObservabilityPipelineEnrichmentTableProcessor { * A Datadog search query used to determine which logs this processor targets. */ "include": string; - /** - * A list of component IDs whose output is used as the input for this processor. - */ - "inputs": Array; /** * Path where enrichment results should be stored in the log. */ @@ -58,6 +58,11 @@ export class ObservabilityPipelineEnrichmentTableProcessor { * @ignore */ static readonly attributeTypeMap: AttributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + required: true, + }, file: { baseName: "file", type: "ObservabilityPipelineEnrichmentTableFile", @@ -76,11 +81,6 @@ export class ObservabilityPipelineEnrichmentTableProcessor { type: "string", required: true, }, - inputs: { - baseName: "inputs", - type: "Array", - required: true, - }, target: { baseName: "target", type: "string", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineFilterProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineFilterProcessor.ts index 9acbf9ff2c35..c3aaabee704c 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineFilterProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineFilterProcessor.ts @@ -11,6 +11,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; * The `filter` processor allows conditional processing of logs based on a Datadog search query. Logs that match the `include` query are passed through; others are discarded. */ export class ObservabilityPipelineFilterProcessor { + /** + * Whether this processor is enabled. + */ + "enabled": boolean; /** * The unique identifier for this component. Used to reference this component in other parts of the pipeline (for example, as the `input` to downstream components). */ @@ -19,10 +23,6 @@ export class ObservabilityPipelineFilterProcessor { * A Datadog search query used to determine which logs should pass through the filter. Logs that match this query continue to downstream components; others are dropped. */ "include": string; - /** - * A list of component IDs whose output is used as the `input` for this component. - */ - "inputs": Array; /** * The processor type. The value should always be `filter`. */ @@ -44,6 +44,11 @@ export class ObservabilityPipelineFilterProcessor { * @ignore */ static readonly attributeTypeMap: AttributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + required: true, + }, id: { baseName: "id", type: "string", @@ -54,11 +59,6 @@ export class ObservabilityPipelineFilterProcessor { type: "string", required: true, }, - inputs: { - baseName: "inputs", - type: "Array", - required: true, - }, type: { baseName: "type", type: "ObservabilityPipelineFilterProcessorType", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineGenerateMetricsProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineGenerateMetricsProcessor.ts index 8ea8882848df..1aca0eb87051 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineGenerateMetricsProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineGenerateMetricsProcessor.ts @@ -13,6 +13,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; * Metrics can be counters, gauges, or distributions and optionally grouped by log fields. */ export class ObservabilityPipelineGenerateMetricsProcessor { + /** + * Whether this processor is enabled. + */ + "enabled": boolean; /** * The unique identifier for this component. Used to reference this component in other parts of the pipeline. */ @@ -20,15 +24,11 @@ export class ObservabilityPipelineGenerateMetricsProcessor { /** * A Datadog search query used to determine which logs this processor targets. */ - "include": string; - /** - * A list of component IDs whose output is used as the `input` for this processor. - */ - "inputs": Array; + "include"?: string; /** * Configuration for generating individual metrics. */ - "metrics": Array; + "metrics"?: Array; /** * The processor type. Always `generate_datadog_metrics`. */ @@ -50,6 +50,11 @@ export class ObservabilityPipelineGenerateMetricsProcessor { * @ignore */ static readonly attributeTypeMap: AttributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + required: true, + }, id: { baseName: "id", type: "string", @@ -58,17 +63,10 @@ export class ObservabilityPipelineGenerateMetricsProcessor { include: { baseName: "include", type: "string", - required: true, - }, - inputs: { - baseName: "inputs", - type: "Array", - required: true, }, metrics: { baseName: "metrics", type: "Array", - required: true, }, type: { baseName: "type", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineOcsfMapperProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineOcsfMapperProcessor.ts index bf3b81d43068..d06ae0419878 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineOcsfMapperProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineOcsfMapperProcessor.ts @@ -12,6 +12,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; * The `ocsf_mapper` processor transforms logs into the OCSF schema using a predefined mapping configuration. */ export class ObservabilityPipelineOcsfMapperProcessor { + /** + * Whether this processor is enabled. + */ + "enabled": boolean; /** * The unique identifier for this component. Used to reference this component in other parts of the pipeline. */ @@ -20,10 +24,6 @@ export class ObservabilityPipelineOcsfMapperProcessor { * A Datadog search query used to determine which logs this processor targets. */ "include": string; - /** - * A list of component IDs whose output is used as the `input` for this processor. - */ - "inputs": Array; /** * A list of mapping rules to convert events to the OCSF format. */ @@ -49,6 +49,11 @@ export class ObservabilityPipelineOcsfMapperProcessor { * @ignore */ static readonly attributeTypeMap: AttributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + required: true, + }, id: { baseName: "id", type: "string", @@ -59,11 +64,6 @@ export class ObservabilityPipelineOcsfMapperProcessor { type: "string", required: true, }, - inputs: { - baseName: "inputs", - type: "Array", - required: true, - }, mappings: { baseName: "mappings", type: "Array", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineParseGrokProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineParseGrokProcessor.ts index 3516ee81976f..49590cdf07d2 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineParseGrokProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineParseGrokProcessor.ts @@ -16,6 +16,10 @@ export class ObservabilityPipelineParseGrokProcessor { * If set to `true`, disables the default Grok rules provided by Datadog. */ "disableLibraryRules"?: boolean; + /** + * Whether this processor is enabled. + */ + "enabled": boolean; /** * A unique identifier for this processor. */ @@ -24,10 +28,6 @@ export class ObservabilityPipelineParseGrokProcessor { * A Datadog search query used to determine which logs this processor targets. */ "include": string; - /** - * A list of component IDs whose output is used as the `input` for this component. - */ - "inputs": Array; /** * The list of Grok parsing rules. If multiple matching rules are provided, they are evaluated in order. The first successful match is applied. */ @@ -57,6 +57,11 @@ export class ObservabilityPipelineParseGrokProcessor { baseName: "disable_library_rules", type: "boolean", }, + enabled: { + baseName: "enabled", + type: "boolean", + required: true, + }, id: { baseName: "id", type: "string", @@ -67,11 +72,6 @@ export class ObservabilityPipelineParseGrokProcessor { type: "string", required: true, }, - inputs: { - baseName: "inputs", - type: "Array", - required: true, - }, rules: { baseName: "rules", type: "Array", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineParseJSONProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineParseJSONProcessor.ts index 80679820a744..2a4c673de323 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineParseJSONProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineParseJSONProcessor.ts @@ -11,6 +11,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; * 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. */ export class ObservabilityPipelineParseJSONProcessor { + /** + * Whether this processor is enabled. + */ + "enabled": boolean; /** * The name of the log field that contains a JSON string. */ @@ -23,10 +27,6 @@ export class ObservabilityPipelineParseJSONProcessor { * A Datadog search query used to determine which logs this processor targets. */ "include": string; - /** - * A list of component IDs whose output is used as the `input` for this component. - */ - "inputs": Array; /** * The processor type. The value should always be `parse_json`. */ @@ -48,6 +48,11 @@ export class ObservabilityPipelineParseJSONProcessor { * @ignore */ static readonly attributeTypeMap: AttributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + required: true, + }, field: { baseName: "field", type: "string", @@ -63,11 +68,6 @@ export class ObservabilityPipelineParseJSONProcessor { type: "string", required: true, }, - inputs: { - baseName: "inputs", - type: "Array", - required: true, - }, type: { baseName: "type", type: "ObservabilityPipelineParseJSONProcessorType", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineQuotaProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineQuotaProcessor.ts index 2e0a8bc5b804..31ff3a7e3fc4 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineQuotaProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineQuotaProcessor.ts @@ -17,7 +17,11 @@ export class ObservabilityPipelineQuotaProcessor { /** * If set to `true`, logs that matched the quota filter and sent after the quota has been met are dropped; only logs that did not match the filter query continue through the pipeline. */ - "dropEvents": boolean; + "dropEvents"?: boolean; + /** + * Whether this processor is enabled. + */ + "enabled": boolean; /** * The unique identifier for this component. Used to reference this component in other parts of the pipeline (for example, as the `input` to downstream components). */ @@ -30,10 +34,6 @@ export class ObservabilityPipelineQuotaProcessor { * A Datadog search query used to determine which logs this processor targets. */ "include": string; - /** - * A list of component IDs whose output is used as the `input` for this component. - */ - "inputs": Array; /** * The maximum amount of data or number of events allowed before the quota is enforced. Can be specified in bytes or events. */ @@ -81,6 +81,10 @@ export class ObservabilityPipelineQuotaProcessor { dropEvents: { baseName: "drop_events", type: "boolean", + }, + enabled: { + baseName: "enabled", + type: "boolean", required: true, }, id: { @@ -97,11 +101,6 @@ export class ObservabilityPipelineQuotaProcessor { type: "string", required: true, }, - inputs: { - baseName: "inputs", - type: "Array", - required: true, - }, limit: { baseName: "limit", type: "ObservabilityPipelineQuotaProcessorLimit", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineReduceProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineReduceProcessor.ts index 44c5bdd7a7ff..579ce8d9dd67 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineReduceProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineReduceProcessor.ts @@ -12,6 +12,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; * The `reduce` processor aggregates and merges logs based on matching keys and merge strategies. */ export class ObservabilityPipelineReduceProcessor { + /** + * Whether this processor is enabled. + */ + "enabled": boolean; /** * A list of fields used to group log events for merging. */ @@ -24,10 +28,6 @@ export class ObservabilityPipelineReduceProcessor { * A Datadog search query used to determine which logs this processor targets. */ "include": string; - /** - * A list of component IDs whose output is used as the input for this processor. - */ - "inputs": Array; /** * List of merge strategies defining how values from grouped events should be combined. */ @@ -53,6 +53,11 @@ export class ObservabilityPipelineReduceProcessor { * @ignore */ static readonly attributeTypeMap: AttributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + required: true, + }, groupBy: { baseName: "group_by", type: "Array", @@ -68,11 +73,6 @@ export class ObservabilityPipelineReduceProcessor { type: "string", required: true, }, - inputs: { - baseName: "inputs", - type: "Array", - required: true, - }, mergeStrategies: { baseName: "merge_strategies", type: "Array", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineRemoveFieldsProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineRemoveFieldsProcessor.ts index 75b78c14b1b0..ccc08662cf44 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineRemoveFieldsProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineRemoveFieldsProcessor.ts @@ -11,6 +11,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; * The `remove_fields` processor deletes specified fields from logs. */ export class ObservabilityPipelineRemoveFieldsProcessor { + /** + * Whether this processor is enabled. + */ + "enabled": boolean; /** * A list of field names to be removed from each log event. */ @@ -23,10 +27,6 @@ export class ObservabilityPipelineRemoveFieldsProcessor { * A Datadog search query used to determine which logs this processor targets. */ "include": string; - /** - * The `PipelineRemoveFieldsProcessor` `inputs`. - */ - "inputs": Array; /** * The processor type. The value should always be `remove_fields`. */ @@ -48,6 +48,11 @@ export class ObservabilityPipelineRemoveFieldsProcessor { * @ignore */ static readonly attributeTypeMap: AttributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + required: true, + }, fields: { baseName: "fields", type: "Array", @@ -63,11 +68,6 @@ export class ObservabilityPipelineRemoveFieldsProcessor { type: "string", required: true, }, - inputs: { - baseName: "inputs", - type: "Array", - required: true, - }, type: { baseName: "type", type: "ObservabilityPipelineRemoveFieldsProcessorType", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineRenameFieldsProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineRenameFieldsProcessor.ts index edd622b70a48..7b9af7c59ccf 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineRenameFieldsProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineRenameFieldsProcessor.ts @@ -12,6 +12,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; * The `rename_fields` processor changes field names. */ export class ObservabilityPipelineRenameFieldsProcessor { + /** + * Whether this processor is enabled. + */ + "enabled": boolean; /** * A list of rename rules specifying which fields to rename in the event, what to rename them to, and whether to preserve the original fields. */ @@ -24,10 +28,6 @@ export class ObservabilityPipelineRenameFieldsProcessor { * A Datadog search query used to determine which logs this processor targets. */ "include": string; - /** - * A list of component IDs whose output is used as the `input` for this component. - */ - "inputs": Array; /** * The processor type. The value should always be `rename_fields`. */ @@ -49,6 +49,11 @@ export class ObservabilityPipelineRenameFieldsProcessor { * @ignore */ static readonly attributeTypeMap: AttributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + required: true, + }, fields: { baseName: "fields", type: "Array", @@ -64,11 +69,6 @@ export class ObservabilityPipelineRenameFieldsProcessor { type: "string", required: true, }, - inputs: { - baseName: "inputs", - type: "Array", - required: true, - }, type: { baseName: "type", type: "ObservabilityPipelineRenameFieldsProcessorType", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineSampleProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineSampleProcessor.ts index d43e0182b633..a9cf933b53b4 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineSampleProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineSampleProcessor.ts @@ -11,6 +11,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; * The `sample` processor allows probabilistic sampling of logs at a fixed rate. */ export class ObservabilityPipelineSampleProcessor { + /** + * Whether this processor is enabled. + */ + "enabled": boolean; /** * The unique identifier for this component. Used to reference this component in other parts of the pipeline (for example, as the `input` to downstream components). */ @@ -19,10 +23,6 @@ export class ObservabilityPipelineSampleProcessor { * A Datadog search query used to determine which logs this processor targets. */ "include": string; - /** - * A list of component IDs whose output is used as the `input` for this component. - */ - "inputs": Array; /** * The percentage of logs to sample. */ @@ -52,6 +52,11 @@ export class ObservabilityPipelineSampleProcessor { * @ignore */ static readonly attributeTypeMap: AttributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + required: true, + }, id: { baseName: "id", type: "string", @@ -62,11 +67,6 @@ export class ObservabilityPipelineSampleProcessor { type: "string", required: true, }, - inputs: { - baseName: "inputs", - type: "Array", - required: true, - }, percentage: { baseName: "percentage", type: "number", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineSensitiveDataScannerProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineSensitiveDataScannerProcessor.ts index 6137f0b66da9..73e965a32b27 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineSensitiveDataScannerProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineSensitiveDataScannerProcessor.ts @@ -12,6 +12,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; * The `sensitive_data_scanner` processor detects and optionally redacts sensitive data in log events. */ export class ObservabilityPipelineSensitiveDataScannerProcessor { + /** + * Whether this processor is enabled. + */ + "enabled": boolean; /** * The unique identifier for this component. Used to reference this component in other parts of the pipeline (e.g., as input to downstream components). */ @@ -20,10 +24,6 @@ export class ObservabilityPipelineSensitiveDataScannerProcessor { * A Datadog search query used to determine which logs this processor targets. */ "include": string; - /** - * A list of component IDs whose output is used as the `input` for this component. - */ - "inputs": Array; /** * A list of rules for identifying and acting on sensitive data patterns. */ @@ -49,6 +49,11 @@ export class ObservabilityPipelineSensitiveDataScannerProcessor { * @ignore */ static readonly attributeTypeMap: AttributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + required: true, + }, id: { baseName: "id", type: "string", @@ -59,11 +64,6 @@ export class ObservabilityPipelineSensitiveDataScannerProcessor { type: "string", required: true, }, - inputs: { - baseName: "inputs", - type: "Array", - required: true, - }, rules: { baseName: "rules", type: "Array", diff --git a/packages/datadog-api-client-v2/models/ObservabilityPipelineThrottleProcessor.ts b/packages/datadog-api-client-v2/models/ObservabilityPipelineThrottleProcessor.ts index 706dc4b34901..d3d737305ef5 100644 --- a/packages/datadog-api-client-v2/models/ObservabilityPipelineThrottleProcessor.ts +++ b/packages/datadog-api-client-v2/models/ObservabilityPipelineThrottleProcessor.ts @@ -11,6 +11,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; * The `throttle` processor limits the number of events that pass through over a given time window. */ export class ObservabilityPipelineThrottleProcessor { + /** + * Whether this processor is enabled. + */ + "enabled": boolean; /** * Optional list of fields used to group events before the threshold has been reached. */ @@ -23,10 +27,6 @@ export class ObservabilityPipelineThrottleProcessor { * A Datadog search query used to determine which logs this processor targets. */ "include": string; - /** - * A list of component IDs whose output is used as the input for this processor. - */ - "inputs": Array; /** * the number of events allowed in a given time window. Events sent after the threshold has been reached, are dropped. */ @@ -56,6 +56,11 @@ export class ObservabilityPipelineThrottleProcessor { * @ignore */ static readonly attributeTypeMap: AttributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + required: true, + }, groupBy: { baseName: "group_by", type: "Array", @@ -70,11 +75,6 @@ export class ObservabilityPipelineThrottleProcessor { type: "string", required: true, }, - inputs: { - baseName: "inputs", - type: "Array", - required: true, - }, threshold: { baseName: "threshold", type: "number",