Skip to content

Commit e15581b

Browse files
committed
Add log drain format option
1 parent 7639eb4 commit e15581b

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

components/schemas/containers/config/ContainerIntegrations.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,5 +138,13 @@ properties:
138138
url:
139139
description: The URL to the third party logging service where logs will be sent.
140140
type: string
141+
format:
142+
description: The format Cycle will use to send the logs.
143+
type:
144+
- string
145+
- "null"
146+
enum:
147+
- ndjson-headers
148+
- ndjson-raw
141149
- type: "null"
142150
- type: "null"

stackspec/schema/StackSpecContainerConfigIntegrations.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,14 @@ properties:
219219
oneOf:
220220
- type: string
221221
- $ref: StackVariable.yml
222+
format:
223+
description: The format Cycle will use to send the logs.
224+
oneOf:
225+
- type: string
226+
enum:
227+
- ndjson-headers
228+
- ndjson-raw
229+
- StackVariable.yml
222230
- type: "null"
223231
- $ref: StackVariable.yml
224232
- type: "null"

0 commit comments

Comments
 (0)