Skip to content

Commit c403da3

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add support for configuring Splunk sourcetype in Custom Destinations (#3164)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent af8c1d7 commit c403da3

34 files changed

Lines changed: 991 additions & 2 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18216,6 +18216,16 @@ components:
1821618216
Must have HTTPS scheme and forwarding back to Datadog is not allowed.
1821718217
example: https://example.com
1821818218
type: string
18219+
sourcetype:
18220+
description: |-
18221+
The Splunk sourcetype for the events sent to this Splunk destination.
18222+
18223+
If absent, the default sourcetype `_json` is used. If set to null, the `sourcetype`
18224+
field is omitted from the Splunk HEC payload entirely. Otherwise, the provided string
18225+
value is used as the sourcetype.
18226+
example: my-source
18227+
nullable: true
18228+
type: string
1821918229
type:
1822018230
$ref: "#/components/schemas/CustomDestinationForwardDestinationSplunkType"
1822118231
required:
@@ -18491,6 +18501,16 @@ components:
1849118501
Must have HTTPS scheme and forwarding back to Datadog is not allowed.
1849218502
example: https://example.com
1849318503
type: string
18504+
sourcetype:
18505+
description: |-
18506+
The Splunk sourcetype for the events sent to this Splunk destination.
18507+
18508+
If absent, the default sourcetype `_json` is used. If set to null, the `sourcetype`
18509+
field is omitted from the Splunk HEC payload entirely. Otherwise, the provided string
18510+
value is used as the sourcetype.
18511+
example: my-source
18512+
nullable: true
18513+
type: string
1849418514
type:
1849518515
$ref: "#/components/schemas/CustomDestinationResponseForwardDestinationSplunkType"
1849618516
required:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2026-03-25T16:23:47.455Z

cassettes/features/v2/logs_custom_destinations/Create-a-Splunk-custom-destination-with-a-null-sourcetype-returns-OK-response.yml

Lines changed: 46 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2026-03-25T16:23:49.008Z

cassettes/features/v2/logs_custom_destinations/Create-a-Splunk-custom-destination-with-a-sourcetype-returns-OK-response.yml

Lines changed: 46 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2026-03-25T16:23:50.210Z

cassettes/features/v2/logs_custom_destinations/Create-a-Splunk-custom-destination-with-an-empty-string-sourcetype-returns-OK-response.yml

Lines changed: 46 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2026-03-25T16:23:51.766Z

cassettes/features/v2/logs_custom_destinations/Create-a-Splunk-custom-destination-with-an-invalid-sourcetype-returns-Bad-Request-response.yml

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2026-03-25T16:23:52.120Z

0 commit comments

Comments
 (0)