cribl-control-plane 0.4.0b23__py3-none-any.whl → 0.5.0b3__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.
- cribl_control_plane/_version.py +3 -3
- cribl_control_plane/collectors_sdk.py +993 -0
- cribl_control_plane/models/__init__.py +2161 -734
- cribl_control_plane/models/configgroup.py +3 -0
- cribl_control_plane/models/countedsavedjob.py +20 -0
- cribl_control_plane/models/createsavedjobop.py +30 -0
- cribl_control_plane/models/deletesavedjobbyidop.py +42 -0
- cribl_control_plane/models/functionaggregatemetrics.py +7 -144
- cribl_control_plane/models/functionaggregation.py +7 -110
- cribl_control_plane/models/functionautotimestamp.py +7 -111
- cribl_control_plane/models/functioncef.py +6 -51
- cribl_control_plane/models/functionchain.py +6 -12
- cribl_control_plane/models/functionclone.py +7 -13
- cribl_control_plane/models/functioncode.py +8 -35
- cribl_control_plane/models/functioncomment.py +6 -12
- cribl_control_plane/models/functionconfschemaaggregatemetrics.py +153 -0
- cribl_control_plane/models/functionconfschemaaggregation.py +114 -0
- cribl_control_plane/models/functionconfschemaautotimestamp.py +116 -0
- cribl_control_plane/models/functionconfschemacef.py +83 -0
- cribl_control_plane/models/functionconfschemachain.py +16 -0
- cribl_control_plane/models/functionconfschemaclone.py +16 -0
- cribl_control_plane/models/functionconfschemacode.py +38 -0
- cribl_control_plane/models/functionconfschemacomment.py +16 -0
- cribl_control_plane/models/functionconfschemadistinct.py +41 -0
- cribl_control_plane/models/functionconfschemadnslookup.py +193 -0
- cribl_control_plane/models/functionconfschemadrop.py +13 -0
- cribl_control_plane/models/functionconfschemadropdimensions.py +31 -0
- cribl_control_plane/models/functionconfschemadynamicsampling.py +67 -0
- cribl_control_plane/models/functionconfschemaeval.py +44 -0
- cribl_control_plane/models/functionconfschemaeventbreaker.py +51 -0
- cribl_control_plane/models/functionconfschemaeventstats.py +34 -0
- cribl_control_plane/models/functionconfschemaexternaldata.py +13 -0
- cribl_control_plane/models/functionconfschemaflatten.py +31 -0
- cribl_control_plane/models/functionconfschemafoldkeys.py +31 -0
- cribl_control_plane/models/functionconfschemagenstats.py +14 -0
- cribl_control_plane/models/functionconfschemageoip.py +66 -0
- cribl_control_plane/models/functionconfschemagrok.py +38 -0
- cribl_control_plane/models/functionconfschemahandlebar.py +56 -0
- cribl_control_plane/models/functionconfschemajoin.py +55 -0
- cribl_control_plane/models/functionconfschemajsonunroll.py +21 -0
- cribl_control_plane/models/functionconfschemalakeexport.py +44 -0
- cribl_control_plane/models/functionconfschemalimit.py +16 -0
- cribl_control_plane/models/functionconfschemalocalsearchdatatypeparser.py +17 -0
- cribl_control_plane/models/functionconfschemalocalsearchrulesetrunner.py +40 -0
- cribl_control_plane/models/functionconfschemalookup.py +92 -0
- cribl_control_plane/models/functionconfschemamask.py +63 -0
- cribl_control_plane/models/functionconfschemamvexpand.py +76 -0
- cribl_control_plane/models/functionconfschemamvpull.py +45 -0
- cribl_control_plane/models/functionconfschemanotificationpolicies.py +129 -0
- cribl_control_plane/models/functionconfschemanotifications.py +26 -0
- cribl_control_plane/models/functionconfschemanotify.py +149 -0
- cribl_control_plane/models/functionconfschemanumerify.py +63 -0
- cribl_control_plane/models/functionconfschemaotlplogs.py +24 -0
- cribl_control_plane/models/functionconfschemaotlpmetrics.py +61 -0
- cribl_control_plane/models/functionconfschemaotlptraces.py +54 -0
- cribl_control_plane/models/functionconfschemapack.py +24 -0
- cribl_control_plane/models/functionconfschemapivot.py +31 -0
- cribl_control_plane/models/functionconfschemapublishmetrics.py +98 -0
- cribl_control_plane/models/functionconfschemaredis.py +121 -0
- cribl_control_plane/models/functionconfschemaregexextract.py +55 -0
- cribl_control_plane/models/functionconfschemaregexfilter.py +38 -0
- cribl_control_plane/models/functionconfschemarename.py +49 -0
- cribl_control_plane/models/functionconfschemarollupmetrics.py +57 -0
- cribl_control_plane/models/functionconfschemasampling.py +32 -0
- cribl_control_plane/models/functionconfschemasend.py +84 -0
- cribl_control_plane/models/functionconfschemasensitivedatascanner.py +75 -0
- cribl_control_plane/models/functionconfschemaserde.py +105 -0
- cribl_control_plane/models/functionconfschemaserialize.py +78 -0
- cribl_control_plane/models/functionconfschemasidlookup.py +34 -0
- cribl_control_plane/models/functionconfschemasnmptrapserialize.py +92 -0
- cribl_control_plane/models/functionconfschemasort.py +41 -0
- cribl_control_plane/models/functionconfschemastore.py +75 -0
- cribl_control_plane/models/functionconfschemasuppress.py +57 -0
- cribl_control_plane/models/functionconfschematee.py +32 -0
- cribl_control_plane/models/functionconfschematrimtimestamp.py +16 -0
- cribl_control_plane/models/functionconfschemaunion.py +22 -0
- cribl_control_plane/models/functionconfschemaunroll.py +22 -0
- cribl_control_plane/models/functionconfschemawindow.py +40 -0
- cribl_control_plane/models/functionconfschemaxmlunroll.py +34 -0
- cribl_control_plane/models/functiondistinct.py +7 -37
- cribl_control_plane/models/functiondnslookup.py +7 -188
- cribl_control_plane/models/functiondrop.py +8 -12
- cribl_control_plane/models/functiondropdimensions.py +7 -25
- cribl_control_plane/models/functiondynamicsampling.py +6 -58
- cribl_control_plane/models/functioneval.py +9 -43
- cribl_control_plane/models/functioneventbreaker.py +6 -40
- cribl_control_plane/models/functioneventstats.py +7 -30
- cribl_control_plane/models/functionexternaldata.py +6 -10
- cribl_control_plane/models/functionflatten.py +7 -28
- cribl_control_plane/models/functionfoldkeys.py +6 -26
- cribl_control_plane/models/functiongenstats.py +7 -11
- cribl_control_plane/models/functiongeoip.py +7 -58
- cribl_control_plane/models/functiongrok.py +9 -35
- cribl_control_plane/models/functionhandlebar.py +6 -49
- cribl_control_plane/models/functionjoin.py +9 -52
- cribl_control_plane/models/functionjsonunroll.py +6 -17
- cribl_control_plane/models/functionlakeexport.py +6 -39
- cribl_control_plane/models/functionlimit.py +6 -12
- cribl_control_plane/models/functionlocalsearchdatatypeparser.py +6 -12
- cribl_control_plane/models/functionlocalsearchrulesetrunner.py +7 -34
- cribl_control_plane/models/functionlookup.py +7 -86
- cribl_control_plane/models/functionmask.py +9 -61
- cribl_control_plane/models/functionmvexpand.py +7 -66
- cribl_control_plane/models/functionmvpull.py +6 -36
- cribl_control_plane/models/functionnotificationpolicies.py +8 -125
- cribl_control_plane/models/functionnotifications.py +6 -22
- cribl_control_plane/models/functionnotify.py +6 -133
- cribl_control_plane/models/functionnumerify.py +7 -57
- cribl_control_plane/models/functionotlplogs.py +6 -19
- cribl_control_plane/models/functionotlpmetrics.py +7 -56
- cribl_control_plane/models/functionotlptraces.py +6 -48
- cribl_control_plane/models/functionpack.py +9 -20
- cribl_control_plane/models/functionpivot.py +7 -23
- cribl_control_plane/models/functionpublishmetrics.py +7 -91
- cribl_control_plane/models/functionredis.py +7 -111
- cribl_control_plane/models/functionregexextract.py +7 -50
- cribl_control_plane/models/functionregexfilter.py +7 -33
- cribl_control_plane/models/functionrename.py +7 -45
- cribl_control_plane/models/functionrollupmetrics.py +7 -52
- cribl_control_plane/models/functionsampling.py +7 -28
- cribl_control_plane/models/functionsend.py +8 -80
- cribl_control_plane/models/functionsensitivedatascanner.py +7 -66
- cribl_control_plane/models/functionserde.py +6 -98
- cribl_control_plane/models/functionserialize.py +7 -72
- cribl_control_plane/models/functionsidlookup.py +7 -31
- cribl_control_plane/models/functionsnmptrapserialize.py +6 -81
- cribl_control_plane/models/functionsort.py +8 -36
- cribl_control_plane/models/functionstore.py +6 -69
- cribl_control_plane/models/functionsuppress.py +6 -52
- cribl_control_plane/models/functiontee.py +6 -30
- cribl_control_plane/models/functiontrimtimestamp.py +6 -12
- cribl_control_plane/models/functionunion.py +9 -20
- cribl_control_plane/models/functionunroll.py +6 -17
- cribl_control_plane/models/functionwindow.py +7 -34
- cribl_control_plane/models/functionxmlunroll.py +6 -29
- cribl_control_plane/models/getsavedjobbyidop.py +33 -0
- cribl_control_plane/models/getsavedjobop.py +40 -0
- cribl_control_plane/models/groupcreaterequest.py +3 -0
- cribl_control_plane/models/heartbeatmetadata.py +42 -0
- cribl_control_plane/models/input.py +1 -1
- cribl_control_plane/models/inputedgeprometheus.py +11 -11
- cribl_control_plane/models/inputprometheus.py +23 -18
- cribl_control_plane/models/nodeprovidedinfo.py +42 -0
- cribl_control_plane/models/output.py +15 -9
- cribl_control_plane/models/outputclickhouse.py +31 -0
- cribl_control_plane/models/outputcriblhttp.py +7 -0
- cribl_control_plane/models/outputcriblsearchengine.py +655 -0
- cribl_control_plane/models/outputnetflow.py +16 -2
- cribl_control_plane/models/pipeline.py +52 -4
- cribl_control_plane/models/pipelinefunctionaggregatemetrics.py +195 -0
- cribl_control_plane/models/pipelinefunctionaggregation.py +159 -0
- cribl_control_plane/models/pipelinefunctionautotimestamp.py +56 -0
- cribl_control_plane/models/pipelinefunctioncef.py +96 -0
- cribl_control_plane/models/pipelinefunctionchain.py +62 -0
- cribl_control_plane/models/pipelinefunctionclone.py +56 -0
- cribl_control_plane/models/pipelinefunctioncode.py +56 -0
- cribl_control_plane/models/pipelinefunctioncomment.py +56 -0
- cribl_control_plane/models/pipelinefunctionconf.py +343 -46
- cribl_control_plane/models/pipelinefunctionconf_input.py +353 -0
- cribl_control_plane/models/pipelinefunctiondistinct.py +86 -0
- cribl_control_plane/models/pipelinefunctiondnslookup.py +56 -0
- cribl_control_plane/models/pipelinefunctiondrop.py +56 -0
- cribl_control_plane/models/pipelinefunctiondropdimensions.py +74 -0
- cribl_control_plane/models/pipelinefunctiondynamicsampling.py +111 -0
- cribl_control_plane/models/pipelinefunctioneval.py +56 -0
- cribl_control_plane/models/pipelinefunctioneventbreaker.py +95 -0
- cribl_control_plane/models/pipelinefunctioneventstats.py +79 -0
- cribl_control_plane/models/pipelinefunctionexternaldata.py +56 -0
- cribl_control_plane/models/pipelinefunctionflatten.py +56 -0
- cribl_control_plane/models/pipelinefunctionfoldkeys.py +56 -0
- cribl_control_plane/models/pipelinefunctiongenstats.py +56 -0
- cribl_control_plane/models/pipelinefunctiongeoip.py +109 -0
- cribl_control_plane/models/pipelinefunctiongrok.py +83 -0
- cribl_control_plane/models/pipelinefunctionhandlebar.py +99 -0
- cribl_control_plane/models/pipelinefunctionjoin.py +100 -0
- cribl_control_plane/models/pipelinefunctionjsonunroll.py +67 -0
- cribl_control_plane/models/pipelinefunctionlakeexport.py +89 -0
- cribl_control_plane/models/pipelinefunctionlimit.py +56 -0
- cribl_control_plane/models/pipelinefunctionlocalsearchdatatypeparser.py +62 -0
- cribl_control_plane/models/pipelinefunctionlocalsearchrulesetrunner.py +56 -0
- cribl_control_plane/models/pipelinefunctionlookup.py +136 -0
- cribl_control_plane/models/pipelinefunctionmask.py +108 -0
- cribl_control_plane/models/pipelinefunctionmvexpand.py +116 -0
- cribl_control_plane/models/pipelinefunctionmvpull.py +86 -0
- cribl_control_plane/models/pipelinefunctionnotificationpolicies.py +56 -0
- cribl_control_plane/models/pipelinefunctionnotifications.py +72 -0
- cribl_control_plane/models/pipelinefunctionnotify.py +189 -0
- cribl_control_plane/models/pipelinefunctionnumerify.py +56 -0
- cribl_control_plane/models/pipelinefunctionotlplogs.py +56 -0
- cribl_control_plane/models/pipelinefunctionotlpmetrics.py +56 -0
- cribl_control_plane/models/pipelinefunctionotlptraces.py +56 -0
- cribl_control_plane/models/pipelinefunctionpack.py +67 -0
- cribl_control_plane/models/pipelinefunctionpivot.py +72 -0
- cribl_control_plane/models/pipelinefunctionpublishmetrics.py +56 -0
- cribl_control_plane/models/pipelinefunctionredis.py +165 -0
- cribl_control_plane/models/pipelinefunctionregexextract.py +100 -0
- cribl_control_plane/models/pipelinefunctionregexfilter.py +56 -0
- cribl_control_plane/models/pipelinefunctionrename.py +56 -0
- cribl_control_plane/models/pipelinefunctionrollupmetrics.py +56 -0
- cribl_control_plane/models/pipelinefunctionsampling.py +56 -0
- cribl_control_plane/models/pipelinefunctionsend.py +128 -0
- cribl_control_plane/models/pipelinefunctionsensitivedatascanner.py +120 -0
- cribl_control_plane/models/pipelinefunctionserde.py +149 -0
- cribl_control_plane/models/pipelinefunctionserialize.py +122 -0
- cribl_control_plane/models/pipelinefunctionsidlookup.py +56 -0
- cribl_control_plane/models/pipelinefunctionsnmptrapserialize.py +56 -0
- cribl_control_plane/models/pipelinefunctionsort.py +84 -0
- cribl_control_plane/models/pipelinefunctionstore.py +120 -0
- cribl_control_plane/models/pipelinefunctionsuppress.py +102 -0
- cribl_control_plane/models/pipelinefunctiontee.py +77 -0
- cribl_control_plane/models/pipelinefunctiontrimtimestamp.py +56 -0
- cribl_control_plane/models/pipelinefunctionunion.py +67 -0
- cribl_control_plane/models/pipelinefunctionunroll.py +67 -0
- cribl_control_plane/models/pipelinefunctionwindow.py +83 -0
- cribl_control_plane/models/pipelinefunctionxmlunroll.py +79 -0
- cribl_control_plane/models/runnablejobcollection.py +11 -10
- cribl_control_plane/models/runnablejobexecutor.py +8 -8
- cribl_control_plane/models/savedjob.py +26 -0
- cribl_control_plane/models/savedjobcollection.py +411 -0
- cribl_control_plane/models/savedjobexecutor.py +301 -0
- cribl_control_plane/models/savedjobscheduledsearch.py +278 -0
- cribl_control_plane/models/updatepipelinebyidop.py +4 -3
- cribl_control_plane/models/updatesavedjobbyidop.py +42 -0
- cribl_control_plane/pipelines.py +16 -16
- cribl_control_plane/sdk.py +4 -0
- {cribl_control_plane-0.4.0b23.dist-info → cribl_control_plane-0.5.0b3.dist-info}/METADATA +10 -2
- {cribl_control_plane-0.4.0b23.dist-info → cribl_control_plane-0.5.0b3.dist-info}/RECORD +229 -88
- {cribl_control_plane-0.4.0b23.dist-info → cribl_control_plane-0.5.0b3.dist-info}/WHEEL +0 -0
- {cribl_control_plane-0.4.0b23.dist-info → cribl_control_plane-0.5.0b3.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,353 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .pipelinefunctionaggregatemetrics import (
|
|
5
|
+
PipelineFunctionAggregateMetrics,
|
|
6
|
+
PipelineFunctionAggregateMetricsTypedDict,
|
|
7
|
+
)
|
|
8
|
+
from .pipelinefunctionaggregation import (
|
|
9
|
+
PipelineFunctionAggregation,
|
|
10
|
+
PipelineFunctionAggregationTypedDict,
|
|
11
|
+
)
|
|
12
|
+
from .pipelinefunctionautotimestamp import (
|
|
13
|
+
PipelineFunctionAutoTimestamp,
|
|
14
|
+
PipelineFunctionAutoTimestampTypedDict,
|
|
15
|
+
)
|
|
16
|
+
from .pipelinefunctioncef import (
|
|
17
|
+
PipelineFunctionCefInput,
|
|
18
|
+
PipelineFunctionCefInputTypedDict,
|
|
19
|
+
)
|
|
20
|
+
from .pipelinefunctionchain import PipelineFunctionChain, PipelineFunctionChainTypedDict
|
|
21
|
+
from .pipelinefunctionclone import PipelineFunctionClone, PipelineFunctionCloneTypedDict
|
|
22
|
+
from .pipelinefunctioncode import PipelineFunctionCode, PipelineFunctionCodeTypedDict
|
|
23
|
+
from .pipelinefunctioncomment import (
|
|
24
|
+
PipelineFunctionComment,
|
|
25
|
+
PipelineFunctionCommentTypedDict,
|
|
26
|
+
)
|
|
27
|
+
from .pipelinefunctiondistinct import (
|
|
28
|
+
PipelineFunctionDistinct,
|
|
29
|
+
PipelineFunctionDistinctTypedDict,
|
|
30
|
+
)
|
|
31
|
+
from .pipelinefunctiondnslookup import (
|
|
32
|
+
PipelineFunctionDNSLookup,
|
|
33
|
+
PipelineFunctionDNSLookupTypedDict,
|
|
34
|
+
)
|
|
35
|
+
from .pipelinefunctiondrop import PipelineFunctionDrop, PipelineFunctionDropTypedDict
|
|
36
|
+
from .pipelinefunctiondropdimensions import (
|
|
37
|
+
PipelineFunctionDropDimensions,
|
|
38
|
+
PipelineFunctionDropDimensionsTypedDict,
|
|
39
|
+
)
|
|
40
|
+
from .pipelinefunctiondynamicsampling import (
|
|
41
|
+
PipelineFunctionDynamicSampling,
|
|
42
|
+
PipelineFunctionDynamicSamplingTypedDict,
|
|
43
|
+
)
|
|
44
|
+
from .pipelinefunctioneval import PipelineFunctionEval, PipelineFunctionEvalTypedDict
|
|
45
|
+
from .pipelinefunctioneventbreaker import (
|
|
46
|
+
PipelineFunctionEventBreaker,
|
|
47
|
+
PipelineFunctionEventBreakerTypedDict,
|
|
48
|
+
)
|
|
49
|
+
from .pipelinefunctioneventstats import (
|
|
50
|
+
PipelineFunctionEventstats,
|
|
51
|
+
PipelineFunctionEventstatsTypedDict,
|
|
52
|
+
)
|
|
53
|
+
from .pipelinefunctionexternaldata import (
|
|
54
|
+
PipelineFunctionExternaldata,
|
|
55
|
+
PipelineFunctionExternaldataTypedDict,
|
|
56
|
+
)
|
|
57
|
+
from .pipelinefunctionflatten import (
|
|
58
|
+
PipelineFunctionFlatten,
|
|
59
|
+
PipelineFunctionFlattenTypedDict,
|
|
60
|
+
)
|
|
61
|
+
from .pipelinefunctionfoldkeys import (
|
|
62
|
+
PipelineFunctionFoldkeys,
|
|
63
|
+
PipelineFunctionFoldkeysTypedDict,
|
|
64
|
+
)
|
|
65
|
+
from .pipelinefunctiongenstats import (
|
|
66
|
+
PipelineFunctionGenStats,
|
|
67
|
+
PipelineFunctionGenStatsTypedDict,
|
|
68
|
+
)
|
|
69
|
+
from .pipelinefunctiongeoip import PipelineFunctionGeoip, PipelineFunctionGeoipTypedDict
|
|
70
|
+
from .pipelinefunctiongrok import PipelineFunctionGrok, PipelineFunctionGrokTypedDict
|
|
71
|
+
from .pipelinefunctionhandlebar import (
|
|
72
|
+
PipelineFunctionHandlebar,
|
|
73
|
+
PipelineFunctionHandlebarTypedDict,
|
|
74
|
+
)
|
|
75
|
+
from .pipelinefunctionjoin import PipelineFunctionJoin, PipelineFunctionJoinTypedDict
|
|
76
|
+
from .pipelinefunctionjsonunroll import (
|
|
77
|
+
PipelineFunctionJSONUnroll,
|
|
78
|
+
PipelineFunctionJSONUnrollTypedDict,
|
|
79
|
+
)
|
|
80
|
+
from .pipelinefunctionlakeexport import (
|
|
81
|
+
PipelineFunctionLakeExport,
|
|
82
|
+
PipelineFunctionLakeExportTypedDict,
|
|
83
|
+
)
|
|
84
|
+
from .pipelinefunctionlimit import PipelineFunctionLimit, PipelineFunctionLimitTypedDict
|
|
85
|
+
from .pipelinefunctionlocalsearchdatatypeparser import (
|
|
86
|
+
PipelineFunctionLocalSearchDatatypeParser,
|
|
87
|
+
PipelineFunctionLocalSearchDatatypeParserTypedDict,
|
|
88
|
+
)
|
|
89
|
+
from .pipelinefunctionlocalsearchrulesetrunner import (
|
|
90
|
+
PipelineFunctionLocalSearchRulesetRunner,
|
|
91
|
+
PipelineFunctionLocalSearchRulesetRunnerTypedDict,
|
|
92
|
+
)
|
|
93
|
+
from .pipelinefunctionlookup import (
|
|
94
|
+
PipelineFunctionLookup,
|
|
95
|
+
PipelineFunctionLookupTypedDict,
|
|
96
|
+
)
|
|
97
|
+
from .pipelinefunctionmask import PipelineFunctionMask, PipelineFunctionMaskTypedDict
|
|
98
|
+
from .pipelinefunctionmvexpand import (
|
|
99
|
+
PipelineFunctionMvExpand,
|
|
100
|
+
PipelineFunctionMvExpandTypedDict,
|
|
101
|
+
)
|
|
102
|
+
from .pipelinefunctionmvpull import (
|
|
103
|
+
PipelineFunctionMvPull,
|
|
104
|
+
PipelineFunctionMvPullTypedDict,
|
|
105
|
+
)
|
|
106
|
+
from .pipelinefunctionnotificationpolicies import (
|
|
107
|
+
PipelineFunctionNotificationPolicies,
|
|
108
|
+
PipelineFunctionNotificationPoliciesTypedDict,
|
|
109
|
+
)
|
|
110
|
+
from .pipelinefunctionnotifications import (
|
|
111
|
+
PipelineFunctionNotifications,
|
|
112
|
+
PipelineFunctionNotificationsTypedDict,
|
|
113
|
+
)
|
|
114
|
+
from .pipelinefunctionnotify import (
|
|
115
|
+
PipelineFunctionNotify,
|
|
116
|
+
PipelineFunctionNotifyTypedDict,
|
|
117
|
+
)
|
|
118
|
+
from .pipelinefunctionnumerify import (
|
|
119
|
+
PipelineFunctionNumerify,
|
|
120
|
+
PipelineFunctionNumerifyTypedDict,
|
|
121
|
+
)
|
|
122
|
+
from .pipelinefunctionotlplogs import (
|
|
123
|
+
PipelineFunctionOtlpLogs,
|
|
124
|
+
PipelineFunctionOtlpLogsTypedDict,
|
|
125
|
+
)
|
|
126
|
+
from .pipelinefunctionotlpmetrics import (
|
|
127
|
+
PipelineFunctionOtlpMetrics,
|
|
128
|
+
PipelineFunctionOtlpMetricsTypedDict,
|
|
129
|
+
)
|
|
130
|
+
from .pipelinefunctionotlptraces import (
|
|
131
|
+
PipelineFunctionOtlpTraces,
|
|
132
|
+
PipelineFunctionOtlpTracesTypedDict,
|
|
133
|
+
)
|
|
134
|
+
from .pipelinefunctionpack import PipelineFunctionPack, PipelineFunctionPackTypedDict
|
|
135
|
+
from .pipelinefunctionpivot import PipelineFunctionPivot, PipelineFunctionPivotTypedDict
|
|
136
|
+
from .pipelinefunctionpublishmetrics import (
|
|
137
|
+
PipelineFunctionPublishMetrics,
|
|
138
|
+
PipelineFunctionPublishMetricsTypedDict,
|
|
139
|
+
)
|
|
140
|
+
from .pipelinefunctionredis import PipelineFunctionRedis, PipelineFunctionRedisTypedDict
|
|
141
|
+
from .pipelinefunctionregexextract import (
|
|
142
|
+
PipelineFunctionRegexExtract,
|
|
143
|
+
PipelineFunctionRegexExtractTypedDict,
|
|
144
|
+
)
|
|
145
|
+
from .pipelinefunctionregexfilter import (
|
|
146
|
+
PipelineFunctionRegexFilter,
|
|
147
|
+
PipelineFunctionRegexFilterTypedDict,
|
|
148
|
+
)
|
|
149
|
+
from .pipelinefunctionrename import (
|
|
150
|
+
PipelineFunctionRename,
|
|
151
|
+
PipelineFunctionRenameTypedDict,
|
|
152
|
+
)
|
|
153
|
+
from .pipelinefunctionrollupmetrics import (
|
|
154
|
+
PipelineFunctionRollupMetrics,
|
|
155
|
+
PipelineFunctionRollupMetricsTypedDict,
|
|
156
|
+
)
|
|
157
|
+
from .pipelinefunctionsampling import (
|
|
158
|
+
PipelineFunctionSampling,
|
|
159
|
+
PipelineFunctionSamplingTypedDict,
|
|
160
|
+
)
|
|
161
|
+
from .pipelinefunctionsend import PipelineFunctionSend, PipelineFunctionSendTypedDict
|
|
162
|
+
from .pipelinefunctionsensitivedatascanner import (
|
|
163
|
+
PipelineFunctionSensitiveDataScanner,
|
|
164
|
+
PipelineFunctionSensitiveDataScannerTypedDict,
|
|
165
|
+
)
|
|
166
|
+
from .pipelinefunctionserde import PipelineFunctionSerde, PipelineFunctionSerdeTypedDict
|
|
167
|
+
from .pipelinefunctionserialize import (
|
|
168
|
+
PipelineFunctionSerialize,
|
|
169
|
+
PipelineFunctionSerializeTypedDict,
|
|
170
|
+
)
|
|
171
|
+
from .pipelinefunctionsidlookup import (
|
|
172
|
+
PipelineFunctionSidlookup,
|
|
173
|
+
PipelineFunctionSidlookupTypedDict,
|
|
174
|
+
)
|
|
175
|
+
from .pipelinefunctionsnmptrapserialize import (
|
|
176
|
+
PipelineFunctionSnmpTrapSerialize,
|
|
177
|
+
PipelineFunctionSnmpTrapSerializeTypedDict,
|
|
178
|
+
)
|
|
179
|
+
from .pipelinefunctionsort import PipelineFunctionSort, PipelineFunctionSortTypedDict
|
|
180
|
+
from .pipelinefunctionstore import PipelineFunctionStore, PipelineFunctionStoreTypedDict
|
|
181
|
+
from .pipelinefunctionsuppress import (
|
|
182
|
+
PipelineFunctionSuppress,
|
|
183
|
+
PipelineFunctionSuppressTypedDict,
|
|
184
|
+
)
|
|
185
|
+
from .pipelinefunctiontee import PipelineFunctionTee, PipelineFunctionTeeTypedDict
|
|
186
|
+
from .pipelinefunctiontrimtimestamp import (
|
|
187
|
+
PipelineFunctionTrimTimestamp,
|
|
188
|
+
PipelineFunctionTrimTimestampTypedDict,
|
|
189
|
+
)
|
|
190
|
+
from .pipelinefunctionunion import PipelineFunctionUnion, PipelineFunctionUnionTypedDict
|
|
191
|
+
from .pipelinefunctionunroll import (
|
|
192
|
+
PipelineFunctionUnroll,
|
|
193
|
+
PipelineFunctionUnrollTypedDict,
|
|
194
|
+
)
|
|
195
|
+
from .pipelinefunctionwindow import (
|
|
196
|
+
PipelineFunctionWindow,
|
|
197
|
+
PipelineFunctionWindowTypedDict,
|
|
198
|
+
)
|
|
199
|
+
from .pipelinefunctionxmlunroll import (
|
|
200
|
+
PipelineFunctionXMLUnroll,
|
|
201
|
+
PipelineFunctionXMLUnrollTypedDict,
|
|
202
|
+
)
|
|
203
|
+
from cribl_control_plane.utils import get_discriminator
|
|
204
|
+
from pydantic import Discriminator, Tag
|
|
205
|
+
from typing import Union
|
|
206
|
+
from typing_extensions import Annotated, TypeAliasType
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
PipelineFunctionConfInputTypedDict = TypeAliasType(
|
|
210
|
+
"PipelineFunctionConfInputTypedDict",
|
|
211
|
+
Union[
|
|
212
|
+
PipelineFunctionAggregateMetricsTypedDict,
|
|
213
|
+
PipelineFunctionAggregationTypedDict,
|
|
214
|
+
PipelineFunctionAutoTimestampTypedDict,
|
|
215
|
+
PipelineFunctionCefInputTypedDict,
|
|
216
|
+
PipelineFunctionChainTypedDict,
|
|
217
|
+
PipelineFunctionCloneTypedDict,
|
|
218
|
+
PipelineFunctionCodeTypedDict,
|
|
219
|
+
PipelineFunctionCommentTypedDict,
|
|
220
|
+
PipelineFunctionDistinctTypedDict,
|
|
221
|
+
PipelineFunctionDNSLookupTypedDict,
|
|
222
|
+
PipelineFunctionDropTypedDict,
|
|
223
|
+
PipelineFunctionDropDimensionsTypedDict,
|
|
224
|
+
PipelineFunctionDynamicSamplingTypedDict,
|
|
225
|
+
PipelineFunctionEvalTypedDict,
|
|
226
|
+
PipelineFunctionEventBreakerTypedDict,
|
|
227
|
+
PipelineFunctionEventstatsTypedDict,
|
|
228
|
+
PipelineFunctionExternaldataTypedDict,
|
|
229
|
+
PipelineFunctionFlattenTypedDict,
|
|
230
|
+
PipelineFunctionFoldkeysTypedDict,
|
|
231
|
+
PipelineFunctionGenStatsTypedDict,
|
|
232
|
+
PipelineFunctionGeoipTypedDict,
|
|
233
|
+
PipelineFunctionGrokTypedDict,
|
|
234
|
+
PipelineFunctionHandlebarTypedDict,
|
|
235
|
+
PipelineFunctionJoinTypedDict,
|
|
236
|
+
PipelineFunctionJSONUnrollTypedDict,
|
|
237
|
+
PipelineFunctionLakeExportTypedDict,
|
|
238
|
+
PipelineFunctionLimitTypedDict,
|
|
239
|
+
PipelineFunctionLocalSearchDatatypeParserTypedDict,
|
|
240
|
+
PipelineFunctionLocalSearchRulesetRunnerTypedDict,
|
|
241
|
+
PipelineFunctionLookupTypedDict,
|
|
242
|
+
PipelineFunctionMaskTypedDict,
|
|
243
|
+
PipelineFunctionMvExpandTypedDict,
|
|
244
|
+
PipelineFunctionMvPullTypedDict,
|
|
245
|
+
PipelineFunctionNotificationPoliciesTypedDict,
|
|
246
|
+
PipelineFunctionNotificationsTypedDict,
|
|
247
|
+
PipelineFunctionNotifyTypedDict,
|
|
248
|
+
PipelineFunctionNumerifyTypedDict,
|
|
249
|
+
PipelineFunctionOtlpLogsTypedDict,
|
|
250
|
+
PipelineFunctionOtlpMetricsTypedDict,
|
|
251
|
+
PipelineFunctionOtlpTracesTypedDict,
|
|
252
|
+
PipelineFunctionPackTypedDict,
|
|
253
|
+
PipelineFunctionPivotTypedDict,
|
|
254
|
+
PipelineFunctionPublishMetricsTypedDict,
|
|
255
|
+
PipelineFunctionRedisTypedDict,
|
|
256
|
+
PipelineFunctionRegexExtractTypedDict,
|
|
257
|
+
PipelineFunctionRegexFilterTypedDict,
|
|
258
|
+
PipelineFunctionRenameTypedDict,
|
|
259
|
+
PipelineFunctionRollupMetricsTypedDict,
|
|
260
|
+
PipelineFunctionSamplingTypedDict,
|
|
261
|
+
PipelineFunctionSendTypedDict,
|
|
262
|
+
PipelineFunctionSensitiveDataScannerTypedDict,
|
|
263
|
+
PipelineFunctionSerdeTypedDict,
|
|
264
|
+
PipelineFunctionSerializeTypedDict,
|
|
265
|
+
PipelineFunctionSidlookupTypedDict,
|
|
266
|
+
PipelineFunctionSnmpTrapSerializeTypedDict,
|
|
267
|
+
PipelineFunctionSortTypedDict,
|
|
268
|
+
PipelineFunctionStoreTypedDict,
|
|
269
|
+
PipelineFunctionSuppressTypedDict,
|
|
270
|
+
PipelineFunctionTeeTypedDict,
|
|
271
|
+
PipelineFunctionTrimTimestampTypedDict,
|
|
272
|
+
PipelineFunctionUnionTypedDict,
|
|
273
|
+
PipelineFunctionUnrollTypedDict,
|
|
274
|
+
PipelineFunctionWindowTypedDict,
|
|
275
|
+
PipelineFunctionXMLUnrollTypedDict,
|
|
276
|
+
],
|
|
277
|
+
)
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
PipelineFunctionConfInput = Annotated[
|
|
281
|
+
Union[
|
|
282
|
+
Annotated[PipelineFunctionAggregateMetrics, Tag("aggregate_metrics")],
|
|
283
|
+
Annotated[PipelineFunctionAggregation, Tag("aggregation")],
|
|
284
|
+
Annotated[PipelineFunctionAutoTimestamp, Tag("auto_timestamp")],
|
|
285
|
+
Annotated[PipelineFunctionCefInput, Tag("cef")],
|
|
286
|
+
Annotated[PipelineFunctionChain, Tag("chain")],
|
|
287
|
+
Annotated[PipelineFunctionClone, Tag("clone")],
|
|
288
|
+
Annotated[PipelineFunctionCode, Tag("code")],
|
|
289
|
+
Annotated[PipelineFunctionComment, Tag("comment")],
|
|
290
|
+
Annotated[PipelineFunctionDistinct, Tag("distinct")],
|
|
291
|
+
Annotated[PipelineFunctionDNSLookup, Tag("dns_lookup")],
|
|
292
|
+
Annotated[PipelineFunctionDrop, Tag("drop")],
|
|
293
|
+
Annotated[PipelineFunctionDropDimensions, Tag("drop_dimensions")],
|
|
294
|
+
Annotated[PipelineFunctionDynamicSampling, Tag("dynamic_sampling")],
|
|
295
|
+
Annotated[PipelineFunctionEval, Tag("eval")],
|
|
296
|
+
Annotated[PipelineFunctionEventBreaker, Tag("event_breaker")],
|
|
297
|
+
Annotated[PipelineFunctionEventstats, Tag("eventstats")],
|
|
298
|
+
Annotated[PipelineFunctionExternaldata, Tag("externaldata")],
|
|
299
|
+
Annotated[PipelineFunctionFlatten, Tag("flatten")],
|
|
300
|
+
Annotated[PipelineFunctionFoldkeys, Tag("foldkeys")],
|
|
301
|
+
Annotated[PipelineFunctionGenStats, Tag("gen_stats")],
|
|
302
|
+
Annotated[PipelineFunctionGeoip, Tag("geoip")],
|
|
303
|
+
Annotated[PipelineFunctionGrok, Tag("grok")],
|
|
304
|
+
Annotated[PipelineFunctionHandlebar, Tag("handlebar")],
|
|
305
|
+
Annotated[PipelineFunctionJoin, Tag("join")],
|
|
306
|
+
Annotated[PipelineFunctionJSONUnroll, Tag("json_unroll")],
|
|
307
|
+
Annotated[PipelineFunctionLakeExport, Tag("lake_export")],
|
|
308
|
+
Annotated[PipelineFunctionLimit, Tag("limit")],
|
|
309
|
+
Annotated[
|
|
310
|
+
PipelineFunctionLocalSearchDatatypeParser,
|
|
311
|
+
Tag("local_search_datatype_parser"),
|
|
312
|
+
],
|
|
313
|
+
Annotated[
|
|
314
|
+
PipelineFunctionLocalSearchRulesetRunner, Tag("local_search_ruleset_runner")
|
|
315
|
+
],
|
|
316
|
+
Annotated[PipelineFunctionLookup, Tag("lookup")],
|
|
317
|
+
Annotated[PipelineFunctionMask, Tag("mask")],
|
|
318
|
+
Annotated[PipelineFunctionMvExpand, Tag("mv_expand")],
|
|
319
|
+
Annotated[PipelineFunctionMvPull, Tag("mv_pull")],
|
|
320
|
+
Annotated[PipelineFunctionNotificationPolicies, Tag("notification_policies")],
|
|
321
|
+
Annotated[PipelineFunctionNotifications, Tag("notifications")],
|
|
322
|
+
Annotated[PipelineFunctionNotify, Tag("notify")],
|
|
323
|
+
Annotated[PipelineFunctionNumerify, Tag("numerify")],
|
|
324
|
+
Annotated[PipelineFunctionOtlpLogs, Tag("otlp_logs")],
|
|
325
|
+
Annotated[PipelineFunctionOtlpMetrics, Tag("otlp_metrics")],
|
|
326
|
+
Annotated[PipelineFunctionOtlpTraces, Tag("otlp_traces")],
|
|
327
|
+
Annotated[PipelineFunctionPack, Tag("pack")],
|
|
328
|
+
Annotated[PipelineFunctionPivot, Tag("pivot")],
|
|
329
|
+
Annotated[PipelineFunctionPublishMetrics, Tag("publish_metrics")],
|
|
330
|
+
Annotated[PipelineFunctionRedis, Tag("redis")],
|
|
331
|
+
Annotated[PipelineFunctionRegexExtract, Tag("regex_extract")],
|
|
332
|
+
Annotated[PipelineFunctionRegexFilter, Tag("regex_filter")],
|
|
333
|
+
Annotated[PipelineFunctionRename, Tag("rename")],
|
|
334
|
+
Annotated[PipelineFunctionRollupMetrics, Tag("rollup_metrics")],
|
|
335
|
+
Annotated[PipelineFunctionSampling, Tag("sampling")],
|
|
336
|
+
Annotated[PipelineFunctionSend, Tag("send")],
|
|
337
|
+
Annotated[PipelineFunctionSensitiveDataScanner, Tag("sensitive_data_scanner")],
|
|
338
|
+
Annotated[PipelineFunctionSerde, Tag("serde")],
|
|
339
|
+
Annotated[PipelineFunctionSerialize, Tag("serialize")],
|
|
340
|
+
Annotated[PipelineFunctionSidlookup, Tag("sidlookup")],
|
|
341
|
+
Annotated[PipelineFunctionSnmpTrapSerialize, Tag("snmp_trap_serialize")],
|
|
342
|
+
Annotated[PipelineFunctionSort, Tag("sort")],
|
|
343
|
+
Annotated[PipelineFunctionStore, Tag("store")],
|
|
344
|
+
Annotated[PipelineFunctionSuppress, Tag("suppress")],
|
|
345
|
+
Annotated[PipelineFunctionTee, Tag("tee")],
|
|
346
|
+
Annotated[PipelineFunctionTrimTimestamp, Tag("trim_timestamp")],
|
|
347
|
+
Annotated[PipelineFunctionUnion, Tag("union")],
|
|
348
|
+
Annotated[PipelineFunctionUnroll, Tag("unroll")],
|
|
349
|
+
Annotated[PipelineFunctionWindow, Tag("window")],
|
|
350
|
+
Annotated[PipelineFunctionXMLUnroll, Tag("xml_unroll")],
|
|
351
|
+
],
|
|
352
|
+
Discriminator(lambda m: get_discriminator(m, "id", "id")),
|
|
353
|
+
]
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from cribl_control_plane.types import BaseModel
|
|
5
|
+
from enum import Enum
|
|
6
|
+
import pydantic
|
|
7
|
+
from typing import List, Optional
|
|
8
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class PipelineFunctionDistinctID(str, Enum):
|
|
12
|
+
r"""Function ID"""
|
|
13
|
+
|
|
14
|
+
DISTINCT = "distinct"
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class DistinctConfigurationTypedDict(TypedDict):
|
|
18
|
+
group_by: List[str]
|
|
19
|
+
r"""Defines the properties that are concatenated to produce distinct key"""
|
|
20
|
+
max_combinations: NotRequired[float]
|
|
21
|
+
r"""maximum number of tracked combinations"""
|
|
22
|
+
max_depth: NotRequired[float]
|
|
23
|
+
r"""maximum number of groupBy properties"""
|
|
24
|
+
is_federated: NotRequired[bool]
|
|
25
|
+
r"""indicator that the operator runs on a federated executor"""
|
|
26
|
+
suppress_previews: NotRequired[bool]
|
|
27
|
+
r"""Toggle this on to suppress generating previews of intermediate results"""
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class DistinctConfiguration(BaseModel):
|
|
31
|
+
group_by: Annotated[List[str], pydantic.Field(alias="groupBy")]
|
|
32
|
+
r"""Defines the properties that are concatenated to produce distinct key"""
|
|
33
|
+
|
|
34
|
+
max_combinations: Annotated[
|
|
35
|
+
Optional[float], pydantic.Field(alias="maxCombinations")
|
|
36
|
+
] = 10000
|
|
37
|
+
r"""maximum number of tracked combinations"""
|
|
38
|
+
|
|
39
|
+
max_depth: Annotated[Optional[float], pydantic.Field(alias="maxDepth")] = 15
|
|
40
|
+
r"""maximum number of groupBy properties"""
|
|
41
|
+
|
|
42
|
+
is_federated: Annotated[Optional[bool], pydantic.Field(alias="isFederated")] = False
|
|
43
|
+
r"""indicator that the operator runs on a federated executor"""
|
|
44
|
+
|
|
45
|
+
suppress_previews: Annotated[
|
|
46
|
+
Optional[bool], pydantic.Field(alias="suppressPreviews")
|
|
47
|
+
] = None
|
|
48
|
+
r"""Toggle this on to suppress generating previews of intermediate results"""
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
class PipelineFunctionDistinctTypedDict(TypedDict):
|
|
52
|
+
id: PipelineFunctionDistinctID
|
|
53
|
+
r"""Function ID"""
|
|
54
|
+
conf: DistinctConfigurationTypedDict
|
|
55
|
+
filter_: NotRequired[str]
|
|
56
|
+
r"""Filter that selects data to be fed through this Function"""
|
|
57
|
+
description: NotRequired[str]
|
|
58
|
+
r"""Simple description of this step"""
|
|
59
|
+
disabled: NotRequired[bool]
|
|
60
|
+
r"""If true, data will not be pushed through this function"""
|
|
61
|
+
final: NotRequired[bool]
|
|
62
|
+
r"""If enabled, stops the results of this Function from being passed to the downstream Functions"""
|
|
63
|
+
group_id: NotRequired[str]
|
|
64
|
+
r"""Group ID"""
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
class PipelineFunctionDistinct(BaseModel):
|
|
68
|
+
id: PipelineFunctionDistinctID
|
|
69
|
+
r"""Function ID"""
|
|
70
|
+
|
|
71
|
+
conf: DistinctConfiguration
|
|
72
|
+
|
|
73
|
+
filter_: Annotated[Optional[str], pydantic.Field(alias="filter")] = "true"
|
|
74
|
+
r"""Filter that selects data to be fed through this Function"""
|
|
75
|
+
|
|
76
|
+
description: Optional[str] = None
|
|
77
|
+
r"""Simple description of this step"""
|
|
78
|
+
|
|
79
|
+
disabled: Optional[bool] = None
|
|
80
|
+
r"""If true, data will not be pushed through this function"""
|
|
81
|
+
|
|
82
|
+
final: Optional[bool] = None
|
|
83
|
+
r"""If enabled, stops the results of this Function from being passed to the downstream Functions"""
|
|
84
|
+
|
|
85
|
+
group_id: Annotated[Optional[str], pydantic.Field(alias="groupId")] = None
|
|
86
|
+
r"""Group ID"""
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .functionconfschemadnslookup import (
|
|
5
|
+
FunctionConfSchemaDNSLookup,
|
|
6
|
+
FunctionConfSchemaDNSLookupTypedDict,
|
|
7
|
+
)
|
|
8
|
+
from cribl_control_plane.types import BaseModel
|
|
9
|
+
from enum import Enum
|
|
10
|
+
import pydantic
|
|
11
|
+
from typing import Optional
|
|
12
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class PipelineFunctionDNSLookupID(str, Enum):
|
|
16
|
+
r"""Function ID"""
|
|
17
|
+
|
|
18
|
+
DNS_LOOKUP = "dns_lookup"
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class PipelineFunctionDNSLookupTypedDict(TypedDict):
|
|
22
|
+
id: PipelineFunctionDNSLookupID
|
|
23
|
+
r"""Function ID"""
|
|
24
|
+
conf: FunctionConfSchemaDNSLookupTypedDict
|
|
25
|
+
filter_: NotRequired[str]
|
|
26
|
+
r"""Filter that selects data to be fed through this Function"""
|
|
27
|
+
description: NotRequired[str]
|
|
28
|
+
r"""Simple description of this step"""
|
|
29
|
+
disabled: NotRequired[bool]
|
|
30
|
+
r"""If true, data will not be pushed through this function"""
|
|
31
|
+
final: NotRequired[bool]
|
|
32
|
+
r"""If enabled, stops the results of this Function from being passed to the downstream Functions"""
|
|
33
|
+
group_id: NotRequired[str]
|
|
34
|
+
r"""Group ID"""
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class PipelineFunctionDNSLookup(BaseModel):
|
|
38
|
+
id: PipelineFunctionDNSLookupID
|
|
39
|
+
r"""Function ID"""
|
|
40
|
+
|
|
41
|
+
conf: FunctionConfSchemaDNSLookup
|
|
42
|
+
|
|
43
|
+
filter_: Annotated[Optional[str], pydantic.Field(alias="filter")] = "true"
|
|
44
|
+
r"""Filter that selects data to be fed through this Function"""
|
|
45
|
+
|
|
46
|
+
description: Optional[str] = None
|
|
47
|
+
r"""Simple description of this step"""
|
|
48
|
+
|
|
49
|
+
disabled: Optional[bool] = None
|
|
50
|
+
r"""If true, data will not be pushed through this function"""
|
|
51
|
+
|
|
52
|
+
final: Optional[bool] = None
|
|
53
|
+
r"""If enabled, stops the results of this Function from being passed to the downstream Functions"""
|
|
54
|
+
|
|
55
|
+
group_id: Annotated[Optional[str], pydantic.Field(alias="groupId")] = None
|
|
56
|
+
r"""Group ID"""
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .functionconfschemadrop import (
|
|
5
|
+
FunctionConfSchemaDrop,
|
|
6
|
+
FunctionConfSchemaDropTypedDict,
|
|
7
|
+
)
|
|
8
|
+
from cribl_control_plane.types import BaseModel
|
|
9
|
+
from enum import Enum
|
|
10
|
+
import pydantic
|
|
11
|
+
from typing import Optional
|
|
12
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class PipelineFunctionDropID(str, Enum):
|
|
16
|
+
r"""Function ID"""
|
|
17
|
+
|
|
18
|
+
DROP = "drop"
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class PipelineFunctionDropTypedDict(TypedDict):
|
|
22
|
+
id: PipelineFunctionDropID
|
|
23
|
+
r"""Function ID"""
|
|
24
|
+
conf: FunctionConfSchemaDropTypedDict
|
|
25
|
+
filter_: NotRequired[str]
|
|
26
|
+
r"""Filter that selects data to be fed through this Function"""
|
|
27
|
+
description: NotRequired[str]
|
|
28
|
+
r"""Simple description of this step"""
|
|
29
|
+
disabled: NotRequired[bool]
|
|
30
|
+
r"""If true, data will not be pushed through this function"""
|
|
31
|
+
final: NotRequired[bool]
|
|
32
|
+
r"""If enabled, stops the results of this Function from being passed to the downstream Functions"""
|
|
33
|
+
group_id: NotRequired[str]
|
|
34
|
+
r"""Group ID"""
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class PipelineFunctionDrop(BaseModel):
|
|
38
|
+
id: PipelineFunctionDropID
|
|
39
|
+
r"""Function ID"""
|
|
40
|
+
|
|
41
|
+
conf: FunctionConfSchemaDrop
|
|
42
|
+
|
|
43
|
+
filter_: Annotated[Optional[str], pydantic.Field(alias="filter")] = "true"
|
|
44
|
+
r"""Filter that selects data to be fed through this Function"""
|
|
45
|
+
|
|
46
|
+
description: Optional[str] = None
|
|
47
|
+
r"""Simple description of this step"""
|
|
48
|
+
|
|
49
|
+
disabled: Optional[bool] = None
|
|
50
|
+
r"""If true, data will not be pushed through this function"""
|
|
51
|
+
|
|
52
|
+
final: Optional[bool] = None
|
|
53
|
+
r"""If enabled, stops the results of this Function from being passed to the downstream Functions"""
|
|
54
|
+
|
|
55
|
+
group_id: Annotated[Optional[str], pydantic.Field(alias="groupId")] = None
|
|
56
|
+
r"""Group ID"""
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from cribl_control_plane.types import BaseModel
|
|
5
|
+
from enum import Enum
|
|
6
|
+
import pydantic
|
|
7
|
+
from typing import List, Optional
|
|
8
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class PipelineFunctionDropDimensionsID(str, Enum):
|
|
12
|
+
r"""Function ID"""
|
|
13
|
+
|
|
14
|
+
DROP_DIMENSIONS = "drop_dimensions"
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class PipelineFunctionDropDimensionsConfTypedDict(TypedDict):
|
|
18
|
+
drop_dimensions: List[str]
|
|
19
|
+
r"""One or more dimensions to be dropped. Supports wildcard expressions. Warning: Using wildcard '*' causes all dimensions in the event to be dropped."""
|
|
20
|
+
time_window: NotRequired[str]
|
|
21
|
+
r"""The time span of the tumbling window for aggregating events. Must be a valid time string (such as 10s)."""
|
|
22
|
+
flush_on_input_close: NotRequired[bool]
|
|
23
|
+
r"""Flush aggregations when an input stream is closed. If disabled, aggregations are flushed based on Time Window Settings instead."""
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class PipelineFunctionDropDimensionsConf(BaseModel):
|
|
27
|
+
drop_dimensions: Annotated[List[str], pydantic.Field(alias="dropDimensions")]
|
|
28
|
+
r"""One or more dimensions to be dropped. Supports wildcard expressions. Warning: Using wildcard '*' causes all dimensions in the event to be dropped."""
|
|
29
|
+
|
|
30
|
+
time_window: Annotated[Optional[str], pydantic.Field(alias="timeWindow")] = "10s"
|
|
31
|
+
r"""The time span of the tumbling window for aggregating events. Must be a valid time string (such as 10s)."""
|
|
32
|
+
|
|
33
|
+
flush_on_input_close: Annotated[
|
|
34
|
+
Optional[bool], pydantic.Field(alias="flushOnInputClose")
|
|
35
|
+
] = True
|
|
36
|
+
r"""Flush aggregations when an input stream is closed. If disabled, aggregations are flushed based on Time Window Settings instead."""
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
class PipelineFunctionDropDimensionsTypedDict(TypedDict):
|
|
40
|
+
id: PipelineFunctionDropDimensionsID
|
|
41
|
+
r"""Function ID"""
|
|
42
|
+
conf: PipelineFunctionDropDimensionsConfTypedDict
|
|
43
|
+
filter_: NotRequired[str]
|
|
44
|
+
r"""Filter that selects data to be fed through this Function"""
|
|
45
|
+
description: NotRequired[str]
|
|
46
|
+
r"""Simple description of this step"""
|
|
47
|
+
disabled: NotRequired[bool]
|
|
48
|
+
r"""If true, data will not be pushed through this function"""
|
|
49
|
+
final: NotRequired[bool]
|
|
50
|
+
r"""If enabled, stops the results of this Function from being passed to the downstream Functions"""
|
|
51
|
+
group_id: NotRequired[str]
|
|
52
|
+
r"""Group ID"""
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
class PipelineFunctionDropDimensions(BaseModel):
|
|
56
|
+
id: PipelineFunctionDropDimensionsID
|
|
57
|
+
r"""Function ID"""
|
|
58
|
+
|
|
59
|
+
conf: PipelineFunctionDropDimensionsConf
|
|
60
|
+
|
|
61
|
+
filter_: Annotated[Optional[str], pydantic.Field(alias="filter")] = "true"
|
|
62
|
+
r"""Filter that selects data to be fed through this Function"""
|
|
63
|
+
|
|
64
|
+
description: Optional[str] = None
|
|
65
|
+
r"""Simple description of this step"""
|
|
66
|
+
|
|
67
|
+
disabled: Optional[bool] = None
|
|
68
|
+
r"""If true, data will not be pushed through this function"""
|
|
69
|
+
|
|
70
|
+
final: Optional[bool] = None
|
|
71
|
+
r"""If enabled, stops the results of this Function from being passed to the downstream Functions"""
|
|
72
|
+
|
|
73
|
+
group_id: Annotated[Optional[str], pydantic.Field(alias="groupId")] = None
|
|
74
|
+
r"""Group ID"""
|