cribl-control-plane 0.1.0b2__py3-none-any.whl → 0.2.0b1__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/httpclient.py +0 -1
- cribl_control_plane/models/__init__.py +68 -7
- cribl_control_plane/models/createversionundoop.py +3 -3
- 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 +74 -69
- 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 +9 -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 +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-0.1.0b2.dist-info → cribl_control_plane-0.2.0b1.dist-info}/METADATA +1 -8
- {cribl_control_plane-0.1.0b2.dist-info → cribl_control_plane-0.2.0b1.dist-info}/RECORD +142 -141
- {cribl_control_plane-0.1.0b2.dist-info → cribl_control_plane-0.2.0b1.dist-info}/WHEEL +0 -0
|
@@ -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
|
|
|
@@ -29,15 +29,20 @@ class OutputHumioHecExtraHTTPHeader(BaseModel):
|
|
|
29
29
|
class OutputHumioHecFailedRequestLoggingMode(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
|
|
|
37
40
|
class OutputHumioHecRequestFormat(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
38
41
|
r"""When set to JSON, the event is automatically formatted with required fields before sending. When set to Raw, only the event's `_raw` value is sent."""
|
|
39
42
|
|
|
43
|
+
# JSON
|
|
40
44
|
JSON = "JSON"
|
|
45
|
+
# Raw
|
|
41
46
|
RAW = "raw"
|
|
42
47
|
|
|
43
48
|
|
|
@@ -105,30 +110,40 @@ class OutputHumioHecTimeoutRetrySettings(BaseModel):
|
|
|
105
110
|
class OutputHumioHecBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
106
111
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
107
112
|
|
|
113
|
+
# Block
|
|
108
114
|
BLOCK = "block"
|
|
115
|
+
# Drop
|
|
109
116
|
DROP = "drop"
|
|
117
|
+
# Persistent Queue
|
|
110
118
|
QUEUE = "queue"
|
|
111
119
|
|
|
112
120
|
|
|
113
121
|
class OutputHumioHecCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
114
122
|
r"""Codec to use to compress the persisted data"""
|
|
115
123
|
|
|
124
|
+
# None
|
|
116
125
|
NONE = "none"
|
|
126
|
+
# Gzip
|
|
117
127
|
GZIP = "gzip"
|
|
118
128
|
|
|
119
129
|
|
|
120
130
|
class OutputHumioHecQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
121
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."""
|
|
122
132
|
|
|
133
|
+
# Block
|
|
123
134
|
BLOCK = "block"
|
|
135
|
+
# Drop new data
|
|
124
136
|
DROP = "drop"
|
|
125
137
|
|
|
126
138
|
|
|
127
139
|
class OutputHumioHecMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
128
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."""
|
|
129
141
|
|
|
142
|
+
# Error
|
|
130
143
|
ERROR = "error"
|
|
144
|
+
# Backpressure
|
|
131
145
|
BACKPRESSURE = "backpressure"
|
|
146
|
+
# Always On
|
|
132
147
|
ALWAYS = "always"
|
|
133
148
|
|
|
134
149
|
|
|
@@ -18,11 +18,17 @@ class OutputInfluxdbType(str, Enum):
|
|
|
18
18
|
class TimestampPrecision(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
19
19
|
r"""Sets the precision for the supplied Unix time values. Defaults to milliseconds."""
|
|
20
20
|
|
|
21
|
+
# Nanoseconds
|
|
21
22
|
NS = "ns"
|
|
23
|
+
# Microseconds
|
|
22
24
|
U = "u"
|
|
25
|
+
# Milliseconds
|
|
23
26
|
MS = "ms"
|
|
27
|
+
# Seconds
|
|
24
28
|
S = "s"
|
|
29
|
+
# Minutes
|
|
25
30
|
M = "m"
|
|
31
|
+
# Hours
|
|
26
32
|
H = "h"
|
|
27
33
|
|
|
28
34
|
|
|
@@ -40,8 +46,11 @@ class OutputInfluxdbExtraHTTPHeader(BaseModel):
|
|
|
40
46
|
class OutputInfluxdbFailedRequestLoggingMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
41
47
|
r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
|
|
42
48
|
|
|
49
|
+
# Payload
|
|
43
50
|
PAYLOAD = "payload"
|
|
51
|
+
# Payload + Headers
|
|
44
52
|
PAYLOAD_AND_HEADERS = "payloadAndHeaders"
|
|
53
|
+
# None
|
|
45
54
|
NONE = "none"
|
|
46
55
|
|
|
47
56
|
|
|
@@ -102,8 +111,11 @@ class OutputInfluxdbTimeoutRetrySettings(BaseModel):
|
|
|
102
111
|
class OutputInfluxdbBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
103
112
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
104
113
|
|
|
114
|
+
# Block
|
|
105
115
|
BLOCK = "block"
|
|
116
|
+
# Drop
|
|
106
117
|
DROP = "drop"
|
|
118
|
+
# Persistent Queue
|
|
107
119
|
QUEUE = "queue"
|
|
108
120
|
|
|
109
121
|
|
|
@@ -121,22 +133,29 @@ class OutputInfluxdbAuthenticationType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
121
133
|
class OutputInfluxdbCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
122
134
|
r"""Codec to use to compress the persisted data"""
|
|
123
135
|
|
|
136
|
+
# None
|
|
124
137
|
NONE = "none"
|
|
138
|
+
# Gzip
|
|
125
139
|
GZIP = "gzip"
|
|
126
140
|
|
|
127
141
|
|
|
128
142
|
class OutputInfluxdbQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
129
143
|
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."""
|
|
130
144
|
|
|
145
|
+
# Block
|
|
131
146
|
BLOCK = "block"
|
|
147
|
+
# Drop new data
|
|
132
148
|
DROP = "drop"
|
|
133
149
|
|
|
134
150
|
|
|
135
151
|
class OutputInfluxdbMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
136
152
|
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."""
|
|
137
153
|
|
|
154
|
+
# Error
|
|
138
155
|
ERROR = "error"
|
|
156
|
+
# Backpressure
|
|
139
157
|
BACKPRESSURE = "backpressure"
|
|
158
|
+
# Always On
|
|
140
159
|
ALWAYS = "always"
|
|
141
160
|
|
|
142
161
|
|
|
@@ -18,25 +18,35 @@ class OutputKafkaType(str, Enum):
|
|
|
18
18
|
class OutputKafkaAcknowledgments(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 OutputKafkaRecordDataFormat(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
27
30
|
r"""Format to use to serialize events before writing to Kafka."""
|
|
28
31
|
|
|
32
|
+
# JSON
|
|
29
33
|
JSON = "json"
|
|
34
|
+
# Field _raw
|
|
30
35
|
RAW = "raw"
|
|
36
|
+
# Protobuf
|
|
31
37
|
PROTOBUF = "protobuf"
|
|
32
38
|
|
|
33
39
|
|
|
34
40
|
class OutputKafkaCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
35
41
|
r"""Codec to use to compress the data before sending to Kafka"""
|
|
36
42
|
|
|
43
|
+
# None
|
|
37
44
|
NONE = "none"
|
|
45
|
+
# Gzip
|
|
38
46
|
GZIP = "gzip"
|
|
47
|
+
# Snappy
|
|
39
48
|
SNAPPY = "snappy"
|
|
49
|
+
# LZ4
|
|
40
50
|
LZ4 = "lz4"
|
|
41
51
|
|
|
42
52
|
|
|
@@ -203,9 +213,13 @@ class OutputKafkaKafkaSchemaRegistryAuthentication(BaseModel):
|
|
|
203
213
|
|
|
204
214
|
|
|
205
215
|
class OutputKafkaSASLMechanism(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
216
|
+
# PLAIN
|
|
206
217
|
PLAIN = "plain"
|
|
218
|
+
# SCRAM-SHA-256
|
|
207
219
|
SCRAM_SHA_256 = "scram-sha-256"
|
|
220
|
+
# SCRAM-SHA-512
|
|
208
221
|
SCRAM_SHA_512 = "scram-sha-512"
|
|
222
|
+
# GSSAPI/Kerberos
|
|
209
223
|
KERBEROS = "kerberos"
|
|
210
224
|
|
|
211
225
|
|
|
@@ -319,30 +333,40 @@ class OutputKafkaTLSSettingsClientSide(BaseModel):
|
|
|
319
333
|
class OutputKafkaBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
320
334
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
321
335
|
|
|
336
|
+
# Block
|
|
322
337
|
BLOCK = "block"
|
|
338
|
+
# Drop
|
|
323
339
|
DROP = "drop"
|
|
340
|
+
# Persistent Queue
|
|
324
341
|
QUEUE = "queue"
|
|
325
342
|
|
|
326
343
|
|
|
327
344
|
class OutputKafkaPqCompressCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
328
345
|
r"""Codec to use to compress the persisted data"""
|
|
329
346
|
|
|
347
|
+
# None
|
|
330
348
|
NONE = "none"
|
|
349
|
+
# Gzip
|
|
331
350
|
GZIP = "gzip"
|
|
332
351
|
|
|
333
352
|
|
|
334
353
|
class OutputKafkaQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
335
354
|
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."""
|
|
336
355
|
|
|
356
|
+
# Block
|
|
337
357
|
BLOCK = "block"
|
|
358
|
+
# Drop new data
|
|
338
359
|
DROP = "drop"
|
|
339
360
|
|
|
340
361
|
|
|
341
362
|
class OutputKafkaMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
342
363
|
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."""
|
|
343
364
|
|
|
365
|
+
# Error
|
|
344
366
|
ERROR = "error"
|
|
367
|
+
# Backpressure
|
|
345
368
|
BACKPRESSURE = "backpressure"
|
|
369
|
+
# Always On
|
|
346
370
|
ALWAYS = "always"
|
|
347
371
|
|
|
348
372
|
|
|
@@ -18,8 +18,11 @@ class OutputKinesisType(str, Enum):
|
|
|
18
18
|
class OutputKinesisAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
19
19
|
r"""AWS authentication method. Choose Auto to use IAM roles."""
|
|
20
20
|
|
|
21
|
+
# Auto
|
|
21
22
|
AUTO = "auto"
|
|
23
|
+
# Manual
|
|
22
24
|
MANUAL = "manual"
|
|
25
|
+
# Secret Key pair
|
|
23
26
|
SECRET = "secret"
|
|
24
27
|
|
|
25
28
|
|
|
@@ -33,37 +36,49 @@ class OutputKinesisSignatureVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
33
36
|
class OutputKinesisCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
34
37
|
r"""Compression type to use for records"""
|
|
35
38
|
|
|
39
|
+
# None
|
|
36
40
|
NONE = "none"
|
|
41
|
+
# Gzip
|
|
37
42
|
GZIP = "gzip"
|
|
38
43
|
|
|
39
44
|
|
|
40
45
|
class OutputKinesisBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
41
46
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
42
47
|
|
|
48
|
+
# Block
|
|
43
49
|
BLOCK = "block"
|
|
50
|
+
# Drop
|
|
44
51
|
DROP = "drop"
|
|
52
|
+
# Persistent Queue
|
|
45
53
|
QUEUE = "queue"
|
|
46
54
|
|
|
47
55
|
|
|
48
56
|
class OutputKinesisPqCompressCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
49
57
|
r"""Codec to use to compress the persisted data"""
|
|
50
58
|
|
|
59
|
+
# None
|
|
51
60
|
NONE = "none"
|
|
61
|
+
# Gzip
|
|
52
62
|
GZIP = "gzip"
|
|
53
63
|
|
|
54
64
|
|
|
55
65
|
class OutputKinesisQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
56
66
|
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."""
|
|
57
67
|
|
|
68
|
+
# Block
|
|
58
69
|
BLOCK = "block"
|
|
70
|
+
# Drop new data
|
|
59
71
|
DROP = "drop"
|
|
60
72
|
|
|
61
73
|
|
|
62
74
|
class OutputKinesisMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
63
75
|
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."""
|
|
64
76
|
|
|
77
|
+
# Error
|
|
65
78
|
ERROR = "error"
|
|
79
|
+
# Backpressure
|
|
66
80
|
BACKPRESSURE = "backpressure"
|
|
81
|
+
# Always On
|
|
67
82
|
ALWAYS = "always"
|
|
68
83
|
|
|
69
84
|
|