cribl-control-plane 0.2.0rc1__py3-none-any.whl → 0.2.1rc1__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 -6
- cribl_control_plane/groups_sdk.py +11 -8
- cribl_control_plane/mappings.py +1185 -0
- cribl_control_plane/models/__init__.py +195 -33
- cribl_control_plane/models/authtoken.py +8 -1
- cribl_control_plane/models/configgroup.py +30 -2
- cribl_control_plane/models/createadminproductsmappingsactivatebyproductop.py +52 -0
- cribl_control_plane/models/createadminproductsmappingsbyproductop.py +53 -0
- cribl_control_plane/models/createversionundoop.py +3 -3
- cribl_control_plane/models/deleteadminproductsmappingsbyproductandidop.py +51 -0
- cribl_control_plane/models/distributedsummary.py +6 -0
- cribl_control_plane/models/getadminproductsmappingsbyproductandidop.py +51 -0
- cribl_control_plane/models/getadminproductsmappingsbyproductop.py +44 -0
- cribl_control_plane/models/hbcriblinfo.py +14 -3
- cribl_control_plane/models/heartbeatmetadata.py +3 -0
- cribl_control_plane/models/input.py +65 -63
- cribl_control_plane/models/inputappscope.py +4 -0
- cribl_control_plane/models/inputazureblob.py +4 -0
- cribl_control_plane/models/inputcollection.py +4 -0
- cribl_control_plane/models/inputconfluentcloud.py +8 -18
- cribl_control_plane/models/inputcribl.py +4 -0
- cribl_control_plane/models/inputcriblhttp.py +4 -0
- cribl_control_plane/models/inputcribllakehttp.py +4 -0
- cribl_control_plane/models/inputcriblmetrics.py +4 -0
- cribl_control_plane/models/inputcribltcp.py +4 -0
- cribl_control_plane/models/inputcrowdstrike.py +7 -0
- cribl_control_plane/models/inputdatadogagent.py +4 -0
- cribl_control_plane/models/inputdatagen.py +4 -0
- cribl_control_plane/models/inputedgeprometheus.py +12 -0
- cribl_control_plane/models/inputelastic.py +11 -0
- cribl_control_plane/models/inputeventhub.py +6 -0
- cribl_control_plane/models/inputexec.py +4 -0
- cribl_control_plane/models/inputfile.py +6 -0
- cribl_control_plane/models/inputfirehose.py +4 -0
- cribl_control_plane/models/inputgooglepubsub.py +7 -0
- cribl_control_plane/models/inputgrafana.py +8 -0
- cribl_control_plane/models/inputhttp.py +4 -0
- cribl_control_plane/models/inputhttpraw.py +4 -0
- cribl_control_plane/models/inputjournalfiles.py +4 -0
- cribl_control_plane/models/inputkafka.py +8 -17
- cribl_control_plane/models/inputkinesis.py +15 -0
- cribl_control_plane/models/inputkubeevents.py +4 -0
- cribl_control_plane/models/inputkubelogs.py +4 -0
- cribl_control_plane/models/inputkubemetrics.py +4 -0
- cribl_control_plane/models/inputloki.py +4 -0
- cribl_control_plane/models/inputmetrics.py +4 -0
- cribl_control_plane/models/inputmodeldriventelemetry.py +4 -0
- cribl_control_plane/models/inputmsk.py +7 -17
- cribl_control_plane/models/inputnetflow.py +4 -0
- cribl_control_plane/models/inputoffice365mgmt.py +11 -0
- cribl_control_plane/models/inputoffice365msgtrace.py +11 -0
- cribl_control_plane/models/inputoffice365service.py +11 -0
- cribl_control_plane/models/inputopentelemetry.py +8 -0
- cribl_control_plane/models/inputprometheus.py +10 -0
- cribl_control_plane/models/inputprometheusrw.py +4 -0
- cribl_control_plane/models/inputrawudp.py +4 -0
- cribl_control_plane/models/inputs3.py +7 -0
- cribl_control_plane/models/inputs3inventory.py +7 -0
- cribl_control_plane/models/inputsecuritylake.py +7 -0
- cribl_control_plane/models/inputsnmp.py +11 -0
- cribl_control_plane/models/inputsplunk.py +9 -0
- cribl_control_plane/models/inputsplunkhec.py +4 -0
- cribl_control_plane/models/inputsplunksearch.py +7 -0
- cribl_control_plane/models/inputsqs.py +9 -0
- cribl_control_plane/models/inputsyslog.py +8 -0
- cribl_control_plane/models/inputsystemmetrics.py +32 -0
- cribl_control_plane/models/inputsystemstate.py +4 -0
- cribl_control_plane/models/inputtcp.py +4 -0
- cribl_control_plane/models/inputtcpjson.py +4 -0
- cribl_control_plane/models/inputwef.py +6 -0
- cribl_control_plane/models/inputwindowsmetrics.py +28 -0
- cribl_control_plane/models/inputwineventlogs.py +8 -0
- cribl_control_plane/models/inputwiz.py +7 -0
- cribl_control_plane/models/inputwizwebhook.py +4 -0
- cribl_control_plane/models/inputzscalerhec.py +4 -0
- cribl_control_plane/models/jobinfo.py +4 -1
- cribl_control_plane/models/mappingruleset.py +95 -0
- cribl_control_plane/models/nodeprovidedinfo.py +11 -1
- cribl_control_plane/models/outpostnodeinfo.py +16 -0
- cribl_control_plane/models/output.py +77 -72
- cribl_control_plane/models/outputazureblob.py +20 -0
- cribl_control_plane/models/outputazuredataexplorer.py +28 -0
- cribl_control_plane/models/outputazureeventhub.py +17 -0
- cribl_control_plane/models/outputazurelogs.py +13 -0
- cribl_control_plane/models/outputchronicle.py +13 -0
- cribl_control_plane/models/outputclickhouse.py +17 -0
- cribl_control_plane/models/outputcloudwatch.py +13 -0
- cribl_control_plane/models/outputconfluentcloud.py +24 -18
- cribl_control_plane/models/outputcriblhttp.py +15 -0
- cribl_control_plane/models/outputcribllake.py +21 -0
- cribl_control_plane/models/outputcribltcp.py +12 -0
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +15 -0
- cribl_control_plane/models/outputdatabricks.py +411 -0
- cribl_control_plane/models/outputdatadog.py +30 -0
- cribl_control_plane/models/outputdataset.py +23 -0
- cribl_control_plane/models/outputdls3.py +35 -0
- cribl_control_plane/models/outputdynatracehttp.py +22 -0
- cribl_control_plane/models/outputdynatraceotlp.py +22 -0
- cribl_control_plane/models/outputelastic.py +18 -0
- cribl_control_plane/models/outputelasticcloud.py +13 -0
- cribl_control_plane/models/outputexabeam.py +14 -0
- cribl_control_plane/models/outputfilesystem.py +15 -0
- cribl_control_plane/models/outputgooglechronicle.py +21 -0
- cribl_control_plane/models/outputgooglecloudlogging.py +19 -0
- cribl_control_plane/models/outputgooglecloudstorage.py +28 -0
- cribl_control_plane/models/outputgooglepubsub.py +13 -0
- cribl_control_plane/models/outputgrafanacloud.py +50 -0
- cribl_control_plane/models/outputgraphite.py +12 -0
- cribl_control_plane/models/outputhoneycomb.py +13 -0
- cribl_control_plane/models/outputhumiohec.py +15 -0
- cribl_control_plane/models/outputinfluxdb.py +19 -0
- cribl_control_plane/models/outputkafka.py +24 -17
- cribl_control_plane/models/outputkinesis.py +15 -0
- cribl_control_plane/models/outputloki.py +20 -0
- cribl_control_plane/models/outputminio.py +28 -0
- cribl_control_plane/models/outputmsk.py +23 -17
- cribl_control_plane/models/outputnewrelic.py +16 -0
- cribl_control_plane/models/outputnewrelicevents.py +16 -0
- cribl_control_plane/models/outputopentelemetry.py +22 -0
- cribl_control_plane/models/outputprometheus.py +13 -0
- cribl_control_plane/models/outputring.py +2 -0
- cribl_control_plane/models/outputs3.py +35 -0
- cribl_control_plane/models/outputsecuritylake.py +29 -0
- cribl_control_plane/models/outputsentinel.py +15 -0
- cribl_control_plane/models/outputsentineloneaisiem.py +13 -0
- cribl_control_plane/models/outputservicenow.py +21 -0
- cribl_control_plane/models/outputsignalfx.py +13 -0
- cribl_control_plane/models/outputsns.py +13 -0
- cribl_control_plane/models/outputsplunk.py +15 -0
- cribl_control_plane/models/outputsplunkhec.py +13 -0
- cribl_control_plane/models/outputsplunklb.py +15 -0
- cribl_control_plane/models/outputsqs.py +15 -0
- cribl_control_plane/models/outputstatsd.py +12 -0
- cribl_control_plane/models/outputstatsdext.py +12 -0
- cribl_control_plane/models/outputsumologic.py +15 -0
- cribl_control_plane/models/outputsyslog.py +24 -0
- cribl_control_plane/models/outputtcpjson.py +12 -0
- cribl_control_plane/models/outputwavefront.py +13 -0
- cribl_control_plane/models/outputwebhook.py +23 -0
- cribl_control_plane/models/outputxsiam.py +13 -0
- cribl_control_plane/models/packinfo.py +8 -5
- cribl_control_plane/models/packinstallinfo.py +8 -5
- cribl_control_plane/models/pipeline.py +4 -4
- cribl_control_plane/models/routeconf.py +3 -4
- cribl_control_plane/models/{routecloneconf.py → rulesetid.py} +4 -4
- cribl_control_plane/models/runnablejobcollection.py +4 -0
- cribl_control_plane/models/updateadminproductsmappingsbyproductandidop.py +63 -0
- cribl_control_plane/models/updatepacksop.py +25 -0
- cribl_control_plane/models/uploadpackresponse.py +13 -0
- cribl_control_plane/packs.py +202 -7
- cribl_control_plane/pipelines.py +8 -8
- {cribl_control_plane-0.2.0rc1.dist-info → cribl_control_plane-0.2.1rc1.dist-info}/METADATA +44 -3
- {cribl_control_plane-0.2.0rc1.dist-info → cribl_control_plane-0.2.1rc1.dist-info}/RECORD +154 -143
- cribl_control_plane/models/appmode.py +0 -14
- {cribl_control_plane-0.2.0rc1.dist-info → cribl_control_plane-0.2.1rc1.dist-info}/WHEEL +0 -0
|
@@ -16,16 +16,22 @@ class OutputGoogleCloudLoggingType(str, Enum):
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
class LogLocationType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
19
|
+
# Project
|
|
19
20
|
PROJECT = "project"
|
|
21
|
+
# Organization
|
|
20
22
|
ORGANIZATION = "organization"
|
|
23
|
+
# Billing Account
|
|
21
24
|
BILLING_ACCOUNT = "billingAccount"
|
|
25
|
+
# Folder
|
|
22
26
|
FOLDER = "folder"
|
|
23
27
|
|
|
24
28
|
|
|
25
29
|
class PayloadFormat(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
26
30
|
r"""Format to use when sending payload. Defaults to Text."""
|
|
27
31
|
|
|
32
|
+
# Text
|
|
28
33
|
TEXT = "text"
|
|
34
|
+
# JSON
|
|
29
35
|
JSON = "json"
|
|
30
36
|
|
|
31
37
|
|
|
@@ -64,8 +70,11 @@ class OutputGoogleCloudLoggingGoogleAuthenticationMethod(
|
|
|
64
70
|
):
|
|
65
71
|
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."""
|
|
66
72
|
|
|
73
|
+
# Auto
|
|
67
74
|
AUTO = "auto"
|
|
75
|
+
# Manual
|
|
68
76
|
MANUAL = "manual"
|
|
77
|
+
# Secret
|
|
69
78
|
SECRET = "secret"
|
|
70
79
|
|
|
71
80
|
|
|
@@ -74,15 +83,20 @@ class OutputGoogleCloudLoggingBackpressureBehavior(
|
|
|
74
83
|
):
|
|
75
84
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
76
85
|
|
|
86
|
+
# Block
|
|
77
87
|
BLOCK = "block"
|
|
88
|
+
# Drop
|
|
78
89
|
DROP = "drop"
|
|
90
|
+
# Persistent Queue
|
|
79
91
|
QUEUE = "queue"
|
|
80
92
|
|
|
81
93
|
|
|
82
94
|
class OutputGoogleCloudLoggingCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
83
95
|
r"""Codec to use to compress the persisted data"""
|
|
84
96
|
|
|
97
|
+
# None
|
|
85
98
|
NONE = "none"
|
|
99
|
+
# Gzip
|
|
86
100
|
GZIP = "gzip"
|
|
87
101
|
|
|
88
102
|
|
|
@@ -91,15 +105,20 @@ class OutputGoogleCloudLoggingQueueFullBehavior(
|
|
|
91
105
|
):
|
|
92
106
|
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."""
|
|
93
107
|
|
|
108
|
+
# Block
|
|
94
109
|
BLOCK = "block"
|
|
110
|
+
# Drop new data
|
|
95
111
|
DROP = "drop"
|
|
96
112
|
|
|
97
113
|
|
|
98
114
|
class OutputGoogleCloudLoggingMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
99
115
|
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."""
|
|
100
116
|
|
|
117
|
+
# Error
|
|
101
118
|
ERROR = "error"
|
|
119
|
+
# Backpressure
|
|
102
120
|
BACKPRESSURE = "backpressure"
|
|
121
|
+
# Always On
|
|
103
122
|
ALWAYS = "always"
|
|
104
123
|
|
|
105
124
|
|
|
@@ -25,36 +25,52 @@ class OutputGoogleCloudStorageSignatureVersion(str, Enum, metaclass=utils.OpenEn
|
|
|
25
25
|
class OutputGoogleCloudStorageAuthenticationMethod(
|
|
26
26
|
str, Enum, metaclass=utils.OpenEnumMeta
|
|
27
27
|
):
|
|
28
|
+
# auto
|
|
28
29
|
AUTO = "auto"
|
|
30
|
+
# manual
|
|
29
31
|
MANUAL = "manual"
|
|
32
|
+
# Secret Key pair
|
|
30
33
|
SECRET = "secret"
|
|
31
34
|
|
|
32
35
|
|
|
33
36
|
class OutputGoogleCloudStorageObjectACL(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
34
37
|
r"""Object ACL to assign to uploaded objects"""
|
|
35
38
|
|
|
39
|
+
# private
|
|
36
40
|
PRIVATE = "private"
|
|
41
|
+
# bucket-owner-read
|
|
37
42
|
BUCKET_OWNER_READ = "bucket-owner-read"
|
|
43
|
+
# bucket-owner-full-control
|
|
38
44
|
BUCKET_OWNER_FULL_CONTROL = "bucket-owner-full-control"
|
|
45
|
+
# project-private
|
|
39
46
|
PROJECT_PRIVATE = "project-private"
|
|
47
|
+
# authenticated-read
|
|
40
48
|
AUTHENTICATED_READ = "authenticated-read"
|
|
49
|
+
# public-read
|
|
41
50
|
PUBLIC_READ = "public-read"
|
|
42
51
|
|
|
43
52
|
|
|
44
53
|
class OutputGoogleCloudStorageStorageClass(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
45
54
|
r"""Storage class to select for uploaded objects"""
|
|
46
55
|
|
|
56
|
+
# Standard Storage
|
|
47
57
|
STANDARD = "STANDARD"
|
|
58
|
+
# Nearline Storage
|
|
48
59
|
NEARLINE = "NEARLINE"
|
|
60
|
+
# Coldline Storage
|
|
49
61
|
COLDLINE = "COLDLINE"
|
|
62
|
+
# Archive Storage
|
|
50
63
|
ARCHIVE = "ARCHIVE"
|
|
51
64
|
|
|
52
65
|
|
|
53
66
|
class OutputGoogleCloudStorageDataFormat(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
54
67
|
r"""Format of the output data"""
|
|
55
68
|
|
|
69
|
+
# JSON
|
|
56
70
|
JSON = "json"
|
|
71
|
+
# Raw
|
|
57
72
|
RAW = "raw"
|
|
73
|
+
# Parquet
|
|
58
74
|
PARQUET = "parquet"
|
|
59
75
|
|
|
60
76
|
|
|
@@ -63,7 +79,9 @@ class OutputGoogleCloudStorageBackpressureBehavior(
|
|
|
63
79
|
):
|
|
64
80
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
65
81
|
|
|
82
|
+
# Block
|
|
66
83
|
BLOCK = "block"
|
|
84
|
+
# Drop
|
|
67
85
|
DROP = "drop"
|
|
68
86
|
|
|
69
87
|
|
|
@@ -72,7 +90,9 @@ class OutputGoogleCloudStorageDiskSpaceProtection(
|
|
|
72
90
|
):
|
|
73
91
|
r"""How to handle events when disk space is below the global 'Min free disk space' limit"""
|
|
74
92
|
|
|
93
|
+
# Block
|
|
75
94
|
BLOCK = "block"
|
|
95
|
+
# Drop
|
|
76
96
|
DROP = "drop"
|
|
77
97
|
|
|
78
98
|
|
|
@@ -86,23 +106,31 @@ class OutputGoogleCloudStorageCompression(str, Enum, metaclass=utils.OpenEnumMet
|
|
|
86
106
|
class OutputGoogleCloudStorageCompressionLevel(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
87
107
|
r"""Compression level to apply before moving files to final destination"""
|
|
88
108
|
|
|
109
|
+
# Best Speed
|
|
89
110
|
BEST_SPEED = "best_speed"
|
|
111
|
+
# Normal
|
|
90
112
|
NORMAL = "normal"
|
|
113
|
+
# Best Compression
|
|
91
114
|
BEST_COMPRESSION = "best_compression"
|
|
92
115
|
|
|
93
116
|
|
|
94
117
|
class OutputGoogleCloudStorageParquetVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
95
118
|
r"""Determines which data types are supported and how they are represented"""
|
|
96
119
|
|
|
120
|
+
# 1.0
|
|
97
121
|
PARQUET_1_0 = "PARQUET_1_0"
|
|
122
|
+
# 2.4
|
|
98
123
|
PARQUET_2_4 = "PARQUET_2_4"
|
|
124
|
+
# 2.6
|
|
99
125
|
PARQUET_2_6 = "PARQUET_2_6"
|
|
100
126
|
|
|
101
127
|
|
|
102
128
|
class OutputGoogleCloudStorageDataPageVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
103
129
|
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."""
|
|
104
130
|
|
|
131
|
+
# V1
|
|
105
132
|
DATA_PAGE_V1 = "DATA_PAGE_V1"
|
|
133
|
+
# V2
|
|
106
134
|
DATA_PAGE_V2 = "DATA_PAGE_V2"
|
|
107
135
|
|
|
108
136
|
|
|
@@ -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
|
|