cribl-control-plane 0.2.1__py3-none-any.whl → 0.2.1rc2__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 -5
- cribl_control_plane/errors/__init__.py +8 -5
- cribl_control_plane/errors/{healthstatus_error.py → healthserverstatus_error.py} +10 -9
- cribl_control_plane/groups_sdk.py +52 -28
- cribl_control_plane/health.py +22 -16
- cribl_control_plane/models/__init__.py +103 -50
- cribl_control_plane/models/authtoken.py +5 -1
- cribl_control_plane/models/configgroup.py +35 -6
- cribl_control_plane/models/createconfiggroupbyproductop.py +6 -5
- cribl_control_plane/models/createroutesappendbyidop.py +2 -2
- cribl_control_plane/models/createversionundoop.py +3 -3
- cribl_control_plane/models/deleteoutputpqbyidop.py +2 -2
- cribl_control_plane/models/distributedsummary.py +6 -0
- cribl_control_plane/models/groupcreaterequest.py +152 -0
- cribl_control_plane/models/hbcriblinfo.py +14 -3
- cribl_control_plane/models/{healthstatus.py → healthserverstatus.py} +7 -7
- 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/logininfo.py +3 -3
- cribl_control_plane/models/nodeprovidedinfo.py +11 -1
- cribl_control_plane/models/outpostnodeinfo.py +16 -0
- cribl_control_plane/models/output.py +77 -72
- 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 +411 -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 +8 -5
- cribl_control_plane/models/packinstallinfo.py +8 -5
- cribl_control_plane/models/routeconf.py +3 -4
- cribl_control_plane/models/runnablejobcollection.py +4 -0
- cribl_control_plane/models/updatepacksop.py +25 -0
- cribl_control_plane/models/{routecloneconf.py → uploadpackresponse.py} +4 -4
- cribl_control_plane/packs.py +202 -7
- cribl_control_plane/routes_sdk.py +6 -6
- cribl_control_plane/tokens.py +23 -15
- {cribl_control_plane-0.2.1.dist-info → cribl_control_plane-0.2.1rc2.dist-info}/METADATA +37 -5
- {cribl_control_plane-0.2.1.dist-info → cribl_control_plane-0.2.1rc2.dist-info}/RECORD +154 -153
- cribl_control_plane/models/appmode.py +0 -14
- cribl_control_plane/models/error.py +0 -16
- cribl_control_plane/models/gethealthinfoop.py +0 -17
- {cribl_control_plane-0.2.1.dist-info → cribl_control_plane-0.2.1rc2.dist-info}/WHEEL +0 -0
|
@@ -29,14 +29,18 @@ class InputSystemMetricsConnection(BaseModel):
|
|
|
29
29
|
class InputSystemMetricsPqMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
30
30
|
r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
|
|
31
31
|
|
|
32
|
+
# Smart
|
|
32
33
|
SMART = "smart"
|
|
34
|
+
# Always On
|
|
33
35
|
ALWAYS = "always"
|
|
34
36
|
|
|
35
37
|
|
|
36
38
|
class InputSystemMetricsCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
37
39
|
r"""Codec to use to compress the persisted data"""
|
|
38
40
|
|
|
41
|
+
# None
|
|
39
42
|
NONE = "none"
|
|
43
|
+
# Gzip
|
|
40
44
|
GZIP = "gzip"
|
|
41
45
|
|
|
42
46
|
|
|
@@ -107,18 +111,26 @@ class InputSystemMetricsPq(BaseModel):
|
|
|
107
111
|
class InputSystemMetricsHostMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
108
112
|
r"""Select level of detail for host metrics"""
|
|
109
113
|
|
|
114
|
+
# Basic
|
|
110
115
|
BASIC = "basic"
|
|
116
|
+
# All
|
|
111
117
|
ALL = "all"
|
|
118
|
+
# Custom
|
|
112
119
|
CUSTOM = "custom"
|
|
120
|
+
# Disabled
|
|
113
121
|
DISABLED = "disabled"
|
|
114
122
|
|
|
115
123
|
|
|
116
124
|
class InputSystemMetricsSystemMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
117
125
|
r"""Select the level of detail for system metrics"""
|
|
118
126
|
|
|
127
|
+
# Basic
|
|
119
128
|
BASIC = "basic"
|
|
129
|
+
# All
|
|
120
130
|
ALL = "all"
|
|
131
|
+
# Custom
|
|
121
132
|
CUSTOM = "custom"
|
|
133
|
+
# Disabled
|
|
122
134
|
DISABLED = "disabled"
|
|
123
135
|
|
|
124
136
|
|
|
@@ -143,9 +155,13 @@ class InputSystemMetricsSystem(BaseModel):
|
|
|
143
155
|
class InputSystemMetricsCPUMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
144
156
|
r"""Select the level of detail for CPU metrics"""
|
|
145
157
|
|
|
158
|
+
# Basic
|
|
146
159
|
BASIC = "basic"
|
|
160
|
+
# All
|
|
147
161
|
ALL = "all"
|
|
162
|
+
# Custom
|
|
148
163
|
CUSTOM = "custom"
|
|
164
|
+
# Disabled
|
|
149
165
|
DISABLED = "disabled"
|
|
150
166
|
|
|
151
167
|
|
|
@@ -179,9 +195,13 @@ class InputSystemMetricsCPU(BaseModel):
|
|
|
179
195
|
class InputSystemMetricsMemoryMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
180
196
|
r"""Select the level of detail for memory metrics"""
|
|
181
197
|
|
|
198
|
+
# Basic
|
|
182
199
|
BASIC = "basic"
|
|
200
|
+
# All
|
|
183
201
|
ALL = "all"
|
|
202
|
+
# Custom
|
|
184
203
|
CUSTOM = "custom"
|
|
204
|
+
# Disabled
|
|
185
205
|
DISABLED = "disabled"
|
|
186
206
|
|
|
187
207
|
|
|
@@ -206,9 +226,13 @@ class InputSystemMetricsMemory(BaseModel):
|
|
|
206
226
|
class InputSystemMetricsNetworkMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
207
227
|
r"""Select the level of detail for network metrics"""
|
|
208
228
|
|
|
229
|
+
# Basic
|
|
209
230
|
BASIC = "basic"
|
|
231
|
+
# All
|
|
210
232
|
ALL = "all"
|
|
233
|
+
# Custom
|
|
211
234
|
CUSTOM = "custom"
|
|
235
|
+
# Disabled
|
|
212
236
|
DISABLED = "disabled"
|
|
213
237
|
|
|
214
238
|
|
|
@@ -245,9 +269,13 @@ class InputSystemMetricsNetwork(BaseModel):
|
|
|
245
269
|
class InputSystemMetricsDiskMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
246
270
|
r"""Select the level of detail for disk metrics"""
|
|
247
271
|
|
|
272
|
+
# Basic
|
|
248
273
|
BASIC = "basic"
|
|
274
|
+
# All
|
|
249
275
|
ALL = "all"
|
|
276
|
+
# Custom
|
|
250
277
|
CUSTOM = "custom"
|
|
278
|
+
# Disabled
|
|
251
279
|
DISABLED = "disabled"
|
|
252
280
|
|
|
253
281
|
|
|
@@ -352,9 +380,13 @@ class InputSystemMetricsProcess(BaseModel):
|
|
|
352
380
|
class ContainerMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
353
381
|
r"""Select the level of detail for container metrics"""
|
|
354
382
|
|
|
383
|
+
# Basic
|
|
355
384
|
BASIC = "basic"
|
|
385
|
+
# All
|
|
356
386
|
ALL = "all"
|
|
387
|
+
# Custom
|
|
357
388
|
CUSTOM = "custom"
|
|
389
|
+
# Disabled
|
|
358
390
|
DISABLED = "disabled"
|
|
359
391
|
|
|
360
392
|
|
|
@@ -29,14 +29,18 @@ class InputSystemStateConnection(BaseModel):
|
|
|
29
29
|
class InputSystemStateMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
30
30
|
r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
|
|
31
31
|
|
|
32
|
+
# Smart
|
|
32
33
|
SMART = "smart"
|
|
34
|
+
# Always On
|
|
33
35
|
ALWAYS = "always"
|
|
34
36
|
|
|
35
37
|
|
|
36
38
|
class InputSystemStateCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
37
39
|
r"""Codec to use to compress the persisted data"""
|
|
38
40
|
|
|
41
|
+
# None
|
|
39
42
|
NONE = "none"
|
|
43
|
+
# Gzip
|
|
40
44
|
GZIP = "gzip"
|
|
41
45
|
|
|
42
46
|
|
|
@@ -29,14 +29,18 @@ class InputTCPConnection(BaseModel):
|
|
|
29
29
|
class InputTCPMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
30
30
|
r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
|
|
31
31
|
|
|
32
|
+
# Smart
|
|
32
33
|
SMART = "smart"
|
|
34
|
+
# Always On
|
|
33
35
|
ALWAYS = "always"
|
|
34
36
|
|
|
35
37
|
|
|
36
38
|
class InputTCPCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
37
39
|
r"""Codec to use to compress the persisted data"""
|
|
38
40
|
|
|
41
|
+
# None
|
|
39
42
|
NONE = "none"
|
|
43
|
+
# Gzip
|
|
40
44
|
GZIP = "gzip"
|
|
41
45
|
|
|
42
46
|
|
|
@@ -29,14 +29,18 @@ class InputTcpjsonConnection(BaseModel):
|
|
|
29
29
|
class InputTcpjsonMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
30
30
|
r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
|
|
31
31
|
|
|
32
|
+
# Smart
|
|
32
33
|
SMART = "smart"
|
|
34
|
+
# Always On
|
|
33
35
|
ALWAYS = "always"
|
|
34
36
|
|
|
35
37
|
|
|
36
38
|
class InputTcpjsonCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
37
39
|
r"""Codec to use to compress the persisted data"""
|
|
38
40
|
|
|
41
|
+
# None
|
|
39
42
|
NONE = "none"
|
|
43
|
+
# Gzip
|
|
40
44
|
GZIP = "gzip"
|
|
41
45
|
|
|
42
46
|
|
|
@@ -29,14 +29,18 @@ class InputWefConnection(BaseModel):
|
|
|
29
29
|
class InputWefMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
30
30
|
r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
|
|
31
31
|
|
|
32
|
+
# Smart
|
|
32
33
|
SMART = "smart"
|
|
34
|
+
# Always On
|
|
33
35
|
ALWAYS = "always"
|
|
34
36
|
|
|
35
37
|
|
|
36
38
|
class InputWefCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
37
39
|
r"""Codec to use to compress the persisted data"""
|
|
38
40
|
|
|
41
|
+
# None
|
|
39
42
|
NONE = "none"
|
|
43
|
+
# Gzip
|
|
40
44
|
GZIP = "gzip"
|
|
41
45
|
|
|
42
46
|
|
|
@@ -106,7 +110,9 @@ class InputWefPq(BaseModel):
|
|
|
106
110
|
class InputWefAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
107
111
|
r"""How to authenticate incoming client connections"""
|
|
108
112
|
|
|
113
|
+
# Client certificate
|
|
109
114
|
CLIENT_CERT = "clientCert"
|
|
115
|
+
# Kerberos
|
|
110
116
|
KERBEROS = "kerberos"
|
|
111
117
|
|
|
112
118
|
|
|
@@ -29,14 +29,18 @@ class InputWindowsMetricsConnection(BaseModel):
|
|
|
29
29
|
class InputWindowsMetricsPqMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
30
30
|
r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
|
|
31
31
|
|
|
32
|
+
# Smart
|
|
32
33
|
SMART = "smart"
|
|
34
|
+
# Always On
|
|
33
35
|
ALWAYS = "always"
|
|
34
36
|
|
|
35
37
|
|
|
36
38
|
class InputWindowsMetricsCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
37
39
|
r"""Codec to use to compress the persisted data"""
|
|
38
40
|
|
|
41
|
+
# None
|
|
39
42
|
NONE = "none"
|
|
43
|
+
# Gzip
|
|
40
44
|
GZIP = "gzip"
|
|
41
45
|
|
|
42
46
|
|
|
@@ -107,18 +111,26 @@ class InputWindowsMetricsPq(BaseModel):
|
|
|
107
111
|
class InputWindowsMetricsHostMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
108
112
|
r"""Select level of detail for host metrics"""
|
|
109
113
|
|
|
114
|
+
# Basic
|
|
110
115
|
BASIC = "basic"
|
|
116
|
+
# All
|
|
111
117
|
ALL = "all"
|
|
118
|
+
# Custom
|
|
112
119
|
CUSTOM = "custom"
|
|
120
|
+
# Disabled
|
|
113
121
|
DISABLED = "disabled"
|
|
114
122
|
|
|
115
123
|
|
|
116
124
|
class InputWindowsMetricsSystemMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
117
125
|
r"""Select the level of details for system metrics"""
|
|
118
126
|
|
|
127
|
+
# Basic
|
|
119
128
|
BASIC = "basic"
|
|
129
|
+
# All
|
|
120
130
|
ALL = "all"
|
|
131
|
+
# Custom
|
|
121
132
|
CUSTOM = "custom"
|
|
133
|
+
# Disabled
|
|
122
134
|
DISABLED = "disabled"
|
|
123
135
|
|
|
124
136
|
|
|
@@ -143,9 +155,13 @@ class InputWindowsMetricsSystem(BaseModel):
|
|
|
143
155
|
class InputWindowsMetricsCPUMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
144
156
|
r"""Select the level of details for CPU metrics"""
|
|
145
157
|
|
|
158
|
+
# Basic
|
|
146
159
|
BASIC = "basic"
|
|
160
|
+
# All
|
|
147
161
|
ALL = "all"
|
|
162
|
+
# Custom
|
|
148
163
|
CUSTOM = "custom"
|
|
164
|
+
# Disabled
|
|
149
165
|
DISABLED = "disabled"
|
|
150
166
|
|
|
151
167
|
|
|
@@ -179,9 +195,13 @@ class InputWindowsMetricsCPU(BaseModel):
|
|
|
179
195
|
class InputWindowsMetricsMemoryMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
180
196
|
r"""Select the level of details for memory metrics"""
|
|
181
197
|
|
|
198
|
+
# Basic
|
|
182
199
|
BASIC = "basic"
|
|
200
|
+
# All
|
|
183
201
|
ALL = "all"
|
|
202
|
+
# Custom
|
|
184
203
|
CUSTOM = "custom"
|
|
204
|
+
# Disabled
|
|
185
205
|
DISABLED = "disabled"
|
|
186
206
|
|
|
187
207
|
|
|
@@ -206,9 +226,13 @@ class InputWindowsMetricsMemory(BaseModel):
|
|
|
206
226
|
class InputWindowsMetricsNetworkMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
207
227
|
r"""Select the level of details for network metrics"""
|
|
208
228
|
|
|
229
|
+
# Basic
|
|
209
230
|
BASIC = "basic"
|
|
231
|
+
# All
|
|
210
232
|
ALL = "all"
|
|
233
|
+
# Custom
|
|
211
234
|
CUSTOM = "custom"
|
|
235
|
+
# Disabled
|
|
212
236
|
DISABLED = "disabled"
|
|
213
237
|
|
|
214
238
|
|
|
@@ -245,9 +269,13 @@ class InputWindowsMetricsNetwork(BaseModel):
|
|
|
245
269
|
class InputWindowsMetricsDiskMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
246
270
|
r"""Select the level of details for disk metrics"""
|
|
247
271
|
|
|
272
|
+
# Basic
|
|
248
273
|
BASIC = "basic"
|
|
274
|
+
# All
|
|
249
275
|
ALL = "all"
|
|
276
|
+
# Custom
|
|
250
277
|
CUSTOM = "custom"
|
|
278
|
+
# Disabled
|
|
251
279
|
DISABLED = "disabled"
|
|
252
280
|
|
|
253
281
|
|
|
@@ -29,14 +29,18 @@ class InputWinEventLogsConnection(BaseModel):
|
|
|
29
29
|
class InputWinEventLogsMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
30
30
|
r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
|
|
31
31
|
|
|
32
|
+
# Smart
|
|
32
33
|
SMART = "smart"
|
|
34
|
+
# Always On
|
|
33
35
|
ALWAYS = "always"
|
|
34
36
|
|
|
35
37
|
|
|
36
38
|
class InputWinEventLogsCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
37
39
|
r"""Codec to use to compress the persisted data"""
|
|
38
40
|
|
|
41
|
+
# None
|
|
39
42
|
NONE = "none"
|
|
43
|
+
# Gzip
|
|
40
44
|
GZIP = "gzip"
|
|
41
45
|
|
|
42
46
|
|
|
@@ -107,14 +111,18 @@ class InputWinEventLogsPq(BaseModel):
|
|
|
107
111
|
class ReadMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
108
112
|
r"""Read all stored and future event logs, or only future events"""
|
|
109
113
|
|
|
114
|
+
# Entire log
|
|
110
115
|
OLDEST = "oldest"
|
|
116
|
+
# From last entry
|
|
111
117
|
NEWEST = "newest"
|
|
112
118
|
|
|
113
119
|
|
|
114
120
|
class EventFormat(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
115
121
|
r"""Format of individual events"""
|
|
116
122
|
|
|
123
|
+
# JSON
|
|
117
124
|
JSON = "json"
|
|
125
|
+
# XML
|
|
118
126
|
XML = "xml"
|
|
119
127
|
|
|
120
128
|
|
|
@@ -29,14 +29,18 @@ class InputWizConnection(BaseModel):
|
|
|
29
29
|
class InputWizMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
30
30
|
r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
|
|
31
31
|
|
|
32
|
+
# Smart
|
|
32
33
|
SMART = "smart"
|
|
34
|
+
# Always On
|
|
33
35
|
ALWAYS = "always"
|
|
34
36
|
|
|
35
37
|
|
|
36
38
|
class InputWizCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
37
39
|
r"""Codec to use to compress the persisted data"""
|
|
38
40
|
|
|
41
|
+
# None
|
|
39
42
|
NONE = "none"
|
|
43
|
+
# Gzip
|
|
40
44
|
GZIP = "gzip"
|
|
41
45
|
|
|
42
46
|
|
|
@@ -137,8 +141,11 @@ class InputWizMetadatum(BaseModel):
|
|
|
137
141
|
class InputWizRetryType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
138
142
|
r"""The algorithm to use when performing HTTP retries"""
|
|
139
143
|
|
|
144
|
+
# Disabled
|
|
140
145
|
NONE = "none"
|
|
146
|
+
# Backoff
|
|
141
147
|
BACKOFF = "backoff"
|
|
148
|
+
# Static
|
|
142
149
|
STATIC = "static"
|
|
143
150
|
|
|
144
151
|
|
|
@@ -29,14 +29,18 @@ class InputWizWebhookConnection(BaseModel):
|
|
|
29
29
|
class InputWizWebhookMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
30
30
|
r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
|
|
31
31
|
|
|
32
|
+
# Smart
|
|
32
33
|
SMART = "smart"
|
|
34
|
+
# Always On
|
|
33
35
|
ALWAYS = "always"
|
|
34
36
|
|
|
35
37
|
|
|
36
38
|
class InputWizWebhookCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
37
39
|
r"""Codec to use to compress the persisted data"""
|
|
38
40
|
|
|
41
|
+
# None
|
|
39
42
|
NONE = "none"
|
|
43
|
+
# Gzip
|
|
40
44
|
GZIP = "gzip"
|
|
41
45
|
|
|
42
46
|
|
|
@@ -29,14 +29,18 @@ class InputZscalerHecConnection(BaseModel):
|
|
|
29
29
|
class InputZscalerHecMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
30
30
|
r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
|
|
31
31
|
|
|
32
|
+
# Smart
|
|
32
33
|
SMART = "smart"
|
|
34
|
+
# Always On
|
|
33
35
|
ALWAYS = "always"
|
|
34
36
|
|
|
35
37
|
|
|
36
38
|
class InputZscalerHecCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
37
39
|
r"""Codec to use to compress the persisted data"""
|
|
38
40
|
|
|
41
|
+
# None
|
|
39
42
|
NONE = "none"
|
|
43
|
+
# Gzip
|
|
40
44
|
GZIP = "gzip"
|
|
41
45
|
|
|
42
46
|
|
|
@@ -4,13 +4,14 @@ from __future__ import annotations
|
|
|
4
4
|
from .jobstatus import JobStatus, JobStatusTypedDict
|
|
5
5
|
from .runnablejob import RunnableJob, RunnableJobTypedDict
|
|
6
6
|
from cribl_control_plane.types import BaseModel
|
|
7
|
-
from typing import Optional
|
|
7
|
+
from typing import Dict, Optional
|
|
8
8
|
from typing_extensions import NotRequired, TypedDict
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
class JobInfoTypedDict(TypedDict):
|
|
12
12
|
args: RunnableJobTypedDict
|
|
13
13
|
id: str
|
|
14
|
+
stats: Dict[str, float]
|
|
14
15
|
status: JobStatusTypedDict
|
|
15
16
|
keep: NotRequired[bool]
|
|
16
17
|
|
|
@@ -20,6 +21,8 @@ class JobInfo(BaseModel):
|
|
|
20
21
|
|
|
21
22
|
id: str
|
|
22
23
|
|
|
24
|
+
stats: Dict[str, float]
|
|
25
|
+
|
|
23
26
|
status: JobStatus
|
|
24
27
|
|
|
25
28
|
keep: Optional[bool] = None
|
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .hbcriblinfo import HBCriblInfo, HBCriblInfoTypedDict
|
|
5
5
|
from .heartbeatmetadata import HeartbeatMetadata, HeartbeatMetadataTypedDict
|
|
6
|
+
from .outpostnodeinfo import OutpostNodeInfo, OutpostNodeInfoTypedDict
|
|
6
7
|
from cribl_control_plane.types import BaseModel
|
|
7
8
|
import pydantic
|
|
8
|
-
from typing import List, Optional, Union
|
|
9
|
+
from typing import Dict, List, Optional, Union
|
|
9
10
|
from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict
|
|
10
11
|
|
|
11
12
|
|
|
@@ -19,6 +20,7 @@ class NodeProvidedInfoTags(BaseModel):
|
|
|
19
20
|
|
|
20
21
|
class NodeProvidedInfoAwsTypedDict(TypedDict):
|
|
21
22
|
enabled: bool
|
|
23
|
+
instance_id: str
|
|
22
24
|
region: str
|
|
23
25
|
type: str
|
|
24
26
|
zone: str
|
|
@@ -28,6 +30,8 @@ class NodeProvidedInfoAwsTypedDict(TypedDict):
|
|
|
28
30
|
class NodeProvidedInfoAws(BaseModel):
|
|
29
31
|
enabled: bool
|
|
30
32
|
|
|
33
|
+
instance_id: Annotated[str, pydantic.Field(alias="instanceId")]
|
|
34
|
+
|
|
31
35
|
region: str
|
|
32
36
|
|
|
33
37
|
type: str
|
|
@@ -125,6 +129,7 @@ class NodeProvidedInfoTypedDict(TypedDict):
|
|
|
125
129
|
architecture: str
|
|
126
130
|
cpus: float
|
|
127
131
|
cribl: HBCriblInfoTypedDict
|
|
132
|
+
env: Dict[str, str]
|
|
128
133
|
free_disk_space: float
|
|
129
134
|
hostname: str
|
|
130
135
|
node: str
|
|
@@ -140,6 +145,7 @@ class NodeProvidedInfoTypedDict(TypedDict):
|
|
|
140
145
|
local_time: NotRequired[float]
|
|
141
146
|
metadata: NotRequired[HeartbeatMetadataTypedDict]
|
|
142
147
|
os: NotRequired[OsTypedDict]
|
|
148
|
+
outpost: NotRequired[OutpostNodeInfoTypedDict]
|
|
143
149
|
|
|
144
150
|
|
|
145
151
|
class NodeProvidedInfo(BaseModel):
|
|
@@ -149,6 +155,8 @@ class NodeProvidedInfo(BaseModel):
|
|
|
149
155
|
|
|
150
156
|
cribl: HBCriblInfo
|
|
151
157
|
|
|
158
|
+
env: Dict[str, str]
|
|
159
|
+
|
|
152
160
|
free_disk_space: Annotated[float, pydantic.Field(alias="freeDiskSpace")]
|
|
153
161
|
|
|
154
162
|
hostname: str
|
|
@@ -182,3 +190,5 @@ class NodeProvidedInfo(BaseModel):
|
|
|
182
190
|
metadata: Optional[HeartbeatMetadata] = None
|
|
183
191
|
|
|
184
192
|
os: Optional[Os] = None
|
|
193
|
+
|
|
194
|
+
outpost: Optional[OutpostNodeInfo] = None
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from cribl_control_plane.types import BaseModel
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class OutpostNodeInfoTypedDict(TypedDict):
|
|
9
|
+
guid: str
|
|
10
|
+
host: str
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class OutpostNodeInfo(BaseModel):
|
|
14
|
+
guid: str
|
|
15
|
+
|
|
16
|
+
host: str
|