cribl-control-plane 0.1.0b1__py3-none-any.whl → 0.1.1rc1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cribl-control-plane might be problematic. Click here for more details.
- cribl_control_plane/_hooks/clientcredentials.py +91 -41
- cribl_control_plane/_version.py +4 -4
- cribl_control_plane/errors/apierror.py +1 -1
- cribl_control_plane/errors/criblcontrolplaneerror.py +1 -1
- cribl_control_plane/errors/error.py +1 -1
- cribl_control_plane/errors/healthstatus_error.py +1 -1
- cribl_control_plane/errors/no_response_error.py +1 -1
- cribl_control_plane/errors/responsevalidationerror.py +1 -1
- cribl_control_plane/groups_sdk.py +4 -4
- cribl_control_plane/httpclient.py +0 -1
- cribl_control_plane/lakedatasets.py +12 -12
- cribl_control_plane/models/__init__.py +92 -25
- cribl_control_plane/models/configgroup.py +17 -2
- cribl_control_plane/models/createversionundoop.py +3 -3
- cribl_control_plane/models/cribllakedatasetupdate.py +81 -0
- cribl_control_plane/models/distributedsummary.py +6 -0
- cribl_control_plane/models/gitinfo.py +14 -3
- cribl_control_plane/models/input.py +65 -63
- cribl_control_plane/models/inputappscope.py +4 -0
- cribl_control_plane/models/inputazureblob.py +4 -0
- cribl_control_plane/models/inputcollection.py +4 -0
- cribl_control_plane/models/inputconfluentcloud.py +8 -0
- cribl_control_plane/models/inputcribl.py +4 -0
- cribl_control_plane/models/inputcriblhttp.py +4 -0
- cribl_control_plane/models/inputcribllakehttp.py +4 -0
- cribl_control_plane/models/inputcriblmetrics.py +4 -0
- cribl_control_plane/models/inputcribltcp.py +4 -0
- cribl_control_plane/models/inputcrowdstrike.py +7 -0
- cribl_control_plane/models/inputdatadogagent.py +4 -0
- cribl_control_plane/models/inputdatagen.py +4 -0
- cribl_control_plane/models/inputedgeprometheus.py +12 -0
- cribl_control_plane/models/inputelastic.py +11 -0
- cribl_control_plane/models/inputeventhub.py +6 -0
- cribl_control_plane/models/inputexec.py +4 -0
- cribl_control_plane/models/inputfile.py +6 -0
- cribl_control_plane/models/inputfirehose.py +4 -0
- cribl_control_plane/models/inputgooglepubsub.py +7 -0
- cribl_control_plane/models/inputgrafana.py +8 -0
- cribl_control_plane/models/inputhttp.py +4 -0
- cribl_control_plane/models/inputhttpraw.py +4 -0
- cribl_control_plane/models/inputjournalfiles.py +4 -0
- cribl_control_plane/models/inputkafka.py +8 -0
- cribl_control_plane/models/inputkinesis.py +15 -0
- cribl_control_plane/models/inputkubeevents.py +4 -0
- cribl_control_plane/models/inputkubelogs.py +4 -0
- cribl_control_plane/models/inputkubemetrics.py +4 -0
- cribl_control_plane/models/inputloki.py +4 -0
- cribl_control_plane/models/inputmetrics.py +4 -0
- cribl_control_plane/models/inputmodeldriventelemetry.py +4 -0
- cribl_control_plane/models/inputmsk.py +7 -0
- cribl_control_plane/models/inputnetflow.py +4 -0
- cribl_control_plane/models/inputoffice365mgmt.py +11 -0
- cribl_control_plane/models/inputoffice365msgtrace.py +11 -0
- cribl_control_plane/models/inputoffice365service.py +11 -0
- cribl_control_plane/models/inputopentelemetry.py +8 -0
- cribl_control_plane/models/inputprometheus.py +10 -0
- cribl_control_plane/models/inputprometheusrw.py +4 -0
- cribl_control_plane/models/inputrawudp.py +4 -0
- cribl_control_plane/models/inputs3.py +7 -0
- cribl_control_plane/models/inputs3inventory.py +7 -0
- cribl_control_plane/models/inputsecuritylake.py +7 -0
- cribl_control_plane/models/inputsnmp.py +11 -0
- cribl_control_plane/models/inputsplunk.py +9 -0
- cribl_control_plane/models/inputsplunkhec.py +4 -0
- cribl_control_plane/models/inputsplunksearch.py +7 -0
- cribl_control_plane/models/inputsqs.py +17 -10
- cribl_control_plane/models/inputsyslog.py +8 -0
- cribl_control_plane/models/inputsystemmetrics.py +32 -0
- cribl_control_plane/models/inputsystemstate.py +4 -0
- cribl_control_plane/models/inputtcp.py +4 -0
- cribl_control_plane/models/inputtcpjson.py +4 -0
- cribl_control_plane/models/inputwef.py +6 -0
- cribl_control_plane/models/inputwindowsmetrics.py +28 -0
- cribl_control_plane/models/inputwineventlogs.py +8 -0
- cribl_control_plane/models/inputwiz.py +7 -0
- cribl_control_plane/models/inputwizwebhook.py +4 -0
- cribl_control_plane/models/inputzscalerhec.py +4 -0
- cribl_control_plane/models/jobinfo.py +4 -1
- cribl_control_plane/models/nodeprovidedinfo.py +4 -1
- cribl_control_plane/models/output.py +86 -81
- cribl_control_plane/models/outputazureblob.py +20 -0
- cribl_control_plane/models/outputazuredataexplorer.py +28 -0
- cribl_control_plane/models/outputazureeventhub.py +17 -0
- cribl_control_plane/models/outputazurelogs.py +13 -0
- cribl_control_plane/models/outputchronicle.py +444 -0
- cribl_control_plane/models/outputclickhouse.py +17 -0
- cribl_control_plane/models/outputcloudwatch.py +13 -0
- cribl_control_plane/models/outputconfluentcloud.py +24 -0
- cribl_control_plane/models/outputcriblhttp.py +15 -0
- cribl_control_plane/models/outputcribllake.py +21 -0
- cribl_control_plane/models/outputcribltcp.py +12 -0
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +15 -0
- cribl_control_plane/models/outputdatabricks.py +28 -176
- cribl_control_plane/models/outputdatadog.py +30 -0
- cribl_control_plane/models/outputdataset.py +23 -0
- cribl_control_plane/models/outputdls3.py +35 -0
- cribl_control_plane/models/outputdynatracehttp.py +22 -0
- cribl_control_plane/models/outputdynatraceotlp.py +22 -0
- cribl_control_plane/models/outputelastic.py +18 -0
- cribl_control_plane/models/outputelasticcloud.py +13 -0
- cribl_control_plane/models/outputexabeam.py +14 -0
- cribl_control_plane/models/outputfilesystem.py +15 -0
- cribl_control_plane/models/outputgooglechronicle.py +26 -4
- cribl_control_plane/models/outputgooglecloudlogging.py +28 -4
- cribl_control_plane/models/outputgooglecloudstorage.py +28 -0
- cribl_control_plane/models/outputgooglepubsub.py +13 -0
- cribl_control_plane/models/outputgrafanacloud.py +50 -0
- cribl_control_plane/models/outputgraphite.py +12 -0
- cribl_control_plane/models/outputhoneycomb.py +13 -0
- cribl_control_plane/models/outputhumiohec.py +15 -0
- cribl_control_plane/models/outputinfluxdb.py +19 -0
- cribl_control_plane/models/outputkafka.py +24 -0
- cribl_control_plane/models/outputkinesis.py +15 -0
- cribl_control_plane/models/outputloki.py +20 -0
- cribl_control_plane/models/outputminio.py +28 -0
- cribl_control_plane/models/outputmsk.py +23 -0
- cribl_control_plane/models/outputnewrelic.py +16 -0
- cribl_control_plane/models/outputnewrelicevents.py +16 -0
- cribl_control_plane/models/outputopentelemetry.py +22 -0
- cribl_control_plane/models/outputprometheus.py +13 -0
- cribl_control_plane/models/outputring.py +2 -0
- cribl_control_plane/models/outputs3.py +35 -0
- cribl_control_plane/models/outputsecuritylake.py +29 -0
- cribl_control_plane/models/outputsentinel.py +15 -0
- cribl_control_plane/models/outputsentineloneaisiem.py +13 -0
- cribl_control_plane/models/outputservicenow.py +21 -0
- cribl_control_plane/models/outputsignalfx.py +13 -0
- cribl_control_plane/models/outputsns.py +13 -0
- cribl_control_plane/models/outputsplunk.py +15 -0
- cribl_control_plane/models/outputsplunkhec.py +13 -0
- cribl_control_plane/models/outputsplunklb.py +15 -0
- cribl_control_plane/models/outputsqs.py +23 -10
- cribl_control_plane/models/outputstatsd.py +12 -0
- cribl_control_plane/models/outputstatsdext.py +12 -0
- cribl_control_plane/models/outputsumologic.py +15 -0
- cribl_control_plane/models/outputsyslog.py +24 -0
- cribl_control_plane/models/outputtcpjson.py +12 -0
- cribl_control_plane/models/outputwavefront.py +13 -0
- cribl_control_plane/models/outputwebhook.py +23 -0
- cribl_control_plane/models/outputxsiam.py +13 -0
- cribl_control_plane/models/packinfo.py +3 -0
- cribl_control_plane/models/packinstallinfo.py +3 -0
- cribl_control_plane/models/runnablejobcollection.py +4 -0
- cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +9 -5
- cribl_control_plane/models/updatepacksop.py +27 -0
- cribl_control_plane/models/uploadpackresponse.py +13 -0
- cribl_control_plane/packs.py +196 -1
- {cribl_control_plane-0.1.0b1.dist-info → cribl_control_plane-0.1.1rc1.dist-info}/METADATA +47 -13
- {cribl_control_plane-0.1.0b1.dist-info → cribl_control_plane-0.1.1rc1.dist-info}/RECORD +150 -146
- {cribl_control_plane-0.1.0b1.dist-info → cribl_control_plane-0.1.1rc1.dist-info}/WHEEL +0 -0
|
@@ -16,16 +16,22 @@ class OutputGoogleChronicleType(str, Enum):
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
class OutputGoogleChronicleAPIVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
19
|
+
# V1
|
|
19
20
|
V1 = "v1"
|
|
21
|
+
# V2
|
|
20
22
|
V2 = "v2"
|
|
21
23
|
|
|
22
24
|
|
|
23
25
|
class OutputGoogleChronicleAuthenticationMethod(
|
|
24
26
|
str, Enum, metaclass=utils.OpenEnumMeta
|
|
25
27
|
):
|
|
28
|
+
# API key
|
|
26
29
|
MANUAL = "manual"
|
|
30
|
+
# API key secret
|
|
27
31
|
SECRET = "secret"
|
|
32
|
+
# Service account credentials
|
|
28
33
|
SERVICE_ACCOUNT = "serviceAccount"
|
|
34
|
+
# Service account credentials secret
|
|
29
35
|
SERVICE_ACCOUNT_SECRET = "serviceAccountSecret"
|
|
30
36
|
|
|
31
37
|
|
|
@@ -84,7 +90,9 @@ class OutputGoogleChronicleTimeoutRetrySettings(BaseModel):
|
|
|
84
90
|
|
|
85
91
|
|
|
86
92
|
class SendEventsAs(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
93
|
+
# Unstructured
|
|
87
94
|
UNSTRUCTURED = "unstructured"
|
|
95
|
+
# UDM
|
|
88
96
|
UDM = "udm"
|
|
89
97
|
|
|
90
98
|
|
|
@@ -104,8 +112,11 @@ class OutputGoogleChronicleFailedRequestLoggingMode(
|
|
|
104
112
|
):
|
|
105
113
|
r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
|
|
106
114
|
|
|
115
|
+
# Payload
|
|
107
116
|
PAYLOAD = "payload"
|
|
117
|
+
# Payload + Headers
|
|
108
118
|
PAYLOAD_AND_HEADERS = "payloadAndHeaders"
|
|
119
|
+
# None
|
|
109
120
|
NONE = "none"
|
|
110
121
|
|
|
111
122
|
|
|
@@ -114,8 +125,11 @@ class OutputGoogleChronicleBackpressureBehavior(
|
|
|
114
125
|
):
|
|
115
126
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
116
127
|
|
|
128
|
+
# Block
|
|
117
129
|
BLOCK = "block"
|
|
130
|
+
# Drop
|
|
118
131
|
DROP = "drop"
|
|
132
|
+
# Persistent Queue
|
|
119
133
|
QUEUE = "queue"
|
|
120
134
|
|
|
121
135
|
|
|
@@ -130,12 +144,12 @@ class ExtraLogType(BaseModel):
|
|
|
130
144
|
description: Optional[str] = None
|
|
131
145
|
|
|
132
146
|
|
|
133
|
-
class
|
|
147
|
+
class OutputGoogleChronicleCustomLabelTypedDict(TypedDict):
|
|
134
148
|
key: str
|
|
135
149
|
value: str
|
|
136
150
|
|
|
137
151
|
|
|
138
|
-
class
|
|
152
|
+
class OutputGoogleChronicleCustomLabel(BaseModel):
|
|
139
153
|
key: str
|
|
140
154
|
|
|
141
155
|
value: str
|
|
@@ -144,22 +158,29 @@ class CustomLabel(BaseModel):
|
|
|
144
158
|
class OutputGoogleChronicleCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
145
159
|
r"""Codec to use to compress the persisted data"""
|
|
146
160
|
|
|
161
|
+
# None
|
|
147
162
|
NONE = "none"
|
|
163
|
+
# Gzip
|
|
148
164
|
GZIP = "gzip"
|
|
149
165
|
|
|
150
166
|
|
|
151
167
|
class OutputGoogleChronicleQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
152
168
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
153
169
|
|
|
170
|
+
# Block
|
|
154
171
|
BLOCK = "block"
|
|
172
|
+
# Drop new data
|
|
155
173
|
DROP = "drop"
|
|
156
174
|
|
|
157
175
|
|
|
158
176
|
class OutputGoogleChronicleMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
159
177
|
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
160
178
|
|
|
179
|
+
# Error
|
|
161
180
|
ERROR = "error"
|
|
181
|
+
# Backpressure
|
|
162
182
|
BACKPRESSURE = "backpressure"
|
|
183
|
+
# Always On
|
|
163
184
|
ALWAYS = "always"
|
|
164
185
|
|
|
165
186
|
|
|
@@ -239,7 +260,7 @@ class OutputGoogleChronicleTypedDict(TypedDict):
|
|
|
239
260
|
r"""A unique identifier (UUID) for your Google SecOps instance. This is provided by your Google representative and is required for API V2 authentication."""
|
|
240
261
|
namespace: NotRequired[str]
|
|
241
262
|
r"""User-configured environment namespace to identify the data domain the logs originated from. Use namespace as a tag to identify the appropriate data domain for indexing and enrichment functionality. Can be overwritten by event field __namespace."""
|
|
242
|
-
custom_labels: NotRequired[List[
|
|
263
|
+
custom_labels: NotRequired[List[OutputGoogleChronicleCustomLabelTypedDict]]
|
|
243
264
|
r"""Custom labels to be added to every batch"""
|
|
244
265
|
api_key: NotRequired[str]
|
|
245
266
|
r"""Organization's API key in Google SecOps"""
|
|
@@ -417,7 +438,8 @@ class OutputGoogleChronicle(BaseModel):
|
|
|
417
438
|
r"""User-configured environment namespace to identify the data domain the logs originated from. Use namespace as a tag to identify the appropriate data domain for indexing and enrichment functionality. Can be overwritten by event field __namespace."""
|
|
418
439
|
|
|
419
440
|
custom_labels: Annotated[
|
|
420
|
-
Optional[List[
|
|
441
|
+
Optional[List[OutputGoogleChronicleCustomLabel]],
|
|
442
|
+
pydantic.Field(alias="customLabels"),
|
|
421
443
|
] = None
|
|
422
444
|
r"""Custom labels to be added to every batch"""
|
|
423
445
|
|
|
@@ -16,16 +16,22 @@ class OutputGoogleCloudLoggingType(str, Enum):
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
class LogLocationType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
19
|
+
# Project
|
|
19
20
|
PROJECT = "project"
|
|
21
|
+
# Organization
|
|
20
22
|
ORGANIZATION = "organization"
|
|
23
|
+
# Billing Account
|
|
21
24
|
BILLING_ACCOUNT = "billingAccount"
|
|
25
|
+
# Folder
|
|
22
26
|
FOLDER = "folder"
|
|
23
27
|
|
|
24
28
|
|
|
25
29
|
class PayloadFormat(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
26
30
|
r"""Format to use when sending payload. Defaults to Text."""
|
|
27
31
|
|
|
32
|
+
# Text
|
|
28
33
|
TEXT = "text"
|
|
34
|
+
# JSON
|
|
29
35
|
JSON = "json"
|
|
30
36
|
|
|
31
37
|
|
|
@@ -64,8 +70,11 @@ class OutputGoogleCloudLoggingGoogleAuthenticationMethod(
|
|
|
64
70
|
):
|
|
65
71
|
r"""Choose Auto to use Google Application Default Credentials (ADC), Manual to enter Google service account credentials directly, or Secret to select or create a stored secret that references Google service account credentials."""
|
|
66
72
|
|
|
73
|
+
# Auto
|
|
67
74
|
AUTO = "auto"
|
|
75
|
+
# Manual
|
|
68
76
|
MANUAL = "manual"
|
|
77
|
+
# Secret
|
|
69
78
|
SECRET = "secret"
|
|
70
79
|
|
|
71
80
|
|
|
@@ -74,15 +83,20 @@ class OutputGoogleCloudLoggingBackpressureBehavior(
|
|
|
74
83
|
):
|
|
75
84
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
76
85
|
|
|
86
|
+
# Block
|
|
77
87
|
BLOCK = "block"
|
|
88
|
+
# Drop
|
|
78
89
|
DROP = "drop"
|
|
90
|
+
# Persistent Queue
|
|
79
91
|
QUEUE = "queue"
|
|
80
92
|
|
|
81
93
|
|
|
82
94
|
class OutputGoogleCloudLoggingCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
83
95
|
r"""Codec to use to compress the persisted data"""
|
|
84
96
|
|
|
97
|
+
# None
|
|
85
98
|
NONE = "none"
|
|
99
|
+
# Gzip
|
|
86
100
|
GZIP = "gzip"
|
|
87
101
|
|
|
88
102
|
|
|
@@ -91,15 +105,20 @@ class OutputGoogleCloudLoggingQueueFullBehavior(
|
|
|
91
105
|
):
|
|
92
106
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
93
107
|
|
|
108
|
+
# Block
|
|
94
109
|
BLOCK = "block"
|
|
110
|
+
# Drop new data
|
|
95
111
|
DROP = "drop"
|
|
96
112
|
|
|
97
113
|
|
|
98
114
|
class OutputGoogleCloudLoggingMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
99
115
|
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
100
116
|
|
|
117
|
+
# Error
|
|
101
118
|
ERROR = "error"
|
|
119
|
+
# Backpressure
|
|
102
120
|
BACKPRESSURE = "backpressure"
|
|
121
|
+
# Always On
|
|
103
122
|
ALWAYS = "always"
|
|
104
123
|
|
|
105
124
|
|
|
@@ -115,9 +134,9 @@ class OutputGoogleCloudLoggingTypedDict(TypedDict):
|
|
|
115
134
|
type: OutputGoogleCloudLoggingType
|
|
116
135
|
log_location_type: LogLocationType
|
|
117
136
|
log_name_expression: str
|
|
118
|
-
r"""JavaScript expression to compute the value of the log name."""
|
|
137
|
+
r"""JavaScript expression to compute the value of the log name. If Validate and correct log name is enabled, invalid characters (characters other than alphanumerics, forward-slashes, underscores, hyphens, and periods) will be replaced with an underscore."""
|
|
119
138
|
log_location_expression: str
|
|
120
|
-
r"""JavaScript expression to compute the value of the folder ID with which log entries should be associated."""
|
|
139
|
+
r"""JavaScript expression to compute the value of the folder ID with which log entries should be associated. If Validate and correct log name is enabled, invalid characters (characters other than alphanumerics, forward-slashes, underscores, hyphens, and periods) will be replaced with an underscore."""
|
|
121
140
|
id: NotRequired[str]
|
|
122
141
|
r"""Unique ID for this output"""
|
|
123
142
|
pipeline: NotRequired[str]
|
|
@@ -128,6 +147,7 @@ class OutputGoogleCloudLoggingTypedDict(TypedDict):
|
|
|
128
147
|
r"""Optionally, enable this config only on a specified Git branch. If empty, will be enabled everywhere."""
|
|
129
148
|
streamtags: NotRequired[List[str]]
|
|
130
149
|
r"""Tags for filtering and grouping in @{product}"""
|
|
150
|
+
sanitize_log_names: NotRequired[bool]
|
|
131
151
|
payload_format: NotRequired[PayloadFormat]
|
|
132
152
|
r"""Format to use when sending payload. Defaults to Text."""
|
|
133
153
|
log_labels: NotRequired[List[LogLabelTypedDict]]
|
|
@@ -247,12 +267,12 @@ class OutputGoogleCloudLogging(BaseModel):
|
|
|
247
267
|
]
|
|
248
268
|
|
|
249
269
|
log_name_expression: Annotated[str, pydantic.Field(alias="logNameExpression")]
|
|
250
|
-
r"""JavaScript expression to compute the value of the log name."""
|
|
270
|
+
r"""JavaScript expression to compute the value of the log name. If Validate and correct log name is enabled, invalid characters (characters other than alphanumerics, forward-slashes, underscores, hyphens, and periods) will be replaced with an underscore."""
|
|
251
271
|
|
|
252
272
|
log_location_expression: Annotated[
|
|
253
273
|
str, pydantic.Field(alias="logLocationExpression")
|
|
254
274
|
]
|
|
255
|
-
r"""JavaScript expression to compute the value of the folder ID with which log entries should be associated."""
|
|
275
|
+
r"""JavaScript expression to compute the value of the folder ID with which log entries should be associated. If Validate and correct log name is enabled, invalid characters (characters other than alphanumerics, forward-slashes, underscores, hyphens, and periods) will be replaced with an underscore."""
|
|
256
276
|
|
|
257
277
|
id: Optional[str] = None
|
|
258
278
|
r"""Unique ID for this output"""
|
|
@@ -271,6 +291,10 @@ class OutputGoogleCloudLogging(BaseModel):
|
|
|
271
291
|
streamtags: Optional[List[str]] = None
|
|
272
292
|
r"""Tags for filtering and grouping in @{product}"""
|
|
273
293
|
|
|
294
|
+
sanitize_log_names: Annotated[
|
|
295
|
+
Optional[bool], pydantic.Field(alias="sanitizeLogNames")
|
|
296
|
+
] = False
|
|
297
|
+
|
|
274
298
|
payload_format: Annotated[
|
|
275
299
|
Annotated[Optional[PayloadFormat], PlainValidator(validate_open_enum(False))],
|
|
276
300
|
pydantic.Field(alias="payloadFormat"),
|
|
@@ -25,36 +25,52 @@ class OutputGoogleCloudStorageSignatureVersion(str, Enum, metaclass=utils.OpenEn
|
|
|
25
25
|
class OutputGoogleCloudStorageAuthenticationMethod(
|
|
26
26
|
str, Enum, metaclass=utils.OpenEnumMeta
|
|
27
27
|
):
|
|
28
|
+
# auto
|
|
28
29
|
AUTO = "auto"
|
|
30
|
+
# manual
|
|
29
31
|
MANUAL = "manual"
|
|
32
|
+
# Secret Key pair
|
|
30
33
|
SECRET = "secret"
|
|
31
34
|
|
|
32
35
|
|
|
33
36
|
class OutputGoogleCloudStorageObjectACL(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
34
37
|
r"""Object ACL to assign to uploaded objects"""
|
|
35
38
|
|
|
39
|
+
# private
|
|
36
40
|
PRIVATE = "private"
|
|
41
|
+
# bucket-owner-read
|
|
37
42
|
BUCKET_OWNER_READ = "bucket-owner-read"
|
|
43
|
+
# bucket-owner-full-control
|
|
38
44
|
BUCKET_OWNER_FULL_CONTROL = "bucket-owner-full-control"
|
|
45
|
+
# project-private
|
|
39
46
|
PROJECT_PRIVATE = "project-private"
|
|
47
|
+
# authenticated-read
|
|
40
48
|
AUTHENTICATED_READ = "authenticated-read"
|
|
49
|
+
# public-read
|
|
41
50
|
PUBLIC_READ = "public-read"
|
|
42
51
|
|
|
43
52
|
|
|
44
53
|
class OutputGoogleCloudStorageStorageClass(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
45
54
|
r"""Storage class to select for uploaded objects"""
|
|
46
55
|
|
|
56
|
+
# Standard Storage
|
|
47
57
|
STANDARD = "STANDARD"
|
|
58
|
+
# Nearline Storage
|
|
48
59
|
NEARLINE = "NEARLINE"
|
|
60
|
+
# Coldline Storage
|
|
49
61
|
COLDLINE = "COLDLINE"
|
|
62
|
+
# Archive Storage
|
|
50
63
|
ARCHIVE = "ARCHIVE"
|
|
51
64
|
|
|
52
65
|
|
|
53
66
|
class OutputGoogleCloudStorageDataFormat(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
54
67
|
r"""Format of the output data"""
|
|
55
68
|
|
|
69
|
+
# JSON
|
|
56
70
|
JSON = "json"
|
|
71
|
+
# Raw
|
|
57
72
|
RAW = "raw"
|
|
73
|
+
# Parquet
|
|
58
74
|
PARQUET = "parquet"
|
|
59
75
|
|
|
60
76
|
|
|
@@ -63,7 +79,9 @@ class OutputGoogleCloudStorageBackpressureBehavior(
|
|
|
63
79
|
):
|
|
64
80
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
65
81
|
|
|
82
|
+
# Block
|
|
66
83
|
BLOCK = "block"
|
|
84
|
+
# Drop
|
|
67
85
|
DROP = "drop"
|
|
68
86
|
|
|
69
87
|
|
|
@@ -72,7 +90,9 @@ class OutputGoogleCloudStorageDiskSpaceProtection(
|
|
|
72
90
|
):
|
|
73
91
|
r"""How to handle events when disk space is below the global 'Min free disk space' limit"""
|
|
74
92
|
|
|
93
|
+
# Block
|
|
75
94
|
BLOCK = "block"
|
|
95
|
+
# Drop
|
|
76
96
|
DROP = "drop"
|
|
77
97
|
|
|
78
98
|
|
|
@@ -86,23 +106,31 @@ class OutputGoogleCloudStorageCompression(str, Enum, metaclass=utils.OpenEnumMet
|
|
|
86
106
|
class OutputGoogleCloudStorageCompressionLevel(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
87
107
|
r"""Compression level to apply before moving files to final destination"""
|
|
88
108
|
|
|
109
|
+
# Best Speed
|
|
89
110
|
BEST_SPEED = "best_speed"
|
|
111
|
+
# Normal
|
|
90
112
|
NORMAL = "normal"
|
|
113
|
+
# Best Compression
|
|
91
114
|
BEST_COMPRESSION = "best_compression"
|
|
92
115
|
|
|
93
116
|
|
|
94
117
|
class OutputGoogleCloudStorageParquetVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
95
118
|
r"""Determines which data types are supported and how they are represented"""
|
|
96
119
|
|
|
120
|
+
# 1.0
|
|
97
121
|
PARQUET_1_0 = "PARQUET_1_0"
|
|
122
|
+
# 2.4
|
|
98
123
|
PARQUET_2_4 = "PARQUET_2_4"
|
|
124
|
+
# 2.6
|
|
99
125
|
PARQUET_2_6 = "PARQUET_2_6"
|
|
100
126
|
|
|
101
127
|
|
|
102
128
|
class OutputGoogleCloudStorageDataPageVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
103
129
|
r"""Serialization format of data pages. Note that some reader implementations use Data page V2's attributes to work more efficiently, while others ignore it."""
|
|
104
130
|
|
|
131
|
+
# V1
|
|
105
132
|
DATA_PAGE_V1 = "DATA_PAGE_V1"
|
|
133
|
+
# V2
|
|
106
134
|
DATA_PAGE_V2 = "DATA_PAGE_V2"
|
|
107
135
|
|
|
108
136
|
|
|
@@ -20,38 +20,51 @@ class OutputGooglePubsubGoogleAuthenticationMethod(
|
|
|
20
20
|
):
|
|
21
21
|
r"""Choose Auto to use Google Application Default Credentials (ADC), Manual to enter Google service account credentials directly, or Secret to select or create a stored secret that references Google service account credentials."""
|
|
22
22
|
|
|
23
|
+
# Auto
|
|
23
24
|
AUTO = "auto"
|
|
25
|
+
# Manual
|
|
24
26
|
MANUAL = "manual"
|
|
27
|
+
# Secret
|
|
25
28
|
SECRET = "secret"
|
|
26
29
|
|
|
27
30
|
|
|
28
31
|
class OutputGooglePubsubBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
29
32
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
30
33
|
|
|
34
|
+
# Block
|
|
31
35
|
BLOCK = "block"
|
|
36
|
+
# Drop
|
|
32
37
|
DROP = "drop"
|
|
38
|
+
# Persistent Queue
|
|
33
39
|
QUEUE = "queue"
|
|
34
40
|
|
|
35
41
|
|
|
36
42
|
class OutputGooglePubsubCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
37
43
|
r"""Codec to use to compress the persisted data"""
|
|
38
44
|
|
|
45
|
+
# None
|
|
39
46
|
NONE = "none"
|
|
47
|
+
# Gzip
|
|
40
48
|
GZIP = "gzip"
|
|
41
49
|
|
|
42
50
|
|
|
43
51
|
class OutputGooglePubsubQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
44
52
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
45
53
|
|
|
54
|
+
# Block
|
|
46
55
|
BLOCK = "block"
|
|
56
|
+
# Drop new data
|
|
47
57
|
DROP = "drop"
|
|
48
58
|
|
|
49
59
|
|
|
50
60
|
class OutputGooglePubsubMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
51
61
|
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
52
62
|
|
|
63
|
+
# Error
|
|
53
64
|
ERROR = "error"
|
|
65
|
+
# Backpressure
|
|
54
66
|
BACKPRESSURE = "backpressure"
|
|
67
|
+
# Always On
|
|
55
68
|
ALWAYS = "always"
|
|
56
69
|
|
|
57
70
|
|
|
@@ -18,7 +18,9 @@ class OutputGrafanaCloudType2(str, Enum):
|
|
|
18
18
|
class OutputGrafanaCloudMessageFormat2(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
19
19
|
r"""Format to use when sending logs to Loki (Protobuf or JSON)"""
|
|
20
20
|
|
|
21
|
+
# Protobuf
|
|
21
22
|
PROTOBUF = "protobuf"
|
|
23
|
+
# JSON
|
|
22
24
|
JSON = "json"
|
|
23
25
|
|
|
24
26
|
|
|
@@ -36,10 +38,15 @@ class OutputGrafanaCloudLabel2(BaseModel):
|
|
|
36
38
|
class OutputGrafanaCloudPrometheusAuthAuthenticationType2(
|
|
37
39
|
str, Enum, metaclass=utils.OpenEnumMeta
|
|
38
40
|
):
|
|
41
|
+
# None
|
|
39
42
|
NONE = "none"
|
|
43
|
+
# Auth token
|
|
40
44
|
TOKEN = "token"
|
|
45
|
+
# Auth token (text secret)
|
|
41
46
|
TEXT_SECRET = "textSecret"
|
|
47
|
+
# Basic
|
|
42
48
|
BASIC = "basic"
|
|
49
|
+
# Basic (credentials secret)
|
|
43
50
|
CREDENTIALS_SECRET = "credentialsSecret"
|
|
44
51
|
|
|
45
52
|
|
|
@@ -87,10 +94,15 @@ class OutputGrafanaCloudPrometheusAuth2(BaseModel):
|
|
|
87
94
|
class OutputGrafanaCloudLokiAuthAuthenticationType2(
|
|
88
95
|
str, Enum, metaclass=utils.OpenEnumMeta
|
|
89
96
|
):
|
|
97
|
+
# None
|
|
90
98
|
NONE = "none"
|
|
99
|
+
# Auth token
|
|
91
100
|
TOKEN = "token"
|
|
101
|
+
# Auth token (text secret)
|
|
92
102
|
TEXT_SECRET = "textSecret"
|
|
103
|
+
# Basic
|
|
93
104
|
BASIC = "basic"
|
|
105
|
+
# Basic (credentials secret)
|
|
94
106
|
CREDENTIALS_SECRET = "credentialsSecret"
|
|
95
107
|
|
|
96
108
|
|
|
@@ -151,8 +163,11 @@ class OutputGrafanaCloudFailedRequestLoggingMode2(
|
|
|
151
163
|
):
|
|
152
164
|
r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
|
|
153
165
|
|
|
166
|
+
# Payload
|
|
154
167
|
PAYLOAD = "payload"
|
|
168
|
+
# Payload + Headers
|
|
155
169
|
PAYLOAD_AND_HEADERS = "payloadAndHeaders"
|
|
170
|
+
# None
|
|
156
171
|
NONE = "none"
|
|
157
172
|
|
|
158
173
|
|
|
@@ -213,30 +228,40 @@ class OutputGrafanaCloudTimeoutRetrySettings2(BaseModel):
|
|
|
213
228
|
class OutputGrafanaCloudBackpressureBehavior2(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
214
229
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
215
230
|
|
|
231
|
+
# Block
|
|
216
232
|
BLOCK = "block"
|
|
233
|
+
# Drop
|
|
217
234
|
DROP = "drop"
|
|
235
|
+
# Persistent Queue
|
|
218
236
|
QUEUE = "queue"
|
|
219
237
|
|
|
220
238
|
|
|
221
239
|
class OutputGrafanaCloudCompression2(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
222
240
|
r"""Codec to use to compress the persisted data"""
|
|
223
241
|
|
|
242
|
+
# None
|
|
224
243
|
NONE = "none"
|
|
244
|
+
# Gzip
|
|
225
245
|
GZIP = "gzip"
|
|
226
246
|
|
|
227
247
|
|
|
228
248
|
class OutputGrafanaCloudQueueFullBehavior2(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
229
249
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
230
250
|
|
|
251
|
+
# Block
|
|
231
252
|
BLOCK = "block"
|
|
253
|
+
# Drop new data
|
|
232
254
|
DROP = "drop"
|
|
233
255
|
|
|
234
256
|
|
|
235
257
|
class OutputGrafanaCloudMode2(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
236
258
|
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
237
259
|
|
|
260
|
+
# Error
|
|
238
261
|
ERROR = "error"
|
|
262
|
+
# Backpressure
|
|
239
263
|
BACKPRESSURE = "backpressure"
|
|
264
|
+
# Always On
|
|
240
265
|
ALWAYS = "always"
|
|
241
266
|
|
|
242
267
|
|
|
@@ -518,7 +543,9 @@ class OutputGrafanaCloudType1(str, Enum):
|
|
|
518
543
|
class OutputGrafanaCloudMessageFormat1(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
519
544
|
r"""Format to use when sending logs to Loki (Protobuf or JSON)"""
|
|
520
545
|
|
|
546
|
+
# Protobuf
|
|
521
547
|
PROTOBUF = "protobuf"
|
|
548
|
+
# JSON
|
|
522
549
|
JSON = "json"
|
|
523
550
|
|
|
524
551
|
|
|
@@ -536,10 +563,15 @@ class OutputGrafanaCloudLabel1(BaseModel):
|
|
|
536
563
|
class OutputGrafanaCloudPrometheusAuthAuthenticationType1(
|
|
537
564
|
str, Enum, metaclass=utils.OpenEnumMeta
|
|
538
565
|
):
|
|
566
|
+
# None
|
|
539
567
|
NONE = "none"
|
|
568
|
+
# Auth token
|
|
540
569
|
TOKEN = "token"
|
|
570
|
+
# Auth token (text secret)
|
|
541
571
|
TEXT_SECRET = "textSecret"
|
|
572
|
+
# Basic
|
|
542
573
|
BASIC = "basic"
|
|
574
|
+
# Basic (credentials secret)
|
|
543
575
|
CREDENTIALS_SECRET = "credentialsSecret"
|
|
544
576
|
|
|
545
577
|
|
|
@@ -587,10 +619,15 @@ class OutputGrafanaCloudPrometheusAuth1(BaseModel):
|
|
|
587
619
|
class OutputGrafanaCloudLokiAuthAuthenticationType1(
|
|
588
620
|
str, Enum, metaclass=utils.OpenEnumMeta
|
|
589
621
|
):
|
|
622
|
+
# None
|
|
590
623
|
NONE = "none"
|
|
624
|
+
# Auth token
|
|
591
625
|
TOKEN = "token"
|
|
626
|
+
# Auth token (text secret)
|
|
592
627
|
TEXT_SECRET = "textSecret"
|
|
628
|
+
# Basic
|
|
593
629
|
BASIC = "basic"
|
|
630
|
+
# Basic (credentials secret)
|
|
594
631
|
CREDENTIALS_SECRET = "credentialsSecret"
|
|
595
632
|
|
|
596
633
|
|
|
@@ -651,8 +688,11 @@ class OutputGrafanaCloudFailedRequestLoggingMode1(
|
|
|
651
688
|
):
|
|
652
689
|
r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
|
|
653
690
|
|
|
691
|
+
# Payload
|
|
654
692
|
PAYLOAD = "payload"
|
|
693
|
+
# Payload + Headers
|
|
655
694
|
PAYLOAD_AND_HEADERS = "payloadAndHeaders"
|
|
695
|
+
# None
|
|
656
696
|
NONE = "none"
|
|
657
697
|
|
|
658
698
|
|
|
@@ -713,30 +753,40 @@ class OutputGrafanaCloudTimeoutRetrySettings1(BaseModel):
|
|
|
713
753
|
class OutputGrafanaCloudBackpressureBehavior1(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
714
754
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
715
755
|
|
|
756
|
+
# Block
|
|
716
757
|
BLOCK = "block"
|
|
758
|
+
# Drop
|
|
717
759
|
DROP = "drop"
|
|
760
|
+
# Persistent Queue
|
|
718
761
|
QUEUE = "queue"
|
|
719
762
|
|
|
720
763
|
|
|
721
764
|
class OutputGrafanaCloudCompression1(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
722
765
|
r"""Codec to use to compress the persisted data"""
|
|
723
766
|
|
|
767
|
+
# None
|
|
724
768
|
NONE = "none"
|
|
769
|
+
# Gzip
|
|
725
770
|
GZIP = "gzip"
|
|
726
771
|
|
|
727
772
|
|
|
728
773
|
class OutputGrafanaCloudQueueFullBehavior1(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
729
774
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
730
775
|
|
|
776
|
+
# Block
|
|
731
777
|
BLOCK = "block"
|
|
778
|
+
# Drop new data
|
|
732
779
|
DROP = "drop"
|
|
733
780
|
|
|
734
781
|
|
|
735
782
|
class OutputGrafanaCloudMode1(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
736
783
|
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
737
784
|
|
|
785
|
+
# Error
|
|
738
786
|
ERROR = "error"
|
|
787
|
+
# Backpressure
|
|
739
788
|
BACKPRESSURE = "backpressure"
|
|
789
|
+
# Always On
|
|
740
790
|
ALWAYS = "always"
|
|
741
791
|
|
|
742
792
|
|
|
@@ -18,37 +18,49 @@ class OutputGraphiteType(str, Enum):
|
|
|
18
18
|
class OutputGraphiteDestinationProtocol(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
19
19
|
r"""Protocol to use when communicating with the destination."""
|
|
20
20
|
|
|
21
|
+
# UDP
|
|
21
22
|
UDP = "udp"
|
|
23
|
+
# TCP
|
|
22
24
|
TCP = "tcp"
|
|
23
25
|
|
|
24
26
|
|
|
25
27
|
class OutputGraphiteBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
26
28
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
27
29
|
|
|
30
|
+
# Block
|
|
28
31
|
BLOCK = "block"
|
|
32
|
+
# Drop
|
|
29
33
|
DROP = "drop"
|
|
34
|
+
# Persistent Queue
|
|
30
35
|
QUEUE = "queue"
|
|
31
36
|
|
|
32
37
|
|
|
33
38
|
class OutputGraphiteCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
34
39
|
r"""Codec to use to compress the persisted data"""
|
|
35
40
|
|
|
41
|
+
# None
|
|
36
42
|
NONE = "none"
|
|
43
|
+
# Gzip
|
|
37
44
|
GZIP = "gzip"
|
|
38
45
|
|
|
39
46
|
|
|
40
47
|
class OutputGraphiteQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
41
48
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
42
49
|
|
|
50
|
+
# Block
|
|
43
51
|
BLOCK = "block"
|
|
52
|
+
# Drop new data
|
|
44
53
|
DROP = "drop"
|
|
45
54
|
|
|
46
55
|
|
|
47
56
|
class OutputGraphiteMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
48
57
|
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
49
58
|
|
|
59
|
+
# Error
|
|
50
60
|
ERROR = "error"
|
|
61
|
+
# Backpressure
|
|
51
62
|
BACKPRESSURE = "backpressure"
|
|
63
|
+
# Always On
|
|
52
64
|
ALWAYS = "always"
|
|
53
65
|
|
|
54
66
|
|
|
@@ -29,8 +29,11 @@ class OutputHoneycombExtraHTTPHeader(BaseModel):
|
|
|
29
29
|
class OutputHoneycombFailedRequestLoggingMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
30
30
|
r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
|
|
31
31
|
|
|
32
|
+
# Payload
|
|
32
33
|
PAYLOAD = "payload"
|
|
34
|
+
# Payload + Headers
|
|
33
35
|
PAYLOAD_AND_HEADERS = "payloadAndHeaders"
|
|
36
|
+
# None
|
|
34
37
|
NONE = "none"
|
|
35
38
|
|
|
36
39
|
|
|
@@ -91,8 +94,11 @@ class OutputHoneycombTimeoutRetrySettings(BaseModel):
|
|
|
91
94
|
class OutputHoneycombBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
92
95
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
93
96
|
|
|
97
|
+
# Block
|
|
94
98
|
BLOCK = "block"
|
|
99
|
+
# Drop
|
|
95
100
|
DROP = "drop"
|
|
101
|
+
# Persistent Queue
|
|
96
102
|
QUEUE = "queue"
|
|
97
103
|
|
|
98
104
|
|
|
@@ -106,22 +112,29 @@ class OutputHoneycombAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMet
|
|
|
106
112
|
class OutputHoneycombCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
107
113
|
r"""Codec to use to compress the persisted data"""
|
|
108
114
|
|
|
115
|
+
# None
|
|
109
116
|
NONE = "none"
|
|
117
|
+
# Gzip
|
|
110
118
|
GZIP = "gzip"
|
|
111
119
|
|
|
112
120
|
|
|
113
121
|
class OutputHoneycombQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
114
122
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
115
123
|
|
|
124
|
+
# Block
|
|
116
125
|
BLOCK = "block"
|
|
126
|
+
# Drop new data
|
|
117
127
|
DROP = "drop"
|
|
118
128
|
|
|
119
129
|
|
|
120
130
|
class OutputHoneycombMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
121
131
|
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
122
132
|
|
|
133
|
+
# Error
|
|
123
134
|
ERROR = "error"
|
|
135
|
+
# Backpressure
|
|
124
136
|
BACKPRESSURE = "backpressure"
|
|
137
|
+
# Always On
|
|
125
138
|
ALWAYS = "always"
|
|
126
139
|
|
|
127
140
|
|