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
|
@@ -18,7 +18,9 @@ class OutputLokiType(str, Enum):
|
|
|
18
18
|
class OutputLokiMessageFormat(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
|
|
|
@@ -34,10 +36,15 @@ class OutputLokiLabel(BaseModel):
|
|
|
34
36
|
|
|
35
37
|
|
|
36
38
|
class OutputLokiAuthenticationType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
39
|
+
# None
|
|
37
40
|
NONE = "none"
|
|
41
|
+
# Auth token
|
|
38
42
|
TOKEN = "token"
|
|
43
|
+
# Auth token (text secret)
|
|
39
44
|
TEXT_SECRET = "textSecret"
|
|
45
|
+
# Basic
|
|
40
46
|
BASIC = "basic"
|
|
47
|
+
# Basic (credentials secret)
|
|
41
48
|
CREDENTIALS_SECRET = "credentialsSecret"
|
|
42
49
|
|
|
43
50
|
|
|
@@ -55,8 +62,11 @@ class OutputLokiExtraHTTPHeader(BaseModel):
|
|
|
55
62
|
class OutputLokiFailedRequestLoggingMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
56
63
|
r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
|
|
57
64
|
|
|
65
|
+
# Payload
|
|
58
66
|
PAYLOAD = "payload"
|
|
67
|
+
# Payload + Headers
|
|
59
68
|
PAYLOAD_AND_HEADERS = "payloadAndHeaders"
|
|
69
|
+
# None
|
|
60
70
|
NONE = "none"
|
|
61
71
|
|
|
62
72
|
|
|
@@ -117,30 +127,40 @@ class OutputLokiTimeoutRetrySettings(BaseModel):
|
|
|
117
127
|
class OutputLokiBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
118
128
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
119
129
|
|
|
130
|
+
# Block
|
|
120
131
|
BLOCK = "block"
|
|
132
|
+
# Drop
|
|
121
133
|
DROP = "drop"
|
|
134
|
+
# Persistent Queue
|
|
122
135
|
QUEUE = "queue"
|
|
123
136
|
|
|
124
137
|
|
|
125
138
|
class OutputLokiCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
126
139
|
r"""Codec to use to compress the persisted data"""
|
|
127
140
|
|
|
141
|
+
# None
|
|
128
142
|
NONE = "none"
|
|
143
|
+
# Gzip
|
|
129
144
|
GZIP = "gzip"
|
|
130
145
|
|
|
131
146
|
|
|
132
147
|
class OutputLokiQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
133
148
|
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."""
|
|
134
149
|
|
|
150
|
+
# Block
|
|
135
151
|
BLOCK = "block"
|
|
152
|
+
# Drop new data
|
|
136
153
|
DROP = "drop"
|
|
137
154
|
|
|
138
155
|
|
|
139
156
|
class OutputLokiMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
140
157
|
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."""
|
|
141
158
|
|
|
159
|
+
# Error
|
|
142
160
|
ERROR = "error"
|
|
161
|
+
# Backpressure
|
|
143
162
|
BACKPRESSURE = "backpressure"
|
|
163
|
+
# Always On
|
|
144
164
|
ALWAYS = "always"
|
|
145
165
|
|
|
146
166
|
|
|
@@ -18,8 +18,11 @@ class OutputMinioType(str, Enum):
|
|
|
18
18
|
class OutputMinioAuthenticationMethod(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,47 +36,64 @@ class OutputMinioSignatureVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
33
36
|
class OutputMinioObjectACL(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
34
37
|
r"""Object ACL to assign to uploaded objects"""
|
|
35
38
|
|
|
39
|
+
# Private
|
|
36
40
|
PRIVATE = "private"
|
|
41
|
+
# Public Read Only
|
|
37
42
|
PUBLIC_READ = "public-read"
|
|
43
|
+
# Public Read/Write
|
|
38
44
|
PUBLIC_READ_WRITE = "public-read-write"
|
|
45
|
+
# Authenticated Read Only
|
|
39
46
|
AUTHENTICATED_READ = "authenticated-read"
|
|
47
|
+
# AWS EC2 AMI Read Only
|
|
40
48
|
AWS_EXEC_READ = "aws-exec-read"
|
|
49
|
+
# Bucket Owner Read Only
|
|
41
50
|
BUCKET_OWNER_READ = "bucket-owner-read"
|
|
51
|
+
# Bucket Owner Full Control
|
|
42
52
|
BUCKET_OWNER_FULL_CONTROL = "bucket-owner-full-control"
|
|
43
53
|
|
|
44
54
|
|
|
45
55
|
class OutputMinioStorageClass(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
46
56
|
r"""Storage class to select for uploaded objects"""
|
|
47
57
|
|
|
58
|
+
# Standard
|
|
48
59
|
STANDARD = "STANDARD"
|
|
60
|
+
# Reduced Redundancy Storage
|
|
49
61
|
REDUCED_REDUNDANCY = "REDUCED_REDUNDANCY"
|
|
50
62
|
|
|
51
63
|
|
|
52
64
|
class ServerSideEncryption(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
53
65
|
r"""Server-side encryption for uploaded objects"""
|
|
54
66
|
|
|
67
|
+
# Amazon S3 Managed Key
|
|
55
68
|
AES256 = "AES256"
|
|
56
69
|
|
|
57
70
|
|
|
58
71
|
class OutputMinioDataFormat(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
59
72
|
r"""Format of the output data"""
|
|
60
73
|
|
|
74
|
+
# JSON
|
|
61
75
|
JSON = "json"
|
|
76
|
+
# Raw
|
|
62
77
|
RAW = "raw"
|
|
78
|
+
# Parquet
|
|
63
79
|
PARQUET = "parquet"
|
|
64
80
|
|
|
65
81
|
|
|
66
82
|
class OutputMinioBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
67
83
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
68
84
|
|
|
85
|
+
# Block
|
|
69
86
|
BLOCK = "block"
|
|
87
|
+
# Drop
|
|
70
88
|
DROP = "drop"
|
|
71
89
|
|
|
72
90
|
|
|
73
91
|
class OutputMinioDiskSpaceProtection(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
74
92
|
r"""How to handle events when disk space is below the global 'Min free disk space' limit"""
|
|
75
93
|
|
|
94
|
+
# Block
|
|
76
95
|
BLOCK = "block"
|
|
96
|
+
# Drop
|
|
77
97
|
DROP = "drop"
|
|
78
98
|
|
|
79
99
|
|
|
@@ -87,23 +107,31 @@ class OutputMinioCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
87
107
|
class OutputMinioCompressionLevel(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
88
108
|
r"""Compression level to apply before moving files to final destination"""
|
|
89
109
|
|
|
110
|
+
# Best Speed
|
|
90
111
|
BEST_SPEED = "best_speed"
|
|
112
|
+
# Normal
|
|
91
113
|
NORMAL = "normal"
|
|
114
|
+
# Best Compression
|
|
92
115
|
BEST_COMPRESSION = "best_compression"
|
|
93
116
|
|
|
94
117
|
|
|
95
118
|
class OutputMinioParquetVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
96
119
|
r"""Determines which data types are supported and how they are represented"""
|
|
97
120
|
|
|
121
|
+
# 1.0
|
|
98
122
|
PARQUET_1_0 = "PARQUET_1_0"
|
|
123
|
+
# 2.4
|
|
99
124
|
PARQUET_2_4 = "PARQUET_2_4"
|
|
125
|
+
# 2.6
|
|
100
126
|
PARQUET_2_6 = "PARQUET_2_6"
|
|
101
127
|
|
|
102
128
|
|
|
103
129
|
class OutputMinioDataPageVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
104
130
|
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."""
|
|
105
131
|
|
|
132
|
+
# V1
|
|
106
133
|
DATA_PAGE_V1 = "DATA_PAGE_V1"
|
|
134
|
+
# V2
|
|
107
135
|
DATA_PAGE_V2 = "DATA_PAGE_V2"
|
|
108
136
|
|
|
109
137
|
|
|
@@ -18,25 +18,35 @@ class OutputMskType(str, Enum):
|
|
|
18
18
|
class OutputMskAcknowledgments(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 OutputMskRecordDataFormat(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 OutputMskCompression(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
|
|
|
@@ -205,8 +215,11 @@ class OutputMskKafkaSchemaRegistryAuthentication(BaseModel):
|
|
|
205
215
|
class OutputMskAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
206
216
|
r"""AWS authentication method. Choose Auto to use IAM roles."""
|
|
207
217
|
|
|
218
|
+
# Auto
|
|
208
219
|
AUTO = "auto"
|
|
220
|
+
# Manual
|
|
209
221
|
MANUAL = "manual"
|
|
222
|
+
# Secret Key pair
|
|
210
223
|
SECRET = "secret"
|
|
211
224
|
|
|
212
225
|
|
|
@@ -303,30 +316,40 @@ class OutputMskTLSSettingsClientSide(BaseModel):
|
|
|
303
316
|
class OutputMskBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
304
317
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
305
318
|
|
|
319
|
+
# Block
|
|
306
320
|
BLOCK = "block"
|
|
321
|
+
# Drop
|
|
307
322
|
DROP = "drop"
|
|
323
|
+
# Persistent Queue
|
|
308
324
|
QUEUE = "queue"
|
|
309
325
|
|
|
310
326
|
|
|
311
327
|
class OutputMskPqCompressCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
312
328
|
r"""Codec to use to compress the persisted data"""
|
|
313
329
|
|
|
330
|
+
# None
|
|
314
331
|
NONE = "none"
|
|
332
|
+
# Gzip
|
|
315
333
|
GZIP = "gzip"
|
|
316
334
|
|
|
317
335
|
|
|
318
336
|
class OutputMskQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
319
337
|
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."""
|
|
320
338
|
|
|
339
|
+
# Block
|
|
321
340
|
BLOCK = "block"
|
|
341
|
+
# Drop new data
|
|
322
342
|
DROP = "drop"
|
|
323
343
|
|
|
324
344
|
|
|
325
345
|
class OutputMskMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
326
346
|
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."""
|
|
327
347
|
|
|
348
|
+
# Error
|
|
328
349
|
ERROR = "error"
|
|
350
|
+
# Backpressure
|
|
329
351
|
BACKPRESSURE = "backpressure"
|
|
352
|
+
# Always On
|
|
330
353
|
ALWAYS = "always"
|
|
331
354
|
|
|
332
355
|
|
|
@@ -18,8 +18,11 @@ class OutputNewrelicType(str, Enum):
|
|
|
18
18
|
class OutputNewrelicRegion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
19
19
|
r"""Which New Relic region endpoint to use."""
|
|
20
20
|
|
|
21
|
+
# US
|
|
21
22
|
US = "US"
|
|
23
|
+
# Europe
|
|
22
24
|
EU = "EU"
|
|
25
|
+
# Custom
|
|
23
26
|
CUSTOM = "Custom"
|
|
24
27
|
|
|
25
28
|
|
|
@@ -57,8 +60,11 @@ class OutputNewrelicExtraHTTPHeader(BaseModel):
|
|
|
57
60
|
class OutputNewrelicFailedRequestLoggingMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
58
61
|
r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
|
|
59
62
|
|
|
63
|
+
# Payload
|
|
60
64
|
PAYLOAD = "payload"
|
|
65
|
+
# Payload + Headers
|
|
61
66
|
PAYLOAD_AND_HEADERS = "payloadAndHeaders"
|
|
67
|
+
# None
|
|
62
68
|
NONE = "none"
|
|
63
69
|
|
|
64
70
|
|
|
@@ -119,8 +125,11 @@ class OutputNewrelicTimeoutRetrySettings(BaseModel):
|
|
|
119
125
|
class OutputNewrelicBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
120
126
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
121
127
|
|
|
128
|
+
# Block
|
|
122
129
|
BLOCK = "block"
|
|
130
|
+
# Drop
|
|
123
131
|
DROP = "drop"
|
|
132
|
+
# Persistent Queue
|
|
124
133
|
QUEUE = "queue"
|
|
125
134
|
|
|
126
135
|
|
|
@@ -134,22 +143,29 @@ class OutputNewrelicAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta
|
|
|
134
143
|
class OutputNewrelicCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
135
144
|
r"""Codec to use to compress the persisted data"""
|
|
136
145
|
|
|
146
|
+
# None
|
|
137
147
|
NONE = "none"
|
|
148
|
+
# Gzip
|
|
138
149
|
GZIP = "gzip"
|
|
139
150
|
|
|
140
151
|
|
|
141
152
|
class OutputNewrelicQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
142
153
|
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."""
|
|
143
154
|
|
|
155
|
+
# Block
|
|
144
156
|
BLOCK = "block"
|
|
157
|
+
# Drop new data
|
|
145
158
|
DROP = "drop"
|
|
146
159
|
|
|
147
160
|
|
|
148
161
|
class OutputNewrelicMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
149
162
|
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."""
|
|
150
163
|
|
|
164
|
+
# Error
|
|
151
165
|
ERROR = "error"
|
|
166
|
+
# Backpressure
|
|
152
167
|
BACKPRESSURE = "backpressure"
|
|
168
|
+
# Always On
|
|
153
169
|
ALWAYS = "always"
|
|
154
170
|
|
|
155
171
|
|
|
@@ -18,8 +18,11 @@ class OutputNewrelicEventsType(str, Enum):
|
|
|
18
18
|
class OutputNewrelicEventsRegion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
19
19
|
r"""Which New Relic region endpoint to use."""
|
|
20
20
|
|
|
21
|
+
# US
|
|
21
22
|
US = "US"
|
|
23
|
+
# Europe
|
|
22
24
|
EU = "EU"
|
|
25
|
+
# Custom
|
|
23
26
|
CUSTOM = "Custom"
|
|
24
27
|
|
|
25
28
|
|
|
@@ -39,8 +42,11 @@ class OutputNewrelicEventsFailedRequestLoggingMode(
|
|
|
39
42
|
):
|
|
40
43
|
r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
|
|
41
44
|
|
|
45
|
+
# Payload
|
|
42
46
|
PAYLOAD = "payload"
|
|
47
|
+
# Payload + Headers
|
|
43
48
|
PAYLOAD_AND_HEADERS = "payloadAndHeaders"
|
|
49
|
+
# None
|
|
44
50
|
NONE = "none"
|
|
45
51
|
|
|
46
52
|
|
|
@@ -101,8 +107,11 @@ class OutputNewrelicEventsTimeoutRetrySettings(BaseModel):
|
|
|
101
107
|
class OutputNewrelicEventsBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
102
108
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
103
109
|
|
|
110
|
+
# Block
|
|
104
111
|
BLOCK = "block"
|
|
112
|
+
# Drop
|
|
105
113
|
DROP = "drop"
|
|
114
|
+
# Persistent Queue
|
|
106
115
|
QUEUE = "queue"
|
|
107
116
|
|
|
108
117
|
|
|
@@ -116,22 +125,29 @@ class OutputNewrelicEventsAuthenticationMethod(str, Enum, metaclass=utils.OpenEn
|
|
|
116
125
|
class OutputNewrelicEventsCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
117
126
|
r"""Codec to use to compress the persisted data"""
|
|
118
127
|
|
|
128
|
+
# None
|
|
119
129
|
NONE = "none"
|
|
130
|
+
# Gzip
|
|
120
131
|
GZIP = "gzip"
|
|
121
132
|
|
|
122
133
|
|
|
123
134
|
class OutputNewrelicEventsQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
124
135
|
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."""
|
|
125
136
|
|
|
137
|
+
# Block
|
|
126
138
|
BLOCK = "block"
|
|
139
|
+
# Drop new data
|
|
127
140
|
DROP = "drop"
|
|
128
141
|
|
|
129
142
|
|
|
130
143
|
class OutputNewrelicEventsMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
131
144
|
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."""
|
|
132
145
|
|
|
146
|
+
# Error
|
|
133
147
|
ERROR = "error"
|
|
148
|
+
# Backpressure
|
|
134
149
|
BACKPRESSURE = "backpressure"
|
|
150
|
+
# Always On
|
|
135
151
|
ALWAYS = "always"
|
|
136
152
|
|
|
137
153
|
|
|
@@ -18,22 +18,29 @@ class OutputOpenTelemetryType(str, Enum):
|
|
|
18
18
|
class OutputOpenTelemetryProtocol(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
19
19
|
r"""Select a transport option for OpenTelemetry"""
|
|
20
20
|
|
|
21
|
+
# gRPC
|
|
21
22
|
GRPC = "grpc"
|
|
23
|
+
# HTTP
|
|
22
24
|
HTTP = "http"
|
|
23
25
|
|
|
24
26
|
|
|
25
27
|
class OutputOpenTelemetryOTLPVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
26
28
|
r"""The version of OTLP Protobuf definitions to use when structuring data to send"""
|
|
27
29
|
|
|
30
|
+
# 0.10.0
|
|
28
31
|
ZERO_DOT_10_DOT_0 = "0.10.0"
|
|
32
|
+
# 1.3.1
|
|
29
33
|
ONE_DOT_3_DOT_1 = "1.3.1"
|
|
30
34
|
|
|
31
35
|
|
|
32
36
|
class OutputOpenTelemetryCompressCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
33
37
|
r"""Type of compression to apply to messages sent to the OpenTelemetry endpoint"""
|
|
34
38
|
|
|
39
|
+
# None
|
|
35
40
|
NONE = "none"
|
|
41
|
+
# Deflate
|
|
36
42
|
DEFLATE = "deflate"
|
|
43
|
+
# Gzip
|
|
37
44
|
GZIP = "gzip"
|
|
38
45
|
|
|
39
46
|
|
|
@@ -42,7 +49,9 @@ class OutputOpenTelemetryHTTPCompressCompression(
|
|
|
42
49
|
):
|
|
43
50
|
r"""Type of compression to apply to messages sent to the OpenTelemetry endpoint"""
|
|
44
51
|
|
|
52
|
+
# None
|
|
45
53
|
NONE = "none"
|
|
54
|
+
# Gzip
|
|
46
55
|
GZIP = "gzip"
|
|
47
56
|
|
|
48
57
|
|
|
@@ -73,16 +82,22 @@ class OutputOpenTelemetryFailedRequestLoggingMode(
|
|
|
73
82
|
):
|
|
74
83
|
r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
|
|
75
84
|
|
|
85
|
+
# Payload
|
|
76
86
|
PAYLOAD = "payload"
|
|
87
|
+
# Payload + Headers
|
|
77
88
|
PAYLOAD_AND_HEADERS = "payloadAndHeaders"
|
|
89
|
+
# None
|
|
78
90
|
NONE = "none"
|
|
79
91
|
|
|
80
92
|
|
|
81
93
|
class OutputOpenTelemetryBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
82
94
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
83
95
|
|
|
96
|
+
# Block
|
|
84
97
|
BLOCK = "block"
|
|
98
|
+
# Drop
|
|
85
99
|
DROP = "drop"
|
|
100
|
+
# Persistent Queue
|
|
86
101
|
QUEUE = "queue"
|
|
87
102
|
|
|
88
103
|
|
|
@@ -262,22 +277,29 @@ class OutputOpenTelemetryTLSSettingsClientSide(BaseModel):
|
|
|
262
277
|
class OutputOpenTelemetryPqCompressCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
263
278
|
r"""Codec to use to compress the persisted data"""
|
|
264
279
|
|
|
280
|
+
# None
|
|
265
281
|
NONE = "none"
|
|
282
|
+
# Gzip
|
|
266
283
|
GZIP = "gzip"
|
|
267
284
|
|
|
268
285
|
|
|
269
286
|
class OutputOpenTelemetryQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
270
287
|
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."""
|
|
271
288
|
|
|
289
|
+
# Block
|
|
272
290
|
BLOCK = "block"
|
|
291
|
+
# Drop new data
|
|
273
292
|
DROP = "drop"
|
|
274
293
|
|
|
275
294
|
|
|
276
295
|
class OutputOpenTelemetryMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
277
296
|
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."""
|
|
278
297
|
|
|
298
|
+
# Error
|
|
279
299
|
ERROR = "error"
|
|
300
|
+
# Backpressure
|
|
280
301
|
BACKPRESSURE = "backpressure"
|
|
302
|
+
# Always On
|
|
281
303
|
ALWAYS = "always"
|
|
282
304
|
|
|
283
305
|
|
|
@@ -29,8 +29,11 @@ class OutputPrometheusExtraHTTPHeader(BaseModel):
|
|
|
29
29
|
class OutputPrometheusFailedRequestLoggingMode(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 OutputPrometheusTimeoutRetrySettings(BaseModel):
|
|
|
91
94
|
class OutputPrometheusBackpressureBehavior(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
|
|
|
@@ -110,22 +116,29 @@ class OutputPrometheusAuthenticationType(str, Enum, metaclass=utils.OpenEnumMeta
|
|
|
110
116
|
class OutputPrometheusCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
111
117
|
r"""Codec to use to compress the persisted data"""
|
|
112
118
|
|
|
119
|
+
# None
|
|
113
120
|
NONE = "none"
|
|
121
|
+
# Gzip
|
|
114
122
|
GZIP = "gzip"
|
|
115
123
|
|
|
116
124
|
|
|
117
125
|
class OutputPrometheusQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
118
126
|
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."""
|
|
119
127
|
|
|
128
|
+
# Block
|
|
120
129
|
BLOCK = "block"
|
|
130
|
+
# Drop new data
|
|
121
131
|
DROP = "drop"
|
|
122
132
|
|
|
123
133
|
|
|
124
134
|
class OutputPrometheusMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
125
135
|
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."""
|
|
126
136
|
|
|
137
|
+
# Error
|
|
127
138
|
ERROR = "error"
|
|
139
|
+
# Backpressure
|
|
128
140
|
BACKPRESSURE = "backpressure"
|
|
141
|
+
# Always On
|
|
129
142
|
ALWAYS = "always"
|
|
130
143
|
|
|
131
144
|
|
|
@@ -30,7 +30,9 @@ class OutputRingDataCompressionFormat(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
30
30
|
class OutputRingBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
31
31
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
32
32
|
|
|
33
|
+
# Block
|
|
33
34
|
BLOCK = "block"
|
|
35
|
+
# Drop
|
|
34
36
|
DROP = "drop"
|
|
35
37
|
|
|
36
38
|
|
|
@@ -18,8 +18,11 @@ class OutputS3Type(str, Enum):
|
|
|
18
18
|
class OutputS3AuthenticationMethod(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,54 +36,78 @@ class OutputS3SignatureVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
33
36
|
class OutputS3ObjectACL(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
34
37
|
r"""Object ACL to assign to uploaded objects"""
|
|
35
38
|
|
|
39
|
+
# Private
|
|
36
40
|
PRIVATE = "private"
|
|
41
|
+
# Public Read Only
|
|
37
42
|
PUBLIC_READ = "public-read"
|
|
43
|
+
# Public Read/Write
|
|
38
44
|
PUBLIC_READ_WRITE = "public-read-write"
|
|
45
|
+
# Authenticated Read Only
|
|
39
46
|
AUTHENTICATED_READ = "authenticated-read"
|
|
47
|
+
# AWS EC2 AMI Read Only
|
|
40
48
|
AWS_EXEC_READ = "aws-exec-read"
|
|
49
|
+
# Bucket Owner Read Only
|
|
41
50
|
BUCKET_OWNER_READ = "bucket-owner-read"
|
|
51
|
+
# Bucket Owner Full Control
|
|
42
52
|
BUCKET_OWNER_FULL_CONTROL = "bucket-owner-full-control"
|
|
43
53
|
|
|
44
54
|
|
|
45
55
|
class OutputS3StorageClass(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
46
56
|
r"""Storage class to select for uploaded objects"""
|
|
47
57
|
|
|
58
|
+
# Standard
|
|
48
59
|
STANDARD = "STANDARD"
|
|
60
|
+
# Reduced Redundancy Storage
|
|
49
61
|
REDUCED_REDUNDANCY = "REDUCED_REDUNDANCY"
|
|
62
|
+
# Standard, Infrequent Access
|
|
50
63
|
STANDARD_IA = "STANDARD_IA"
|
|
64
|
+
# One Zone, Infrequent Access
|
|
51
65
|
ONEZONE_IA = "ONEZONE_IA"
|
|
66
|
+
# Intelligent Tiering
|
|
52
67
|
INTELLIGENT_TIERING = "INTELLIGENT_TIERING"
|
|
68
|
+
# Glacier Flexible Retrieval
|
|
53
69
|
GLACIER = "GLACIER"
|
|
70
|
+
# Glacier Instant Retrieval
|
|
54
71
|
GLACIER_IR = "GLACIER_IR"
|
|
72
|
+
# Glacier Deep Archive
|
|
55
73
|
DEEP_ARCHIVE = "DEEP_ARCHIVE"
|
|
56
74
|
|
|
57
75
|
|
|
58
76
|
class OutputS3ServerSideEncryptionForUploadedObjects(
|
|
59
77
|
str, Enum, metaclass=utils.OpenEnumMeta
|
|
60
78
|
):
|
|
79
|
+
# Amazon S3 Managed Key
|
|
61
80
|
AES256 = "AES256"
|
|
81
|
+
# AWS KMS Managed Key
|
|
62
82
|
AWS_KMS = "aws:kms"
|
|
63
83
|
|
|
64
84
|
|
|
65
85
|
class OutputS3DataFormat(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
66
86
|
r"""Format of the output data"""
|
|
67
87
|
|
|
88
|
+
# JSON
|
|
68
89
|
JSON = "json"
|
|
90
|
+
# Raw
|
|
69
91
|
RAW = "raw"
|
|
92
|
+
# Parquet
|
|
70
93
|
PARQUET = "parquet"
|
|
71
94
|
|
|
72
95
|
|
|
73
96
|
class OutputS3BackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
74
97
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
75
98
|
|
|
99
|
+
# Block
|
|
76
100
|
BLOCK = "block"
|
|
101
|
+
# Drop
|
|
77
102
|
DROP = "drop"
|
|
78
103
|
|
|
79
104
|
|
|
80
105
|
class OutputS3DiskSpaceProtection(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
81
106
|
r"""How to handle events when disk space is below the global 'Min free disk space' limit"""
|
|
82
107
|
|
|
108
|
+
# Block
|
|
83
109
|
BLOCK = "block"
|
|
110
|
+
# Drop
|
|
84
111
|
DROP = "drop"
|
|
85
112
|
|
|
86
113
|
|
|
@@ -94,23 +121,31 @@ class OutputS3Compression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
94
121
|
class OutputS3CompressionLevel(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
95
122
|
r"""Compression level to apply before moving files to final destination"""
|
|
96
123
|
|
|
124
|
+
# Best Speed
|
|
97
125
|
BEST_SPEED = "best_speed"
|
|
126
|
+
# Normal
|
|
98
127
|
NORMAL = "normal"
|
|
128
|
+
# Best Compression
|
|
99
129
|
BEST_COMPRESSION = "best_compression"
|
|
100
130
|
|
|
101
131
|
|
|
102
132
|
class OutputS3ParquetVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
103
133
|
r"""Determines which data types are supported and how they are represented"""
|
|
104
134
|
|
|
135
|
+
# 1.0
|
|
105
136
|
PARQUET_1_0 = "PARQUET_1_0"
|
|
137
|
+
# 2.4
|
|
106
138
|
PARQUET_2_4 = "PARQUET_2_4"
|
|
139
|
+
# 2.6
|
|
107
140
|
PARQUET_2_6 = "PARQUET_2_6"
|
|
108
141
|
|
|
109
142
|
|
|
110
143
|
class OutputS3DataPageVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
111
144
|
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."""
|
|
112
145
|
|
|
146
|
+
# V1
|
|
113
147
|
DATA_PAGE_V1 = "DATA_PAGE_V1"
|
|
148
|
+
# V2
|
|
114
149
|
DATA_PAGE_V2 = "DATA_PAGE_V2"
|
|
115
150
|
|
|
116
151
|
|