cribl-control-plane 0.2.0a1__py3-none-any.whl → 0.2.0b2__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/_version.py +3 -3
- cribl_control_plane/groups_sdk.py +4 -4
- cribl_control_plane/models/__init__.py +35 -27
- cribl_control_plane/models/configgroup.py +17 -2
- cribl_control_plane/models/createversionundoop.py +3 -3
- cribl_control_plane/models/distributedsummary.py +6 -0
- cribl_control_plane/models/hbcriblinfo.py +14 -3
- cribl_control_plane/models/heartbeatmetadata.py +3 -0
- 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 -18
- 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 -17
- 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 -17
- 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 +9 -0
- 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 +7 -1
- cribl_control_plane/models/output.py +85 -80
- 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 +13 -0
- cribl_control_plane/models/outputclickhouse.py +17 -0
- cribl_control_plane/models/outputcloudwatch.py +13 -0
- cribl_control_plane/models/outputconfluentcloud.py +24 -18
- 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 +291 -0
- 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 +21 -0
- cribl_control_plane/models/outputgooglecloudlogging.py +19 -0
- 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 -17
- 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 -17
- 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 +15 -0
- 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/routeconf.py +3 -4
- cribl_control_plane/models/runnablejobcollection.py +4 -0
- {cribl_control_plane-0.2.0a1.dist-info → cribl_control_plane-0.2.0b2.dist-info}/METADATA +1 -1
- {cribl_control_plane-0.2.0a1.dist-info → cribl_control_plane-0.2.0b2.dist-info}/RECORD +138 -139
- cribl_control_plane/models/appmode.py +0 -14
- cribl_control_plane/models/routecloneconf.py +0 -13
- {cribl_control_plane-0.2.0a1.dist-info → cribl_control_plane-0.2.0b2.dist-info}/WHEEL +0 -0
|
@@ -19,6 +19,7 @@ from .outputcrowdstrikenextgensiem import (
|
|
|
19
19
|
OutputCrowdstrikeNextGenSiem,
|
|
20
20
|
OutputCrowdstrikeNextGenSiemTypedDict,
|
|
21
21
|
)
|
|
22
|
+
from .outputdatabricks import OutputDatabricks, OutputDatabricksTypedDict
|
|
22
23
|
from .outputdatadog import OutputDatadog, OutputDatadogTypedDict
|
|
23
24
|
from .outputdataset import OutputDataset, OutputDatasetTypedDict
|
|
24
25
|
from .outputdefault import OutputDefault, OutputDefaultTypedDict
|
|
@@ -81,8 +82,10 @@ from .outputtcpjson import OutputTcpjson, OutputTcpjsonTypedDict
|
|
|
81
82
|
from .outputwavefront import OutputWavefront, OutputWavefrontTypedDict
|
|
82
83
|
from .outputwebhook import OutputWebhook, OutputWebhookTypedDict
|
|
83
84
|
from .outputxsiam import OutputXsiam, OutputXsiamTypedDict
|
|
85
|
+
from cribl_control_plane.utils import get_discriminator
|
|
86
|
+
from pydantic import Discriminator, Tag
|
|
84
87
|
from typing import Union
|
|
85
|
-
from typing_extensions import TypeAliasType
|
|
88
|
+
from typing_extensions import Annotated, TypeAliasType
|
|
86
89
|
|
|
87
90
|
|
|
88
91
|
OutputTypedDict = TypeAliasType(
|
|
@@ -91,31 +94,32 @@ OutputTypedDict = TypeAliasType(
|
|
|
91
94
|
OutputDevnullTypedDict,
|
|
92
95
|
OutputDefaultTypedDict,
|
|
93
96
|
OutputRouterTypedDict,
|
|
94
|
-
OutputSnmpTypedDict,
|
|
95
97
|
OutputNetflowTypedDict,
|
|
98
|
+
OutputSnmpTypedDict,
|
|
96
99
|
OutputDiskSpoolTypedDict,
|
|
97
100
|
OutputRingTypedDict,
|
|
98
|
-
OutputStatsdExtTypedDict,
|
|
99
101
|
OutputGraphiteTypedDict,
|
|
102
|
+
OutputStatsdExtTypedDict,
|
|
100
103
|
OutputStatsdTypedDict,
|
|
101
104
|
OutputGooglePubsubTypedDict,
|
|
102
|
-
OutputCriblTCPTypedDict,
|
|
103
105
|
OutputSplunkTypedDict,
|
|
106
|
+
OutputCriblTCPTypedDict,
|
|
104
107
|
OutputSnsTypedDict,
|
|
105
108
|
OutputCloudwatchTypedDict,
|
|
106
109
|
OutputAzureEventhubTypedDict,
|
|
107
|
-
OutputWavefrontTypedDict,
|
|
108
110
|
OutputSignalfxTypedDict,
|
|
111
|
+
OutputWavefrontTypedDict,
|
|
109
112
|
OutputHoneycombTypedDict,
|
|
110
|
-
OutputSumoLogicTypedDict,
|
|
111
|
-
OutputCrowdstrikeNextGenSiemTypedDict,
|
|
112
113
|
OutputHumioHecTypedDict,
|
|
113
114
|
OutputTcpjsonTypedDict,
|
|
115
|
+
OutputSumoLogicTypedDict,
|
|
116
|
+
OutputCrowdstrikeNextGenSiemTypedDict,
|
|
114
117
|
OutputElasticCloudTypedDict,
|
|
115
|
-
OutputKinesisTypedDict,
|
|
116
|
-
OutputConfluentCloudTypedDict,
|
|
117
|
-
OutputKafkaTypedDict,
|
|
118
118
|
OutputExabeamTypedDict,
|
|
119
|
+
OutputKafkaTypedDict,
|
|
120
|
+
OutputConfluentCloudTypedDict,
|
|
121
|
+
OutputKinesisTypedDict,
|
|
122
|
+
OutputDatabricksTypedDict,
|
|
119
123
|
OutputNewrelicEventsTypedDict,
|
|
120
124
|
OutputAzureLogsTypedDict,
|
|
121
125
|
OutputSplunkLbTypedDict,
|
|
@@ -132,10 +136,10 @@ OutputTypedDict = TypeAliasType(
|
|
|
132
136
|
OutputServiceNowTypedDict,
|
|
133
137
|
OutputChronicleTypedDict,
|
|
134
138
|
OutputDynatraceOtlpTypedDict,
|
|
135
|
-
OutputElasticTypedDict,
|
|
136
139
|
OutputGoogleChronicleTypedDict,
|
|
137
|
-
|
|
140
|
+
OutputElasticTypedDict,
|
|
138
141
|
OutputDatadogTypedDict,
|
|
142
|
+
OutputCriblLakeTypedDict,
|
|
139
143
|
OutputPrometheusTypedDict,
|
|
140
144
|
OutputMskTypedDict,
|
|
141
145
|
OutputSentinelOneAiSiemTypedDict,
|
|
@@ -157,73 +161,74 @@ OutputTypedDict = TypeAliasType(
|
|
|
157
161
|
)
|
|
158
162
|
|
|
159
163
|
|
|
160
|
-
Output =
|
|
161
|
-
"Output",
|
|
164
|
+
Output = Annotated[
|
|
162
165
|
Union[
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
OutputConfluentCloud,
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
166
|
+
Annotated[OutputDefault, Tag("default")],
|
|
167
|
+
Annotated[OutputWebhook, Tag("webhook")],
|
|
168
|
+
Annotated[OutputSentinel, Tag("sentinel")],
|
|
169
|
+
Annotated[OutputDevnull, Tag("devnull")],
|
|
170
|
+
Annotated[OutputSyslog, Tag("syslog")],
|
|
171
|
+
Annotated[OutputSplunk, Tag("splunk")],
|
|
172
|
+
Annotated[OutputSplunkLb, Tag("splunk_lb")],
|
|
173
|
+
Annotated[OutputSplunkHec, Tag("splunk_hec")],
|
|
174
|
+
Annotated[OutputTcpjson, Tag("tcpjson")],
|
|
175
|
+
Annotated[OutputWavefront, Tag("wavefront")],
|
|
176
|
+
Annotated[OutputSignalfx, Tag("signalfx")],
|
|
177
|
+
Annotated[OutputFilesystem, Tag("filesystem")],
|
|
178
|
+
Annotated[OutputS3, Tag("s3")],
|
|
179
|
+
Annotated[OutputAzureBlob, Tag("azure_blob")],
|
|
180
|
+
Annotated[OutputAzureDataExplorer, Tag("azure_data_explorer")],
|
|
181
|
+
Annotated[OutputAzureLogs, Tag("azure_logs")],
|
|
182
|
+
Annotated[OutputKinesis, Tag("kinesis")],
|
|
183
|
+
Annotated[OutputHoneycomb, Tag("honeycomb")],
|
|
184
|
+
Annotated[OutputAzureEventhub, Tag("azure_eventhub")],
|
|
185
|
+
Annotated[OutputGoogleChronicle, Tag("google_chronicle")],
|
|
186
|
+
Annotated[OutputGoogleCloudStorage, Tag("google_cloud_storage")],
|
|
187
|
+
Annotated[OutputGoogleCloudLogging, Tag("google_cloud_logging")],
|
|
188
|
+
Annotated[OutputGooglePubsub, Tag("google_pubsub")],
|
|
189
|
+
Annotated[OutputExabeam, Tag("exabeam")],
|
|
190
|
+
Annotated[OutputKafka, Tag("kafka")],
|
|
191
|
+
Annotated[OutputConfluentCloud, Tag("confluent_cloud")],
|
|
192
|
+
Annotated[OutputMsk, Tag("msk")],
|
|
193
|
+
Annotated[OutputElastic, Tag("elastic")],
|
|
194
|
+
Annotated[OutputElasticCloud, Tag("elastic_cloud")],
|
|
195
|
+
Annotated[OutputNewrelic, Tag("newrelic")],
|
|
196
|
+
Annotated[OutputNewrelicEvents, Tag("newrelic_events")],
|
|
197
|
+
Annotated[OutputInfluxdb, Tag("influxdb")],
|
|
198
|
+
Annotated[OutputCloudwatch, Tag("cloudwatch")],
|
|
199
|
+
Annotated[OutputMinio, Tag("minio")],
|
|
200
|
+
Annotated[OutputStatsd, Tag("statsd")],
|
|
201
|
+
Annotated[OutputStatsdExt, Tag("statsd_ext")],
|
|
202
|
+
Annotated[OutputGraphite, Tag("graphite")],
|
|
203
|
+
Annotated[OutputRouter, Tag("router")],
|
|
204
|
+
Annotated[OutputSns, Tag("sns")],
|
|
205
|
+
Annotated[OutputSqs, Tag("sqs")],
|
|
206
|
+
Annotated[OutputSnmp, Tag("snmp")],
|
|
207
|
+
Annotated[OutputSumoLogic, Tag("sumo_logic")],
|
|
208
|
+
Annotated[OutputDatadog, Tag("datadog")],
|
|
209
|
+
Annotated[OutputGrafanaCloud, Tag("grafana_cloud")],
|
|
210
|
+
Annotated[OutputLoki, Tag("loki")],
|
|
211
|
+
Annotated[OutputPrometheus, Tag("prometheus")],
|
|
212
|
+
Annotated[OutputRing, Tag("ring")],
|
|
213
|
+
Annotated[OutputOpenTelemetry, Tag("open_telemetry")],
|
|
214
|
+
Annotated[OutputServiceNow, Tag("service_now")],
|
|
215
|
+
Annotated[OutputDataset, Tag("dataset")],
|
|
216
|
+
Annotated[OutputCriblTCP, Tag("cribl_tcp")],
|
|
217
|
+
Annotated[OutputCriblHTTP, Tag("cribl_http")],
|
|
218
|
+
Annotated[OutputHumioHec, Tag("humio_hec")],
|
|
219
|
+
Annotated[OutputCrowdstrikeNextGenSiem, Tag("crowdstrike_next_gen_siem")],
|
|
220
|
+
Annotated[OutputDlS3, Tag("dl_s3")],
|
|
221
|
+
Annotated[OutputSecurityLake, Tag("security_lake")],
|
|
222
|
+
Annotated[OutputCriblLake, Tag("cribl_lake")],
|
|
223
|
+
Annotated[OutputDiskSpool, Tag("disk_spool")],
|
|
224
|
+
Annotated[OutputClickHouse, Tag("click_house")],
|
|
225
|
+
Annotated[OutputXsiam, Tag("xsiam")],
|
|
226
|
+
Annotated[OutputNetflow, Tag("netflow")],
|
|
227
|
+
Annotated[OutputDynatraceHTTP, Tag("dynatrace_http")],
|
|
228
|
+
Annotated[OutputDynatraceOtlp, Tag("dynatrace_otlp")],
|
|
229
|
+
Annotated[OutputSentinelOneAiSiem, Tag("sentinel_one_ai_siem")],
|
|
230
|
+
Annotated[OutputChronicle, Tag("chronicle")],
|
|
231
|
+
Annotated[OutputDatabricks, Tag("databricks")],
|
|
228
232
|
],
|
|
229
|
-
)
|
|
233
|
+
Discriminator(lambda m: get_discriminator(m, "type", "type")),
|
|
234
|
+
]
|
|
@@ -18,22 +18,29 @@ class OutputAzureBlobType(str, Enum):
|
|
|
18
18
|
class OutputAzureBlobDataFormat(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
19
19
|
r"""Format of the output data"""
|
|
20
20
|
|
|
21
|
+
# JSON
|
|
21
22
|
JSON = "json"
|
|
23
|
+
# Raw
|
|
22
24
|
RAW = "raw"
|
|
25
|
+
# Parquet
|
|
23
26
|
PARQUET = "parquet"
|
|
24
27
|
|
|
25
28
|
|
|
26
29
|
class OutputAzureBlobBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
27
30
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
28
31
|
|
|
32
|
+
# Block
|
|
29
33
|
BLOCK = "block"
|
|
34
|
+
# Drop
|
|
30
35
|
DROP = "drop"
|
|
31
36
|
|
|
32
37
|
|
|
33
38
|
class OutputAzureBlobDiskSpaceProtection(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
34
39
|
r"""How to handle events when disk space is below the global 'Min free disk space' limit"""
|
|
35
40
|
|
|
41
|
+
# Block
|
|
36
42
|
BLOCK = "block"
|
|
43
|
+
# Drop
|
|
37
44
|
DROP = "drop"
|
|
38
45
|
|
|
39
46
|
|
|
@@ -45,10 +52,15 @@ class OutputAzureBlobAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMet
|
|
|
45
52
|
|
|
46
53
|
|
|
47
54
|
class BlobAccessTier(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
55
|
+
# Default account access tier
|
|
48
56
|
INFERRED = "Inferred"
|
|
57
|
+
# Hot tier
|
|
49
58
|
HOT = "Hot"
|
|
59
|
+
# Cool tier
|
|
50
60
|
COOL = "Cool"
|
|
61
|
+
# Cold tier
|
|
51
62
|
COLD = "Cold"
|
|
63
|
+
# Archive tier
|
|
52
64
|
ARCHIVE = "Archive"
|
|
53
65
|
|
|
54
66
|
|
|
@@ -62,23 +74,31 @@ class OutputAzureBlobCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
62
74
|
class OutputAzureBlobCompressionLevel(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
63
75
|
r"""Compression level to apply before moving files to final destination"""
|
|
64
76
|
|
|
77
|
+
# Best Speed
|
|
65
78
|
BEST_SPEED = "best_speed"
|
|
79
|
+
# Normal
|
|
66
80
|
NORMAL = "normal"
|
|
81
|
+
# Best Compression
|
|
67
82
|
BEST_COMPRESSION = "best_compression"
|
|
68
83
|
|
|
69
84
|
|
|
70
85
|
class OutputAzureBlobParquetVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
71
86
|
r"""Determines which data types are supported and how they are represented"""
|
|
72
87
|
|
|
88
|
+
# 1.0
|
|
73
89
|
PARQUET_1_0 = "PARQUET_1_0"
|
|
90
|
+
# 2.4
|
|
74
91
|
PARQUET_2_4 = "PARQUET_2_4"
|
|
92
|
+
# 2.6
|
|
75
93
|
PARQUET_2_6 = "PARQUET_2_6"
|
|
76
94
|
|
|
77
95
|
|
|
78
96
|
class OutputAzureBlobDataPageVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
79
97
|
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."""
|
|
80
98
|
|
|
99
|
+
# V1
|
|
81
100
|
DATA_PAGE_V1 = "DATA_PAGE_V1"
|
|
101
|
+
# V2
|
|
82
102
|
DATA_PAGE_V2 = "DATA_PAGE_V2"
|
|
83
103
|
|
|
84
104
|
|
|
@@ -16,7 +16,9 @@ class OutputAzureDataExplorerType(str, Enum):
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
class IngestionMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
19
|
+
# Batching
|
|
19
20
|
BATCHING = "batching"
|
|
21
|
+
# Streaming
|
|
20
22
|
STREAMING = "streaming"
|
|
21
23
|
|
|
22
24
|
|
|
@@ -33,8 +35,11 @@ class OutputAzureDataExplorerAuthenticationMethod(
|
|
|
33
35
|
):
|
|
34
36
|
r"""The type of OAuth 2.0 client credentials grant flow to use"""
|
|
35
37
|
|
|
38
|
+
# Client secret
|
|
36
39
|
CLIENT_SECRET = "clientSecret"
|
|
40
|
+
# Client secret (text secret)
|
|
37
41
|
CLIENT_TEXT_SECRET = "clientTextSecret"
|
|
42
|
+
# Certificate
|
|
38
43
|
CERTIFICATE = "certificate"
|
|
39
44
|
|
|
40
45
|
|
|
@@ -55,16 +60,22 @@ class OutputAzureDataExplorerBackpressureBehavior(
|
|
|
55
60
|
):
|
|
56
61
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
57
62
|
|
|
63
|
+
# Block
|
|
58
64
|
BLOCK = "block"
|
|
65
|
+
# Drop
|
|
59
66
|
DROP = "drop"
|
|
67
|
+
# Persistent Queue
|
|
60
68
|
QUEUE = "queue"
|
|
61
69
|
|
|
62
70
|
|
|
63
71
|
class OutputAzureDataExplorerDataFormat(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
64
72
|
r"""Format of the output data"""
|
|
65
73
|
|
|
74
|
+
# JSON
|
|
66
75
|
JSON = "json"
|
|
76
|
+
# Raw
|
|
67
77
|
RAW = "raw"
|
|
78
|
+
# Parquet
|
|
68
79
|
PARQUET = "parquet"
|
|
69
80
|
|
|
70
81
|
|
|
@@ -73,12 +84,16 @@ class OutputAzureDataExplorerDiskSpaceProtection(
|
|
|
73
84
|
):
|
|
74
85
|
r"""How to handle events when disk space is below the global 'Min free disk space' limit"""
|
|
75
86
|
|
|
87
|
+
# Block
|
|
76
88
|
BLOCK = "block"
|
|
89
|
+
# Drop
|
|
77
90
|
DROP = "drop"
|
|
78
91
|
|
|
79
92
|
|
|
80
93
|
class PrefixOptional(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
94
|
+
# drop-by
|
|
81
95
|
DROP_BY = "dropBy"
|
|
96
|
+
# ingest-by
|
|
82
97
|
INGEST_BY = "ingestBy"
|
|
83
98
|
|
|
84
99
|
|
|
@@ -106,16 +121,22 @@ class IngestIfNotExist(BaseModel):
|
|
|
106
121
|
class ReportLevel(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
107
122
|
r"""Level of ingestion status reporting. Defaults to FailuresOnly."""
|
|
108
123
|
|
|
124
|
+
# FailuresOnly
|
|
109
125
|
FAILURES_ONLY = "failuresOnly"
|
|
126
|
+
# DoNotReport
|
|
110
127
|
DO_NOT_REPORT = "doNotReport"
|
|
128
|
+
# FailuresAndSuccesses
|
|
111
129
|
FAILURES_AND_SUCCESSES = "failuresAndSuccesses"
|
|
112
130
|
|
|
113
131
|
|
|
114
132
|
class ReportMethod(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
115
133
|
r"""Target of the ingestion status reporting. Defaults to Queue."""
|
|
116
134
|
|
|
135
|
+
# Queue
|
|
117
136
|
QUEUE = "queue"
|
|
137
|
+
# Table
|
|
118
138
|
TABLE = "table"
|
|
139
|
+
# QueueAndTable
|
|
119
140
|
QUEUE_AND_TABLE = "queueAndTable"
|
|
120
141
|
|
|
121
142
|
|
|
@@ -198,22 +219,29 @@ class OutputAzureDataExplorerPqCompressCompression(
|
|
|
198
219
|
):
|
|
199
220
|
r"""Codec to use to compress the persisted data"""
|
|
200
221
|
|
|
222
|
+
# None
|
|
201
223
|
NONE = "none"
|
|
224
|
+
# Gzip
|
|
202
225
|
GZIP = "gzip"
|
|
203
226
|
|
|
204
227
|
|
|
205
228
|
class OutputAzureDataExplorerQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
206
229
|
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."""
|
|
207
230
|
|
|
231
|
+
# Block
|
|
208
232
|
BLOCK = "block"
|
|
233
|
+
# Drop new data
|
|
209
234
|
DROP = "drop"
|
|
210
235
|
|
|
211
236
|
|
|
212
237
|
class OutputAzureDataExplorerMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
213
238
|
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."""
|
|
214
239
|
|
|
240
|
+
# Error
|
|
215
241
|
ERROR = "error"
|
|
242
|
+
# Backpressure
|
|
216
243
|
BACKPRESSURE = "backpressure"
|
|
244
|
+
# Always On
|
|
217
245
|
ALWAYS = "always"
|
|
218
246
|
|
|
219
247
|
|
|
@@ -18,20 +18,27 @@ class OutputAzureEventhubType(str, Enum):
|
|
|
18
18
|
class OutputAzureEventhubAcknowledgments(int, Enum, metaclass=utils.OpenEnumMeta):
|
|
19
19
|
r"""Control the number of required acknowledgments"""
|
|
20
20
|
|
|
21
|
+
# Leader
|
|
21
22
|
ONE = 1
|
|
23
|
+
# None
|
|
22
24
|
ZERO = 0
|
|
25
|
+
# All
|
|
23
26
|
MINUS_1 = -1
|
|
24
27
|
|
|
25
28
|
|
|
26
29
|
class OutputAzureEventhubRecordDataFormat(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
27
30
|
r"""Format to use to serialize events before writing to the Event Hubs Kafka brokers"""
|
|
28
31
|
|
|
32
|
+
# JSON
|
|
29
33
|
JSON = "json"
|
|
34
|
+
# Field _raw
|
|
30
35
|
RAW = "raw"
|
|
31
36
|
|
|
32
37
|
|
|
33
38
|
class OutputAzureEventhubSASLMechanism(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
39
|
+
# PLAIN
|
|
34
40
|
PLAIN = "plain"
|
|
41
|
+
# OAUTHBEARER
|
|
35
42
|
OAUTHBEARER = "oauthbearer"
|
|
36
43
|
|
|
37
44
|
|
|
@@ -71,30 +78,40 @@ class OutputAzureEventhubTLSSettingsClientSide(BaseModel):
|
|
|
71
78
|
class OutputAzureEventhubBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
72
79
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
73
80
|
|
|
81
|
+
# Block
|
|
74
82
|
BLOCK = "block"
|
|
83
|
+
# Drop
|
|
75
84
|
DROP = "drop"
|
|
85
|
+
# Persistent Queue
|
|
76
86
|
QUEUE = "queue"
|
|
77
87
|
|
|
78
88
|
|
|
79
89
|
class OutputAzureEventhubCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
80
90
|
r"""Codec to use to compress the persisted data"""
|
|
81
91
|
|
|
92
|
+
# None
|
|
82
93
|
NONE = "none"
|
|
94
|
+
# Gzip
|
|
83
95
|
GZIP = "gzip"
|
|
84
96
|
|
|
85
97
|
|
|
86
98
|
class OutputAzureEventhubQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
87
99
|
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."""
|
|
88
100
|
|
|
101
|
+
# Block
|
|
89
102
|
BLOCK = "block"
|
|
103
|
+
# Drop new data
|
|
90
104
|
DROP = "drop"
|
|
91
105
|
|
|
92
106
|
|
|
93
107
|
class OutputAzureEventhubMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
94
108
|
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."""
|
|
95
109
|
|
|
110
|
+
# Error
|
|
96
111
|
ERROR = "error"
|
|
112
|
+
# Backpressure
|
|
97
113
|
BACKPRESSURE = "backpressure"
|
|
114
|
+
# Always On
|
|
98
115
|
ALWAYS = "always"
|
|
99
116
|
|
|
100
117
|
|
|
@@ -29,8 +29,11 @@ class OutputAzureLogsExtraHTTPHeader(BaseModel):
|
|
|
29
29
|
class OutputAzureLogsFailedRequestLoggingMode(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 OutputAzureLogsTimeoutRetrySettings(BaseModel):
|
|
|
91
94
|
class OutputAzureLogsBackpressureBehavior(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 OutputAzureLogsAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMet
|
|
|
106
112
|
class OutputAzureLogsCompression(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 OutputAzureLogsQueueFullBehavior(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 OutputAzureLogsMode(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
|
|
|
@@ -88,16 +88,22 @@ class OutputChronicleExtraHTTPHeader(BaseModel):
|
|
|
88
88
|
class OutputChronicleFailedRequestLoggingMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
89
89
|
r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
|
|
90
90
|
|
|
91
|
+
# Payload
|
|
91
92
|
PAYLOAD = "payload"
|
|
93
|
+
# Payload + Headers
|
|
92
94
|
PAYLOAD_AND_HEADERS = "payloadAndHeaders"
|
|
95
|
+
# None
|
|
93
96
|
NONE = "none"
|
|
94
97
|
|
|
95
98
|
|
|
96
99
|
class OutputChronicleBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
97
100
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
98
101
|
|
|
102
|
+
# Block
|
|
99
103
|
BLOCK = "block"
|
|
104
|
+
# Drop
|
|
100
105
|
DROP = "drop"
|
|
106
|
+
# Persistent Queue
|
|
101
107
|
QUEUE = "queue"
|
|
102
108
|
|
|
103
109
|
|
|
@@ -115,22 +121,29 @@ class OutputChronicleCustomLabel(BaseModel):
|
|
|
115
121
|
class OutputChronicleCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
116
122
|
r"""Codec to use to compress the persisted data"""
|
|
117
123
|
|
|
124
|
+
# None
|
|
118
125
|
NONE = "none"
|
|
126
|
+
# Gzip
|
|
119
127
|
GZIP = "gzip"
|
|
120
128
|
|
|
121
129
|
|
|
122
130
|
class OutputChronicleQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
123
131
|
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."""
|
|
124
132
|
|
|
133
|
+
# Block
|
|
125
134
|
BLOCK = "block"
|
|
135
|
+
# Drop new data
|
|
126
136
|
DROP = "drop"
|
|
127
137
|
|
|
128
138
|
|
|
129
139
|
class OutputChronicleMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
130
140
|
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."""
|
|
131
141
|
|
|
142
|
+
# Error
|
|
132
143
|
ERROR = "error"
|
|
144
|
+
# Backpressure
|
|
133
145
|
BACKPRESSURE = "backpressure"
|
|
146
|
+
# Always On
|
|
134
147
|
ALWAYS = "always"
|
|
135
148
|
|
|
136
149
|
|
|
@@ -28,14 +28,18 @@ class OutputClickHouseAuthenticationType(str, Enum, metaclass=utils.OpenEnumMeta
|
|
|
28
28
|
class OutputClickHouseFormat(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
29
29
|
r"""Data format to use when sending data to ClickHouse. Defaults to JSON Compact."""
|
|
30
30
|
|
|
31
|
+
# JSONCompactEachRowWithNames
|
|
31
32
|
JSON_COMPACT_EACH_ROW_WITH_NAMES = "json-compact-each-row-with-names"
|
|
33
|
+
# JSONEachRow
|
|
32
34
|
JSON_EACH_ROW = "json-each-row"
|
|
33
35
|
|
|
34
36
|
|
|
35
37
|
class MappingType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
36
38
|
r"""How event fields are mapped to ClickHouse columns."""
|
|
37
39
|
|
|
40
|
+
# Automatic
|
|
38
41
|
AUTOMATIC = "automatic"
|
|
42
|
+
# Custom
|
|
39
43
|
CUSTOM = "custom"
|
|
40
44
|
|
|
41
45
|
|
|
@@ -125,8 +129,11 @@ class OutputClickHouseExtraHTTPHeader(BaseModel):
|
|
|
125
129
|
class OutputClickHouseFailedRequestLoggingMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
126
130
|
r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
|
|
127
131
|
|
|
132
|
+
# Payload
|
|
128
133
|
PAYLOAD = "payload"
|
|
134
|
+
# Payload + Headers
|
|
129
135
|
PAYLOAD_AND_HEADERS = "payloadAndHeaders"
|
|
136
|
+
# None
|
|
130
137
|
NONE = "none"
|
|
131
138
|
|
|
132
139
|
|
|
@@ -187,8 +194,11 @@ class OutputClickHouseTimeoutRetrySettings(BaseModel):
|
|
|
187
194
|
class OutputClickHouseBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
188
195
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
189
196
|
|
|
197
|
+
# Block
|
|
190
198
|
BLOCK = "block"
|
|
199
|
+
# Drop
|
|
191
200
|
DROP = "drop"
|
|
201
|
+
# Persistent Queue
|
|
192
202
|
QUEUE = "queue"
|
|
193
203
|
|
|
194
204
|
|
|
@@ -247,22 +257,29 @@ class ColumnMapping(BaseModel):
|
|
|
247
257
|
class OutputClickHouseCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
248
258
|
r"""Codec to use to compress the persisted data"""
|
|
249
259
|
|
|
260
|
+
# None
|
|
250
261
|
NONE = "none"
|
|
262
|
+
# Gzip
|
|
251
263
|
GZIP = "gzip"
|
|
252
264
|
|
|
253
265
|
|
|
254
266
|
class OutputClickHouseQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
255
267
|
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."""
|
|
256
268
|
|
|
269
|
+
# Block
|
|
257
270
|
BLOCK = "block"
|
|
271
|
+
# Drop new data
|
|
258
272
|
DROP = "drop"
|
|
259
273
|
|
|
260
274
|
|
|
261
275
|
class OutputClickHouseMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
262
276
|
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."""
|
|
263
277
|
|
|
278
|
+
# Error
|
|
264
279
|
ERROR = "error"
|
|
280
|
+
# Backpressure
|
|
265
281
|
BACKPRESSURE = "backpressure"
|
|
282
|
+
# Always On
|
|
266
283
|
ALWAYS = "always"
|
|
267
284
|
|
|
268
285
|
|