Skip to content

Commit f4680c3

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Update Public API for OP Splunk HEC destination indexed_fields (#3690)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent e430145 commit f4680c3

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46462,6 +46462,15 @@ components:
4646246462
description: Optional name of the Splunk index where logs are written.
4646346463
example: main
4646446464
type: string
46465+
indexed_fields:
46466+
description: List of log field names to send as indexed fields to Splunk
46467+
HEC. Available only when `encoding` is `json`.
46468+
example:
46469+
- service
46470+
- host
46471+
items:
46472+
type: string
46473+
type: array
4646546474
inputs:
4646646475
description: A list of component IDs whose output is used as the `input`
4646746476
for this component.

packages/datadog-api-client-v2/models/ObservabilityPipelineSplunkHecDestination.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ export class ObservabilityPipelineSplunkHecDestination {
4040
* Optional name of the Splunk index where logs are written.
4141
*/
4242
"index"?: string;
43+
/**
44+
* List of log field names to send as indexed fields to Splunk HEC. Available only when `encoding` is `json`.
45+
*/
46+
"indexedFields"?: Array<string>;
4347
/**
4448
* A list of component IDs whose output is used as the `input` for this component.
4549
*/
@@ -98,6 +102,10 @@ export class ObservabilityPipelineSplunkHecDestination {
98102
baseName: "index",
99103
type: "string",
100104
},
105+
indexedFields: {
106+
baseName: "indexed_fields",
107+
type: "Array<string>",
108+
},
101109
inputs: {
102110
baseName: "inputs",
103111
type: "Array<string>",

0 commit comments

Comments
 (0)