Skip to content

Commit 92c5028

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit a23b51c of spec repo
1 parent 58dc88d commit 92c5028

33 files changed

Lines changed: 77 additions & 52 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44821,7 +44821,7 @@ components:
4482144821
Protocol (OTLP) over gRPC and HTTP.
4482244822

4482344823

44824-
**Supported pipeline types:** logs, metrics'
44824+
**Supported pipeline types:** logs'
4482544825
properties:
4482644826
grpc_address_key:
4482744827
description: Environment variable name containing the gRPC server address
@@ -44851,7 +44851,6 @@ components:
4485144851
type: object
4485244852
x-pipeline-types:
4485344853
- logs
44854-
- metrics
4485544854
ObservabilityPipelineOpentelemetrySourceType:
4485644855
default: opentelemetry
4485744856
description: The source type. The value should always be `opentelemetry`.
@@ -46462,6 +46461,15 @@ components:
4646246461
description: Optional name of the Splunk index where logs are written.
4646346462
example: main
4646446463
type: string
46464+
indexed_fields:
46465+
description: List of log field names to send as indexed fields to Splunk
46466+
HEC.
46467+
example:
46468+
- service
46469+
- host
46470+
items:
46471+
type: string
46472+
type: array
4646546473
inputs:
4646646474
description: A list of component IDs whose output is used as the `input`
4646746475
for this component.

src/datadog_api_client/v2/model/observability_pipeline_config_destination_item.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,9 @@ def __init__(self, **kwargs):
185185
:param index: Optional name of the Splunk index where logs are written.
186186
:type index: str, optional
187187
188+
:param indexed_fields: List of log field names to send as indexed fields to Splunk HEC.
189+
:type indexed_fields: [str], optional
190+
188191
:param sourcetype: The Splunk sourcetype to assign to log events.
189192
:type sourcetype: str, optional
190193

