Skip to content

Commit 39b2c93

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 46a7592 of spec repo
1 parent 01ab389 commit 39b2c93

25 files changed

Lines changed: 872 additions & 1 deletion

File tree

.generator/schemas/v1/openapi.yaml

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6182,6 +6182,76 @@ components:
61826182
type: string
61836183
x-enum-varnames:
61846184
- ARITHMETIC_PROCESSOR
6185+
LogsArrayMapProcessor:
6186+
description: |-
6187+
The array-map processor transforms each element of a source array by running
6188+
sub-processors against it and writing results to a target array.
6189+
Sub-processors reference the current element via `$sourceElem` (read) and
6190+
`$targetElem` (write). Parent log attributes are read via plain paths as usual.
6191+
Supported sub-processor types: `attribute-remapper`, `string-builder-processor`,
6192+
`arithmetic-processor`, `category-processor`.
6193+
`is_enabled` on sub-processors is ignored; sub-processor execution is gated
6194+
entirely by the parent array-map's `is_enabled` flag.
6195+
properties:
6196+
is_enabled:
6197+
default: false
6198+
description: Whether or not the processor is enabled.
6199+
type: boolean
6200+
name:
6201+
description: Name of the processor.
6202+
type: string
6203+
preserve_source:
6204+
default: true
6205+
description: |-
6206+
When `false` and `source != target`, the source attribute is removed after
6207+
processing. Cannot be `false` when `source == target`.
6208+
type: boolean
6209+
processors:
6210+
description: |-
6211+
Sub-processors applied to each element. Allowed types: `attribute-remapper`,
6212+
`string-builder-processor`, `arithmetic-processor`, `category-processor`.
6213+
items:
6214+
$ref: "#/components/schemas/LogsArrayMapSubProcessor"
6215+
type: array
6216+
source:
6217+
description: |-
6218+
Attribute path of the source array. Elements are read-only via `$sourceElem`
6219+
inside sub-processors.
6220+
example: detail.resource.s3BucketDetails
6221+
type: string
6222+
target:
6223+
description: |-
6224+
Attribute path of the output array. Sub-processors write to `$targetElem`
6225+
(or `$targetElem.<field>`) to build each output element.
6226+
example: ocsf.resources
6227+
type: string
6228+
type:
6229+
$ref: "#/components/schemas/LogsArrayMapProcessorType"
6230+
required:
6231+
- source
6232+
- target
6233+
- processors
6234+
- type
6235+
type: object
6236+
LogsArrayMapProcessorType:
6237+
default: array-map
6238+
description: Type of logs array-map processor.
6239+
enum:
6240+
- array-map
6241+
example: array-map
6242+
type: string
6243+
x-enum-varnames:
6244+
- ARRAY_MAP
6245+
LogsArrayMapSubProcessor:
6246+
description: |-
6247+
A sub-processor used inside an array-map processor.
6248+
Allowed types: `attribute-remapper`, `string-builder-processor`,
6249+
`arithmetic-processor`, `category-processor`.
6250+
oneOf:
6251+
- $ref: "#/components/schemas/LogsAttributeRemapper"
6252+
- $ref: "#/components/schemas/LogsStringBuilderProcessor"
6253+
- $ref: "#/components/schemas/LogsArithmeticProcessor"
6254+
- $ref: "#/components/schemas/LogsCategoryProcessor"
61856255
LogsArrayProcessor:
61866256
description: |-
61876257
A processor for extracting, aggregating, or transforming values from JSON arrays within your logs.
@@ -7237,6 +7307,7 @@ components:
72377307
- $ref: "#/components/schemas/LogsDecoderProcessor"
72387308
- $ref: "#/components/schemas/LogsSchemaProcessor"
72397309
- $ref: "#/components/schemas/LogsExcludeAttributeProcessor"
7310+
- $ref: "#/components/schemas/LogsArrayMapProcessor"
72407311
LogsQueryCompute:
72417312
description: Define computation for a log query.
72427313
properties:
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2026-06-05T10:37:09.718Z

cassettes/features/v1/logs_pipelines/Create-a-pipeline-with-Array-Map-Processor-returns-OK-response.yml

Lines changed: 48 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-06-05T10:38:03.240Z

cassettes/features/v1/logs_pipelines/Create-a-pipeline-with-Array-Map-Processor-using-arithmetic-sub-processor-returns-OK-response.yml

Lines changed: 49 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-06-05T16:22:24.547Z

cassettes/features/v1/logs_pipelines/Create-a-pipeline-with-Array-Map-Processor-using-category-sub-processor-returns-OK-response.yml

Lines changed: 48 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-06-05T16:22:48.400Z

cassettes/features/v1/logs_pipelines/Create-a-pipeline-with-Array-Map-Processor-with-preserve-source-false-and-same-source-and-target-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-06-05T16:22:36.612Z

0 commit comments

Comments
 (0)