Skip to content

Commit e0612d1

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

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.

services/observability_pipelines/src/v2/models/ObservabilityPipelineSplunkHecDestination.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ export class ObservabilityPipelineSplunkHecDestination {
3535
* Optional name of the Splunk index where logs are written.
3636
*/
3737
"index"?: string;
38+
/**
39+
* List of log field names to send as indexed fields to Splunk HEC. Available only when `encoding` is `json`.
40+
*/
41+
"indexedFields"?: Array<string>;
3842
/**
3943
* A list of component IDs whose output is used as the `input` for this component.
4044
*/
@@ -91,6 +95,10 @@ export class ObservabilityPipelineSplunkHecDestination {
9195
baseName: "index",
9296
type: "string",
9397
},
98+
indexedFields: {
99+
baseName: "indexed_fields",
100+
type: "Array<string>",
101+
},
94102
inputs: {
95103
baseName: "inputs",
96104
type: "Array<string>",

0 commit comments

Comments
 (0)