src/datadog_api_client/v2/model/observability_pipeline_opentelemetry_source.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def __init__(
5656
"""
5757
The ``opentelemetry`` source receives telemetry data using the OpenTelemetry Protocol (OTLP) over gRPC and HTTP.
5858
59-
**Supported pipeline types:** logs, metrics
59+
**Supported pipeline types:** logs
6060
6161
:param grpc_address_key: Environment variable name containing the gRPC server address for receiving OTLP data. Must be a valid environment variable name (alphanumeric characters and underscores only).
6262
:type grpc_address_key: str, optional

src/datadog_api_client/v2/model/observability_pipeline_splunk_hec_destination.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ def openapi_types(_):
5050
"endpoint_url_key": (str,),
5151
"id": (str,),
5252
"index": (str,),
53+
"indexed_fields": ([str],),
5354
"inputs": ([str],),
5455
"sourcetype": (str,),
5556
"token_key": (str,),
@@ -63,6 +64,7 @@ def openapi_types(_):
6364
"endpoint_url_key": "endpoint_url_key",
6465
"id": "id",
6566
"index": "index",
67+
"indexed_fields": "indexed_fields",
6668
"inputs": "inputs",
6769
"sourcetype": "sourcetype",
6870
"token_key": "token_key",
@@ -85,6 +87,7 @@ def __init__(
8587
encoding: Union[ObservabilityPipelineSplunkHecDestinationEncoding, UnsetType] = unset,
8688
endpoint_url_key: Union[str, UnsetType] = unset,
8789
index: Union[str, UnsetType] = unset,
90+
indexed_fields: Union[List[str], UnsetType] = unset,
8891
sourcetype: Union[str, UnsetType] = unset,
8992
token_key: Union[str, UnsetType] = unset,
9093
**kwargs,
@@ -113,6 +116,9 @@ def __init__(
113116
:param index: Optional name of the Splunk index where logs are written.
114117
:type index: str, optional
115118
119+
:param indexed_fields: List of log field names to send as indexed fields to Splunk HEC.
120+
:type indexed_fields: [str], optional
121+
116122
:param inputs: A list of component IDs whose output is used as the ``input`` for this component.
117123
:type inputs: [str]
118124
@@ -135,6 +141,8 @@ def __init__(
135141
kwargs["endpoint_url_key"] = endpoint_url_key
136142
if index is not unset:
137143
kwargs["index"] = index
144+
if indexed_fields is not unset:
145+
kwargs["indexed_fields"] = indexed_fields
138146
if sourcetype is not unset:
139147
kwargs["sourcetype"] = sourcetype
140148
if token_key is not unset:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2026-01-30T16:23:40.491Z
1+
2026-03-11T19:24:16.758Z
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2026-01-30T16:23:40.989Z
1+
2026-03-11T19:24:17.185Z

tests/v2/cassettes/test_scenarios/test_create_a_new_pipeline_returns_ok_response.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interactions:
1111
uri: https://api.datadoghq.com/api/v2/obs-pipelines/pipelines
1212
response:
1313
body:
14-
string: '{"data":{"id":"0a44c8d2-fdf8-11f0-8d8c-da7ad0900002","type":"pipelines","attributes":{"name":"Main
14+
string: '{"data":{"id":"e5a4abf8-1d7f-11f1-bbf3-da7ad0900002","type":"pipelines","attributes":{"name":"Main
1515
Observability Pipeline","config":{"destinations":[{"id":"datadog-logs-destination","inputs":["my-processor-group"],"type":"datadog_logs"}],"processor_groups":[{"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"}]}],"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"}]}}}}
1616
1717
'
@@ -27,7 +27,7 @@ interactions:
2727
accept:
2828
- '*/*'
2929
method: DELETE
30-
uri: https://api.datadoghq.com/api/v2/obs-pipelines/pipelines/0a44c8d2-fdf8-11f0-8d8c-da7ad0900002
30+
uri: https://api.datadoghq.com/api/v2/obs-pipelines/pipelines/e5a4abf8-1d7f-11f1-bbf3-da7ad0900002
3131
response:
3232
body:
3333
string: ''
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2026-02-09T09:53:31.840Z
1+
2026-03-11T19:24:18.688Z

tests/v2/cassettes/test_scenarios/test_create_a_pipeline_with_dedupe_processor_with_cache_returns_ok_response.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interactions:
1111
uri: https://api.datadoghq.com/api/v2/obs-pipelines/pipelines
1212
response:
1313
body:
14-
string: '{"data":{"id":"31a750dc-059d-11f1-a2a8-da7ad0900002","type":"pipelines","attributes":{"name":"Pipeline
14+
string: '{"data":{"id":"e65ce92a-1d7f-11f1-bbf5-da7ad0900002","type":"pipelines","attributes":{"name":"Pipeline
1515
with Dedupe Cache","config":{"destinations":[{"id":"datadog-logs-destination","inputs":["my-processor-group"],"type":"datadog_logs"}],"processor_groups":[{"enabled":true,"id":"my-processor-group","include":"service:my-service","inputs":["datadog-agent-source"],"processors":[{"cache":{"num_events":5000},"enabled":true,"fields":["message"],"id":"dedupe-processor","include":"service:my-service","mode":"match","type":"dedupe"}]}],"processors":[{"enabled":true,"id":"my-processor-group","include":"service:my-service","inputs":["datadog-agent-source"],"processors":[{"cache":{"num_events":5000},"enabled":true,"fields":["message"],"id":"dedupe-processor","include":"service:my-service","mode":"match","type":"dedupe"}]}],"sources":[{"id":"datadog-agent-source","type":"datadog_agent"}]}}}}
1616
1717
'
@@ -27,7 +27,7 @@ interactions:
2727
accept:
2828
- '*/*'
2929
method: DELETE
30-
uri: https://api.datadoghq.com/api/v2/obs-pipelines/pipelines/31a750dc-059d-11f1-a2a8-da7ad0900002
30+
uri: https://api.datadoghq.com/api/v2/obs-pipelines/pipelines/e65ce92a-1d7f-11f1-bbf5-da7ad0900002
3131
response:
3232
body:
3333
string: ''
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2026-02-09T09:53:33.945Z
1+
2026-03-11T19:24:20.035Z

0 commit comments

Comments
 (0)