cribl-control-plane 0.2.1rc6__py3-none-any.whl → 0.3.0a1__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 +4 -4
- cribl_control_plane/errors/__init__.py +5 -8
- cribl_control_plane/errors/{healthserverstatus_error.py → healthstatus_error.py} +9 -10
- cribl_control_plane/groups_sdk.py +30 -54
- cribl_control_plane/health.py +16 -22
- cribl_control_plane/models/__init__.py +50 -103
- cribl_control_plane/models/appmode.py +14 -0
- cribl_control_plane/models/authtoken.py +1 -5
- cribl_control_plane/models/configgroup.py +6 -35
- cribl_control_plane/models/createconfiggroupbyproductop.py +7 -8
- 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 +0 -6
- cribl_control_plane/models/error.py +16 -0
- cribl_control_plane/models/gethealthinfoop.py +17 -0
- cribl_control_plane/models/hbcriblinfo.py +3 -14
- cribl_control_plane/models/{healthserverstatus.py → healthstatus.py} +7 -7
- cribl_control_plane/models/heartbeatmetadata.py +0 -3
- cribl_control_plane/models/input.py +63 -65
- cribl_control_plane/models/inputappscope.py +0 -4
- cribl_control_plane/models/inputazureblob.py +0 -4
- cribl_control_plane/models/inputcollection.py +0 -4
- cribl_control_plane/models/inputconfluentcloud.py +18 -8
- cribl_control_plane/models/inputcribl.py +0 -4
- cribl_control_plane/models/inputcriblhttp.py +0 -4
- cribl_control_plane/models/inputcribllakehttp.py +0 -4
- cribl_control_plane/models/inputcriblmetrics.py +0 -4
- cribl_control_plane/models/inputcribltcp.py +0 -4
- cribl_control_plane/models/inputcrowdstrike.py +0 -7
- cribl_control_plane/models/inputdatadogagent.py +0 -4
- cribl_control_plane/models/inputdatagen.py +0 -4
- cribl_control_plane/models/inputedgeprometheus.py +0 -12
- cribl_control_plane/models/inputelastic.py +0 -11
- cribl_control_plane/models/inputeventhub.py +0 -6
- cribl_control_plane/models/inputexec.py +0 -4
- cribl_control_plane/models/inputfile.py +0 -6
- cribl_control_plane/models/inputfirehose.py +0 -4
- cribl_control_plane/models/inputgooglepubsub.py +0 -7
- cribl_control_plane/models/inputgrafana.py +0 -8
- cribl_control_plane/models/inputhttp.py +0 -4
- cribl_control_plane/models/inputhttpraw.py +0 -4
- cribl_control_plane/models/inputjournalfiles.py +0 -4
- cribl_control_plane/models/inputkafka.py +17 -8
- cribl_control_plane/models/inputkinesis.py +0 -15
- cribl_control_plane/models/inputkubeevents.py +0 -4
- cribl_control_plane/models/inputkubelogs.py +0 -4
- cribl_control_plane/models/inputkubemetrics.py +0 -4
- cribl_control_plane/models/inputloki.py +0 -4
- cribl_control_plane/models/inputmetrics.py +0 -4
- cribl_control_plane/models/inputmodeldriventelemetry.py +0 -4
- cribl_control_plane/models/inputmsk.py +17 -7
- cribl_control_plane/models/inputnetflow.py +0 -4
- cribl_control_plane/models/inputoffice365mgmt.py +0 -11
- cribl_control_plane/models/inputoffice365msgtrace.py +0 -11
- cribl_control_plane/models/inputoffice365service.py +0 -11
- cribl_control_plane/models/inputopentelemetry.py +0 -8
- cribl_control_plane/models/inputprometheus.py +0 -10
- cribl_control_plane/models/inputprometheusrw.py +0 -4
- cribl_control_plane/models/inputrawudp.py +0 -4
- cribl_control_plane/models/inputs3.py +0 -7
- cribl_control_plane/models/inputs3inventory.py +0 -7
- cribl_control_plane/models/inputsecuritylake.py +0 -7
- cribl_control_plane/models/inputsnmp.py +0 -11
- cribl_control_plane/models/inputsplunk.py +0 -9
- cribl_control_plane/models/inputsplunkhec.py +0 -4
- cribl_control_plane/models/inputsplunksearch.py +0 -7
- cribl_control_plane/models/inputsqs.py +0 -9
- cribl_control_plane/models/inputsyslog.py +0 -8
- cribl_control_plane/models/inputsystemmetrics.py +0 -32
- cribl_control_plane/models/inputsystemstate.py +0 -4
- cribl_control_plane/models/inputtcp.py +0 -4
- cribl_control_plane/models/inputtcpjson.py +0 -4
- cribl_control_plane/models/inputwef.py +0 -6
- cribl_control_plane/models/inputwindowsmetrics.py +0 -28
- cribl_control_plane/models/inputwineventlogs.py +0 -8
- cribl_control_plane/models/inputwiz.py +0 -7
- cribl_control_plane/models/inputwizwebhook.py +0 -4
- cribl_control_plane/models/inputzscalerhec.py +0 -4
- cribl_control_plane/models/jobinfo.py +1 -4
- cribl_control_plane/models/logininfo.py +3 -3
- cribl_control_plane/models/nodeprovidedinfo.py +1 -11
- cribl_control_plane/models/output.py +72 -77
- cribl_control_plane/models/outputazureblob.py +0 -20
- cribl_control_plane/models/outputazuredataexplorer.py +0 -28
- cribl_control_plane/models/outputazureeventhub.py +0 -17
- cribl_control_plane/models/outputazurelogs.py +0 -13
- cribl_control_plane/models/outputchronicle.py +0 -13
- cribl_control_plane/models/outputclickhouse.py +0 -17
- cribl_control_plane/models/outputcloudwatch.py +0 -13
- cribl_control_plane/models/outputconfluentcloud.py +18 -24
- cribl_control_plane/models/outputcriblhttp.py +0 -15
- cribl_control_plane/models/outputcribllake.py +0 -21
- cribl_control_plane/models/outputcribltcp.py +0 -12
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +0 -15
- cribl_control_plane/models/outputdatadog.py +0 -30
- cribl_control_plane/models/outputdataset.py +0 -23
- cribl_control_plane/models/outputdls3.py +0 -35
- cribl_control_plane/models/outputdynatracehttp.py +0 -22
- cribl_control_plane/models/outputdynatraceotlp.py +0 -22
- cribl_control_plane/models/outputelastic.py +0 -18
- cribl_control_plane/models/outputelasticcloud.py +0 -13
- cribl_control_plane/models/outputexabeam.py +0 -14
- cribl_control_plane/models/outputfilesystem.py +0 -15
- cribl_control_plane/models/outputgooglechronicle.py +0 -21
- cribl_control_plane/models/outputgooglecloudlogging.py +0 -19
- cribl_control_plane/models/outputgooglecloudstorage.py +0 -28
- cribl_control_plane/models/outputgooglepubsub.py +0 -13
- cribl_control_plane/models/outputgrafanacloud.py +0 -50
- cribl_control_plane/models/outputgraphite.py +0 -12
- cribl_control_plane/models/outputhoneycomb.py +0 -13
- cribl_control_plane/models/outputhumiohec.py +0 -15
- cribl_control_plane/models/outputinfluxdb.py +0 -19
- cribl_control_plane/models/outputkafka.py +17 -24
- cribl_control_plane/models/outputkinesis.py +0 -15
- cribl_control_plane/models/outputloki.py +0 -20
- cribl_control_plane/models/outputminio.py +0 -28
- cribl_control_plane/models/outputmsk.py +17 -23
- cribl_control_plane/models/outputnewrelic.py +0 -16
- cribl_control_plane/models/outputnewrelicevents.py +0 -16
- cribl_control_plane/models/outputopentelemetry.py +0 -22
- cribl_control_plane/models/outputprometheus.py +0 -13
- cribl_control_plane/models/outputring.py +0 -2
- cribl_control_plane/models/outputs3.py +0 -35
- cribl_control_plane/models/outputsecuritylake.py +0 -29
- cribl_control_plane/models/outputsentinel.py +0 -15
- cribl_control_plane/models/outputsentineloneaisiem.py +0 -13
- cribl_control_plane/models/outputservicenow.py +0 -21
- cribl_control_plane/models/outputsignalfx.py +0 -13
- cribl_control_plane/models/outputsns.py +0 -13
- cribl_control_plane/models/outputsplunk.py +0 -15
- cribl_control_plane/models/outputsplunkhec.py +0 -13
- cribl_control_plane/models/outputsplunklb.py +0 -15
- cribl_control_plane/models/outputsqs.py +0 -15
- cribl_control_plane/models/outputstatsd.py +0 -12
- cribl_control_plane/models/outputstatsdext.py +0 -12
- cribl_control_plane/models/outputsumologic.py +0 -15
- cribl_control_plane/models/outputsyslog.py +0 -24
- cribl_control_plane/models/outputtcpjson.py +0 -12
- cribl_control_plane/models/outputwavefront.py +0 -13
- cribl_control_plane/models/outputwebhook.py +0 -23
- cribl_control_plane/models/outputxsiam.py +0 -13
- cribl_control_plane/models/packinfo.py +5 -8
- cribl_control_plane/models/packinstallinfo.py +5 -8
- cribl_control_plane/models/{uploadpackresponse.py → routecloneconf.py} +4 -4
- cribl_control_plane/models/routeconf.py +4 -3
- cribl_control_plane/models/runnablejobcollection.py +0 -4
- cribl_control_plane/packs.py +7 -202
- cribl_control_plane/routes_sdk.py +6 -6
- cribl_control_plane/tokens.py +15 -23
- {cribl_control_plane-0.2.1rc6.dist-info → cribl_control_plane-0.3.0a1.dist-info}/METADATA +9 -50
- {cribl_control_plane-0.2.1rc6.dist-info → cribl_control_plane-0.3.0a1.dist-info}/RECORD +153 -154
- cribl_control_plane/models/groupcreaterequest.py +0 -152
- cribl_control_plane/models/outpostnodeinfo.py +0 -16
- cribl_control_plane/models/outputdatabricks.py +0 -411
- cribl_control_plane/models/updatepacksop.py +0 -25
- {cribl_control_plane-0.2.1rc6.dist-info → cribl_control_plane-0.3.0a1.dist-info}/WHEEL +0 -0
|
@@ -31,11 +31,8 @@ class OutputElasticCloudFailedRequestLoggingMode(
|
|
|
31
31
|
):
|
|
32
32
|
r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
|
|
33
33
|
|
|
34
|
-
# Payload
|
|
35
34
|
PAYLOAD = "payload"
|
|
36
|
-
# Payload + Headers
|
|
37
35
|
PAYLOAD_AND_HEADERS = "payloadAndHeaders"
|
|
38
|
-
# None
|
|
39
36
|
NONE = "none"
|
|
40
37
|
|
|
41
38
|
|
|
@@ -135,40 +132,30 @@ class OutputElasticCloudTimeoutRetrySettings(BaseModel):
|
|
|
135
132
|
class OutputElasticCloudBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
136
133
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
137
134
|
|
|
138
|
-
# Block
|
|
139
135
|
BLOCK = "block"
|
|
140
|
-
# Drop
|
|
141
136
|
DROP = "drop"
|
|
142
|
-
# Persistent Queue
|
|
143
137
|
QUEUE = "queue"
|
|
144
138
|
|
|
145
139
|
|
|
146
140
|
class OutputElasticCloudCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
147
141
|
r"""Codec to use to compress the persisted data"""
|
|
148
142
|
|
|
149
|
-
# None
|
|
150
143
|
NONE = "none"
|
|
151
|
-
# Gzip
|
|
152
144
|
GZIP = "gzip"
|
|
153
145
|
|
|
154
146
|
|
|
155
147
|
class OutputElasticCloudQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
156
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."""
|
|
157
149
|
|
|
158
|
-
# Block
|
|
159
150
|
BLOCK = "block"
|
|
160
|
-
# Drop new data
|
|
161
151
|
DROP = "drop"
|
|
162
152
|
|
|
163
153
|
|
|
164
154
|
class OutputElasticCloudMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
165
155
|
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."""
|
|
166
156
|
|
|
167
|
-
# Error
|
|
168
157
|
ERROR = "error"
|
|
169
|
-
# Backpressure
|
|
170
158
|
BACKPRESSURE = "backpressure"
|
|
171
|
-
# Always On
|
|
172
159
|
ALWAYS = "always"
|
|
173
160
|
|
|
174
161
|
|
|
@@ -25,48 +25,34 @@ class OutputExabeamSignatureVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
25
25
|
class OutputExabeamObjectACL(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
26
26
|
r"""Object ACL to assign to uploaded objects"""
|
|
27
27
|
|
|
28
|
-
# private
|
|
29
28
|
PRIVATE = "private"
|
|
30
|
-
# bucket-owner-read
|
|
31
29
|
BUCKET_OWNER_READ = "bucket-owner-read"
|
|
32
|
-
# bucket-owner-full-control
|
|
33
30
|
BUCKET_OWNER_FULL_CONTROL = "bucket-owner-full-control"
|
|
34
|
-
# project-private
|
|
35
31
|
PROJECT_PRIVATE = "project-private"
|
|
36
|
-
# authenticated-read
|
|
37
32
|
AUTHENTICATED_READ = "authenticated-read"
|
|
38
|
-
# public-read
|
|
39
33
|
PUBLIC_READ = "public-read"
|
|
40
34
|
|
|
41
35
|
|
|
42
36
|
class OutputExabeamStorageClass(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
43
37
|
r"""Storage class to select for uploaded objects"""
|
|
44
38
|
|
|
45
|
-
# Standard Storage
|
|
46
39
|
STANDARD = "STANDARD"
|
|
47
|
-
# Nearline Storage
|
|
48
40
|
NEARLINE = "NEARLINE"
|
|
49
|
-
# Coldline Storage
|
|
50
41
|
COLDLINE = "COLDLINE"
|
|
51
|
-
# Archive Storage
|
|
52
42
|
ARCHIVE = "ARCHIVE"
|
|
53
43
|
|
|
54
44
|
|
|
55
45
|
class OutputExabeamBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
56
46
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
57
47
|
|
|
58
|
-
# Block
|
|
59
48
|
BLOCK = "block"
|
|
60
|
-
# Drop
|
|
61
49
|
DROP = "drop"
|
|
62
50
|
|
|
63
51
|
|
|
64
52
|
class OutputExabeamDiskSpaceProtection(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
65
53
|
r"""How to handle events when disk space is below the global 'Min free disk space' limit"""
|
|
66
54
|
|
|
67
|
-
# Block
|
|
68
55
|
BLOCK = "block"
|
|
69
|
-
# Drop
|
|
70
56
|
DROP = "drop"
|
|
71
57
|
|
|
72
58
|
|
|
@@ -18,29 +18,22 @@ class OutputFilesystemType(str, Enum):
|
|
|
18
18
|
class OutputFilesystemDataFormat(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
19
19
|
r"""Format of the output data"""
|
|
20
20
|
|
|
21
|
-
# JSON
|
|
22
21
|
JSON = "json"
|
|
23
|
-
# Raw
|
|
24
22
|
RAW = "raw"
|
|
25
|
-
# Parquet
|
|
26
23
|
PARQUET = "parquet"
|
|
27
24
|
|
|
28
25
|
|
|
29
26
|
class OutputFilesystemBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
30
27
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
31
28
|
|
|
32
|
-
# Block
|
|
33
29
|
BLOCK = "block"
|
|
34
|
-
# Drop
|
|
35
30
|
DROP = "drop"
|
|
36
31
|
|
|
37
32
|
|
|
38
33
|
class OutputFilesystemDiskSpaceProtection(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
39
34
|
r"""How to handle events when disk space is below the global 'Min free disk space' limit"""
|
|
40
35
|
|
|
41
|
-
# Block
|
|
42
36
|
BLOCK = "block"
|
|
43
|
-
# Drop
|
|
44
37
|
DROP = "drop"
|
|
45
38
|
|
|
46
39
|
|
|
@@ -54,31 +47,23 @@ class OutputFilesystemCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
54
47
|
class OutputFilesystemCompressionLevel(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
55
48
|
r"""Compression level to apply before moving files to final destination"""
|
|
56
49
|
|
|
57
|
-
# Best Speed
|
|
58
50
|
BEST_SPEED = "best_speed"
|
|
59
|
-
# Normal
|
|
60
51
|
NORMAL = "normal"
|
|
61
|
-
# Best Compression
|
|
62
52
|
BEST_COMPRESSION = "best_compression"
|
|
63
53
|
|
|
64
54
|
|
|
65
55
|
class OutputFilesystemParquetVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
66
56
|
r"""Determines which data types are supported and how they are represented"""
|
|
67
57
|
|
|
68
|
-
# 1.0
|
|
69
58
|
PARQUET_1_0 = "PARQUET_1_0"
|
|
70
|
-
# 2.4
|
|
71
59
|
PARQUET_2_4 = "PARQUET_2_4"
|
|
72
|
-
# 2.6
|
|
73
60
|
PARQUET_2_6 = "PARQUET_2_6"
|
|
74
61
|
|
|
75
62
|
|
|
76
63
|
class OutputFilesystemDataPageVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
77
64
|
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."""
|
|
78
65
|
|
|
79
|
-
# V1
|
|
80
66
|
DATA_PAGE_V1 = "DATA_PAGE_V1"
|
|
81
|
-
# V2
|
|
82
67
|
DATA_PAGE_V2 = "DATA_PAGE_V2"
|
|
83
68
|
|
|
84
69
|
|
|
@@ -16,22 +16,16 @@ class OutputGoogleChronicleType(str, Enum):
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
class OutputGoogleChronicleAPIVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
19
|
-
# V1
|
|
20
19
|
V1 = "v1"
|
|
21
|
-
# V2
|
|
22
20
|
V2 = "v2"
|
|
23
21
|
|
|
24
22
|
|
|
25
23
|
class OutputGoogleChronicleAuthenticationMethod(
|
|
26
24
|
str, Enum, metaclass=utils.OpenEnumMeta
|
|
27
25
|
):
|
|
28
|
-
# API key
|
|
29
26
|
MANUAL = "manual"
|
|
30
|
-
# API key secret
|
|
31
27
|
SECRET = "secret"
|
|
32
|
-
# Service account credentials
|
|
33
28
|
SERVICE_ACCOUNT = "serviceAccount"
|
|
34
|
-
# Service account credentials secret
|
|
35
29
|
SERVICE_ACCOUNT_SECRET = "serviceAccountSecret"
|
|
36
30
|
|
|
37
31
|
|
|
@@ -90,9 +84,7 @@ class OutputGoogleChronicleTimeoutRetrySettings(BaseModel):
|
|
|
90
84
|
|
|
91
85
|
|
|
92
86
|
class SendEventsAs(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
93
|
-
# Unstructured
|
|
94
87
|
UNSTRUCTURED = "unstructured"
|
|
95
|
-
# UDM
|
|
96
88
|
UDM = "udm"
|
|
97
89
|
|
|
98
90
|
|
|
@@ -112,11 +104,8 @@ class OutputGoogleChronicleFailedRequestLoggingMode(
|
|
|
112
104
|
):
|
|
113
105
|
r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
|
|
114
106
|
|
|
115
|
-
# Payload
|
|
116
107
|
PAYLOAD = "payload"
|
|
117
|
-
# Payload + Headers
|
|
118
108
|
PAYLOAD_AND_HEADERS = "payloadAndHeaders"
|
|
119
|
-
# None
|
|
120
109
|
NONE = "none"
|
|
121
110
|
|
|
122
111
|
|
|
@@ -125,11 +114,8 @@ class OutputGoogleChronicleBackpressureBehavior(
|
|
|
125
114
|
):
|
|
126
115
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
127
116
|
|
|
128
|
-
# Block
|
|
129
117
|
BLOCK = "block"
|
|
130
|
-
# Drop
|
|
131
118
|
DROP = "drop"
|
|
132
|
-
# Persistent Queue
|
|
133
119
|
QUEUE = "queue"
|
|
134
120
|
|
|
135
121
|
|
|
@@ -158,29 +144,22 @@ class OutputGoogleChronicleCustomLabel(BaseModel):
|
|
|
158
144
|
class OutputGoogleChronicleCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
159
145
|
r"""Codec to use to compress the persisted data"""
|
|
160
146
|
|
|
161
|
-
# None
|
|
162
147
|
NONE = "none"
|
|
163
|
-
# Gzip
|
|
164
148
|
GZIP = "gzip"
|
|
165
149
|
|
|
166
150
|
|
|
167
151
|
class OutputGoogleChronicleQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
168
152
|
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."""
|
|
169
153
|
|
|
170
|
-
# Block
|
|
171
154
|
BLOCK = "block"
|
|
172
|
-
# Drop new data
|
|
173
155
|
DROP = "drop"
|
|
174
156
|
|
|
175
157
|
|
|
176
158
|
class OutputGoogleChronicleMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
177
159
|
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."""
|
|
178
160
|
|
|
179
|
-
# Error
|
|
180
161
|
ERROR = "error"
|
|
181
|
-
# Backpressure
|
|
182
162
|
BACKPRESSURE = "backpressure"
|
|
183
|
-
# Always On
|
|
184
163
|
ALWAYS = "always"
|
|
185
164
|
|
|
186
165
|
|
|
@@ -16,22 +16,16 @@ class OutputGoogleCloudLoggingType(str, Enum):
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
class LogLocationType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
19
|
-
# Project
|
|
20
19
|
PROJECT = "project"
|
|
21
|
-
# Organization
|
|
22
20
|
ORGANIZATION = "organization"
|
|
23
|
-
# Billing Account
|
|
24
21
|
BILLING_ACCOUNT = "billingAccount"
|
|
25
|
-
# Folder
|
|
26
22
|
FOLDER = "folder"
|
|
27
23
|
|
|
28
24
|
|
|
29
25
|
class PayloadFormat(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
30
26
|
r"""Format to use when sending payload. Defaults to Text."""
|
|
31
27
|
|
|
32
|
-
# Text
|
|
33
28
|
TEXT = "text"
|
|
34
|
-
# JSON
|
|
35
29
|
JSON = "json"
|
|
36
30
|
|
|
37
31
|
|
|
@@ -70,11 +64,8 @@ class OutputGoogleCloudLoggingGoogleAuthenticationMethod(
|
|
|
70
64
|
):
|
|
71
65
|
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."""
|
|
72
66
|
|
|
73
|
-
# Auto
|
|
74
67
|
AUTO = "auto"
|
|
75
|
-
# Manual
|
|
76
68
|
MANUAL = "manual"
|
|
77
|
-
# Secret
|
|
78
69
|
SECRET = "secret"
|
|
79
70
|
|
|
80
71
|
|
|
@@ -83,20 +74,15 @@ class OutputGoogleCloudLoggingBackpressureBehavior(
|
|
|
83
74
|
):
|
|
84
75
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
85
76
|
|
|
86
|
-
# Block
|
|
87
77
|
BLOCK = "block"
|
|
88
|
-
# Drop
|
|
89
78
|
DROP = "drop"
|
|
90
|
-
# Persistent Queue
|
|
91
79
|
QUEUE = "queue"
|
|
92
80
|
|
|
93
81
|
|
|
94
82
|
class OutputGoogleCloudLoggingCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
95
83
|
r"""Codec to use to compress the persisted data"""
|
|
96
84
|
|
|
97
|
-
# None
|
|
98
85
|
NONE = "none"
|
|
99
|
-
# Gzip
|
|
100
86
|
GZIP = "gzip"
|
|
101
87
|
|
|
102
88
|
|
|
@@ -105,20 +91,15 @@ class OutputGoogleCloudLoggingQueueFullBehavior(
|
|
|
105
91
|
):
|
|
106
92
|
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."""
|
|
107
93
|
|
|
108
|
-
# Block
|
|
109
94
|
BLOCK = "block"
|
|
110
|
-
# Drop new data
|
|
111
95
|
DROP = "drop"
|
|
112
96
|
|
|
113
97
|
|
|
114
98
|
class OutputGoogleCloudLoggingMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
115
99
|
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."""
|
|
116
100
|
|
|
117
|
-
# Error
|
|
118
101
|
ERROR = "error"
|
|
119
|
-
# Backpressure
|
|
120
102
|
BACKPRESSURE = "backpressure"
|
|
121
|
-
# Always On
|
|
122
103
|
ALWAYS = "always"
|
|
123
104
|
|
|
124
105
|
|
|
@@ -25,52 +25,36 @@ class OutputGoogleCloudStorageSignatureVersion(str, Enum, metaclass=utils.OpenEn
|
|
|
25
25
|
class OutputGoogleCloudStorageAuthenticationMethod(
|
|
26
26
|
str, Enum, metaclass=utils.OpenEnumMeta
|
|
27
27
|
):
|
|
28
|
-
# auto
|
|
29
28
|
AUTO = "auto"
|
|
30
|
-
# manual
|
|
31
29
|
MANUAL = "manual"
|
|
32
|
-
# Secret Key pair
|
|
33
30
|
SECRET = "secret"
|
|
34
31
|
|
|
35
32
|
|
|
36
33
|
class OutputGoogleCloudStorageObjectACL(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
37
34
|
r"""Object ACL to assign to uploaded objects"""
|
|
38
35
|
|
|
39
|
-
# private
|
|
40
36
|
PRIVATE = "private"
|
|
41
|
-
# bucket-owner-read
|
|
42
37
|
BUCKET_OWNER_READ = "bucket-owner-read"
|
|
43
|
-
# bucket-owner-full-control
|
|
44
38
|
BUCKET_OWNER_FULL_CONTROL = "bucket-owner-full-control"
|
|
45
|
-
# project-private
|
|
46
39
|
PROJECT_PRIVATE = "project-private"
|
|
47
|
-
# authenticated-read
|
|
48
40
|
AUTHENTICATED_READ = "authenticated-read"
|
|
49
|
-
# public-read
|
|
50
41
|
PUBLIC_READ = "public-read"
|
|
51
42
|
|
|
52
43
|
|
|
53
44
|
class OutputGoogleCloudStorageStorageClass(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
54
45
|
r"""Storage class to select for uploaded objects"""
|
|
55
46
|
|
|
56
|
-
# Standard Storage
|
|
57
47
|
STANDARD = "STANDARD"
|
|
58
|
-
# Nearline Storage
|
|
59
48
|
NEARLINE = "NEARLINE"
|
|
60
|
-
# Coldline Storage
|
|
61
49
|
COLDLINE = "COLDLINE"
|
|
62
|
-
# Archive Storage
|
|
63
50
|
ARCHIVE = "ARCHIVE"
|
|
64
51
|
|
|
65
52
|
|
|
66
53
|
class OutputGoogleCloudStorageDataFormat(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
67
54
|
r"""Format of the output data"""
|
|
68
55
|
|
|
69
|
-
# JSON
|
|
70
56
|
JSON = "json"
|
|
71
|
-
# Raw
|
|
72
57
|
RAW = "raw"
|
|
73
|
-
# Parquet
|
|
74
58
|
PARQUET = "parquet"
|
|
75
59
|
|
|
76
60
|
|
|
@@ -79,9 +63,7 @@ class OutputGoogleCloudStorageBackpressureBehavior(
|
|
|
79
63
|
):
|
|
80
64
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
81
65
|
|
|
82
|
-
# Block
|
|
83
66
|
BLOCK = "block"
|
|
84
|
-
# Drop
|
|
85
67
|
DROP = "drop"
|
|
86
68
|
|
|
87
69
|
|
|
@@ -90,9 +72,7 @@ class OutputGoogleCloudStorageDiskSpaceProtection(
|
|
|
90
72
|
):
|
|
91
73
|
r"""How to handle events when disk space is below the global 'Min free disk space' limit"""
|
|
92
74
|
|
|
93
|
-
# Block
|
|
94
75
|
BLOCK = "block"
|
|
95
|
-
# Drop
|
|
96
76
|
DROP = "drop"
|
|
97
77
|
|
|
98
78
|
|
|
@@ -106,31 +86,23 @@ class OutputGoogleCloudStorageCompression(str, Enum, metaclass=utils.OpenEnumMet
|
|
|
106
86
|
class OutputGoogleCloudStorageCompressionLevel(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
107
87
|
r"""Compression level to apply before moving files to final destination"""
|
|
108
88
|
|
|
109
|
-
# Best Speed
|
|
110
89
|
BEST_SPEED = "best_speed"
|
|
111
|
-
# Normal
|
|
112
90
|
NORMAL = "normal"
|
|
113
|
-
# Best Compression
|
|
114
91
|
BEST_COMPRESSION = "best_compression"
|
|
115
92
|
|
|
116
93
|
|
|
117
94
|
class OutputGoogleCloudStorageParquetVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
118
95
|
r"""Determines which data types are supported and how they are represented"""
|
|
119
96
|
|
|
120
|
-
# 1.0
|
|
121
97
|
PARQUET_1_0 = "PARQUET_1_0"
|
|
122
|
-
# 2.4
|
|
123
98
|
PARQUET_2_4 = "PARQUET_2_4"
|
|
124
|
-
# 2.6
|
|
125
99
|
PARQUET_2_6 = "PARQUET_2_6"
|
|
126
100
|
|
|
127
101
|
|
|
128
102
|
class OutputGoogleCloudStorageDataPageVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
129
103
|
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."""
|
|
130
104
|
|
|
131
|
-
# V1
|
|
132
105
|
DATA_PAGE_V1 = "DATA_PAGE_V1"
|
|
133
|
-
# V2
|
|
134
106
|
DATA_PAGE_V2 = "DATA_PAGE_V2"
|
|
135
107
|
|
|
136
108
|
|
|
@@ -20,51 +20,38 @@ 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
|
|
24
23
|
AUTO = "auto"
|
|
25
|
-
# Manual
|
|
26
24
|
MANUAL = "manual"
|
|
27
|
-
# Secret
|
|
28
25
|
SECRET = "secret"
|
|
29
26
|
|
|
30
27
|
|
|
31
28
|
class OutputGooglePubsubBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
32
29
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
33
30
|
|
|
34
|
-
# Block
|
|
35
31
|
BLOCK = "block"
|
|
36
|
-
# Drop
|
|
37
32
|
DROP = "drop"
|
|
38
|
-
# Persistent Queue
|
|
39
33
|
QUEUE = "queue"
|
|
40
34
|
|
|
41
35
|
|
|
42
36
|
class OutputGooglePubsubCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
43
37
|
r"""Codec to use to compress the persisted data"""
|
|
44
38
|
|
|
45
|
-
# None
|
|
46
39
|
NONE = "none"
|
|
47
|
-
# Gzip
|
|
48
40
|
GZIP = "gzip"
|
|
49
41
|
|
|
50
42
|
|
|
51
43
|
class OutputGooglePubsubQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
52
44
|
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."""
|
|
53
45
|
|
|
54
|
-
# Block
|
|
55
46
|
BLOCK = "block"
|
|
56
|
-
# Drop new data
|
|
57
47
|
DROP = "drop"
|
|
58
48
|
|
|
59
49
|
|
|
60
50
|
class OutputGooglePubsubMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
61
51
|
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."""
|
|
62
52
|
|
|
63
|
-
# Error
|
|
64
53
|
ERROR = "error"
|
|
65
|
-
# Backpressure
|
|
66
54
|
BACKPRESSURE = "backpressure"
|
|
67
|
-
# Always On
|
|
68
55
|
ALWAYS = "always"
|
|
69
56
|
|
|
70
57
|
|
|
@@ -18,9 +18,7 @@ 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
|
|
22
21
|
PROTOBUF = "protobuf"
|
|
23
|
-
# JSON
|
|
24
22
|
JSON = "json"
|
|
25
23
|
|
|
26
24
|
|
|
@@ -38,15 +36,10 @@ class OutputGrafanaCloudLabel2(BaseModel):
|
|
|
38
36
|
class OutputGrafanaCloudPrometheusAuthAuthenticationType2(
|
|
39
37
|
str, Enum, metaclass=utils.OpenEnumMeta
|
|
40
38
|
):
|
|
41
|
-
# None
|
|
42
39
|
NONE = "none"
|
|
43
|
-
# Auth token
|
|
44
40
|
TOKEN = "token"
|
|
45
|
-
# Auth token (text secret)
|
|
46
41
|
TEXT_SECRET = "textSecret"
|
|
47
|
-
# Basic
|
|
48
42
|
BASIC = "basic"
|
|
49
|
-
# Basic (credentials secret)
|
|
50
43
|
CREDENTIALS_SECRET = "credentialsSecret"
|
|
51
44
|
|
|
52
45
|
|
|
@@ -94,15 +87,10 @@ class OutputGrafanaCloudPrometheusAuth2(BaseModel):
|
|
|
94
87
|
class OutputGrafanaCloudLokiAuthAuthenticationType2(
|
|
95
88
|
str, Enum, metaclass=utils.OpenEnumMeta
|
|
96
89
|
):
|
|
97
|
-
# None
|
|
98
90
|
NONE = "none"
|
|
99
|
-
# Auth token
|
|
100
91
|
TOKEN = "token"
|
|
101
|
-
# Auth token (text secret)
|
|
102
92
|
TEXT_SECRET = "textSecret"
|
|
103
|
-
# Basic
|
|
104
93
|
BASIC = "basic"
|
|
105
|
-
# Basic (credentials secret)
|
|
106
94
|
CREDENTIALS_SECRET = "credentialsSecret"
|
|
107
95
|
|
|
108
96
|
|
|
@@ -163,11 +151,8 @@ class OutputGrafanaCloudFailedRequestLoggingMode2(
|
|
|
163
151
|
):
|
|
164
152
|
r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
|
|
165
153
|
|
|
166
|
-
# Payload
|
|
167
154
|
PAYLOAD = "payload"
|
|
168
|
-
# Payload + Headers
|
|
169
155
|
PAYLOAD_AND_HEADERS = "payloadAndHeaders"
|
|
170
|
-
# None
|
|
171
156
|
NONE = "none"
|
|
172
157
|
|
|
173
158
|
|
|
@@ -228,40 +213,30 @@ class OutputGrafanaCloudTimeoutRetrySettings2(BaseModel):
|
|
|
228
213
|
class OutputGrafanaCloudBackpressureBehavior2(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
229
214
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
230
215
|
|
|
231
|
-
# Block
|
|
232
216
|
BLOCK = "block"
|
|
233
|
-
# Drop
|
|
234
217
|
DROP = "drop"
|
|
235
|
-
# Persistent Queue
|
|
236
218
|
QUEUE = "queue"
|
|
237
219
|
|
|
238
220
|
|
|
239
221
|
class OutputGrafanaCloudCompression2(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
240
222
|
r"""Codec to use to compress the persisted data"""
|
|
241
223
|
|
|
242
|
-
# None
|
|
243
224
|
NONE = "none"
|
|
244
|
-
# Gzip
|
|
245
225
|
GZIP = "gzip"
|
|
246
226
|
|
|
247
227
|
|
|
248
228
|
class OutputGrafanaCloudQueueFullBehavior2(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
249
229
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
250
230
|
|
|
251
|
-
# Block
|
|
252
231
|
BLOCK = "block"
|
|
253
|
-
# Drop new data
|
|
254
232
|
DROP = "drop"
|
|
255
233
|
|
|
256
234
|
|
|
257
235
|
class OutputGrafanaCloudMode2(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
258
236
|
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."""
|
|
259
237
|
|
|
260
|
-
# Error
|
|
261
238
|
ERROR = "error"
|
|
262
|
-
# Backpressure
|
|
263
239
|
BACKPRESSURE = "backpressure"
|
|
264
|
-
# Always On
|
|
265
240
|
ALWAYS = "always"
|
|
266
241
|
|
|
267
242
|
|
|
@@ -543,9 +518,7 @@ class OutputGrafanaCloudType1(str, Enum):
|
|
|
543
518
|
class OutputGrafanaCloudMessageFormat1(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
544
519
|
r"""Format to use when sending logs to Loki (Protobuf or JSON)"""
|
|
545
520
|
|
|
546
|
-
# Protobuf
|
|
547
521
|
PROTOBUF = "protobuf"
|
|
548
|
-
# JSON
|
|
549
522
|
JSON = "json"
|
|
550
523
|
|
|
551
524
|
|
|
@@ -563,15 +536,10 @@ class OutputGrafanaCloudLabel1(BaseModel):
|
|
|
563
536
|
class OutputGrafanaCloudPrometheusAuthAuthenticationType1(
|
|
564
537
|
str, Enum, metaclass=utils.OpenEnumMeta
|
|
565
538
|
):
|
|
566
|
-
# None
|
|
567
539
|
NONE = "none"
|
|
568
|
-
# Auth token
|
|
569
540
|
TOKEN = "token"
|
|
570
|
-
# Auth token (text secret)
|
|
571
541
|
TEXT_SECRET = "textSecret"
|
|
572
|
-
# Basic
|
|
573
542
|
BASIC = "basic"
|
|
574
|
-
# Basic (credentials secret)
|
|
575
543
|
CREDENTIALS_SECRET = "credentialsSecret"
|
|
576
544
|
|
|
577
545
|
|
|
@@ -619,15 +587,10 @@ class OutputGrafanaCloudPrometheusAuth1(BaseModel):
|
|
|
619
587
|
class OutputGrafanaCloudLokiAuthAuthenticationType1(
|
|
620
588
|
str, Enum, metaclass=utils.OpenEnumMeta
|
|
621
589
|
):
|
|
622
|
-
# None
|
|
623
590
|
NONE = "none"
|
|
624
|
-
# Auth token
|
|
625
591
|
TOKEN = "token"
|
|
626
|
-
# Auth token (text secret)
|
|
627
592
|
TEXT_SECRET = "textSecret"
|
|
628
|
-
# Basic
|
|
629
593
|
BASIC = "basic"
|
|
630
|
-
# Basic (credentials secret)
|
|
631
594
|
CREDENTIALS_SECRET = "credentialsSecret"
|
|
632
595
|
|
|
633
596
|
|
|
@@ -688,11 +651,8 @@ class OutputGrafanaCloudFailedRequestLoggingMode1(
|
|
|
688
651
|
):
|
|
689
652
|
r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
|
|
690
653
|
|
|
691
|
-
# Payload
|
|
692
654
|
PAYLOAD = "payload"
|
|
693
|
-
# Payload + Headers
|
|
694
655
|
PAYLOAD_AND_HEADERS = "payloadAndHeaders"
|
|
695
|
-
# None
|
|
696
656
|
NONE = "none"
|
|
697
657
|
|
|
698
658
|
|
|
@@ -753,40 +713,30 @@ class OutputGrafanaCloudTimeoutRetrySettings1(BaseModel):
|
|
|
753
713
|
class OutputGrafanaCloudBackpressureBehavior1(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
754
714
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
755
715
|
|
|
756
|
-
# Block
|
|
757
716
|
BLOCK = "block"
|
|
758
|
-
# Drop
|
|
759
717
|
DROP = "drop"
|
|
760
|
-
# Persistent Queue
|
|
761
718
|
QUEUE = "queue"
|
|
762
719
|
|
|
763
720
|
|
|
764
721
|
class OutputGrafanaCloudCompression1(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
765
722
|
r"""Codec to use to compress the persisted data"""
|
|
766
723
|
|
|
767
|
-
# None
|
|
768
724
|
NONE = "none"
|
|
769
|
-
# Gzip
|
|
770
725
|
GZIP = "gzip"
|
|
771
726
|
|
|
772
727
|
|
|
773
728
|
class OutputGrafanaCloudQueueFullBehavior1(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
774
729
|
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."""
|
|
775
730
|
|
|
776
|
-
# Block
|
|
777
731
|
BLOCK = "block"
|
|
778
|
-
# Drop new data
|
|
779
732
|
DROP = "drop"
|
|
780
733
|
|
|
781
734
|
|
|
782
735
|
class OutputGrafanaCloudMode1(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
783
736
|
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."""
|
|
784
737
|
|
|
785
|
-
# Error
|
|
786
738
|
ERROR = "error"
|
|
787
|
-
# Backpressure
|
|
788
739
|
BACKPRESSURE = "backpressure"
|
|
789
|
-
# Always On
|
|
790
740
|
ALWAYS = "always"
|
|
791
741
|
|
|
792
742
|
|