cribl-control-plane 0.5.0-beta.4 → 0.5.0-beta.6
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.
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/models/collectorazureblob.d.ts +643 -19
- package/dist/commonjs/models/collectorazureblob.d.ts.map +1 -1
- package/dist/commonjs/models/collectorazureblob.js +437 -20
- package/dist/commonjs/models/collectorazureblob.js.map +1 -1
- package/dist/commonjs/models/collectorconf.d.ts +26 -2
- package/dist/commonjs/models/collectorconf.d.ts.map +1 -1
- package/dist/commonjs/models/collectorconf.js +12 -12
- package/dist/commonjs/models/collectorconf.js.map +1 -1
- package/dist/commonjs/models/collectorgooglecloudstorage.d.ts +316 -19
- package/dist/commonjs/models/collectorgooglecloudstorage.d.ts.map +1 -1
- package/dist/commonjs/models/collectorgooglecloudstorage.js +222 -20
- package/dist/commonjs/models/collectorgooglecloudstorage.js.map +1 -1
- package/dist/commonjs/models/collectorhealthcheck.d.ts +3635 -72
- package/dist/commonjs/models/collectorhealthcheck.d.ts.map +1 -1
- package/dist/commonjs/models/collectorhealthcheck.js +2828 -126
- package/dist/commonjs/models/collectorhealthcheck.js.map +1 -1
- package/dist/commonjs/models/collectorrest.d.ts +6369 -147
- package/dist/commonjs/models/collectorrest.d.ts.map +1 -1
- package/dist/commonjs/models/collectorrest.js +5232 -96
- package/dist/commonjs/models/collectorrest.js.map +1 -1
- package/dist/commonjs/models/collectors3.d.ts +1003 -34
- package/dist/commonjs/models/collectors3.d.ts.map +1 -1
- package/dist/commonjs/models/collectors3.js +653 -32
- package/dist/commonjs/models/collectors3.js.map +1 -1
- package/dist/commonjs/models/collectorsplunk.d.ts +1803 -82
- package/dist/commonjs/models/collectorsplunk.d.ts.map +1 -1
- package/dist/commonjs/models/collectorsplunk.js +1320 -50
- package/dist/commonjs/models/collectorsplunk.js.map +1 -1
- package/dist/commonjs/models/functionconfschemahandlebars.d.ts +46 -0
- package/dist/commonjs/models/functionconfschemahandlebars.d.ts.map +1 -0
- package/dist/commonjs/models/{functionconfschemahandlebar.js → functionconfschemahandlebars.js} +12 -11
- package/dist/commonjs/models/functionconfschemahandlebars.js.map +1 -0
- package/dist/commonjs/models/functionconfschemanotificationpolicies.d.ts +5 -0
- package/dist/commonjs/models/functionconfschemanotificationpolicies.d.ts.map +1 -1
- package/dist/commonjs/models/functionconfschemanotificationpolicies.js +2 -0
- package/dist/commonjs/models/functionconfschemanotificationpolicies.js.map +1 -1
- package/dist/commonjs/models/{functionhandlebar.d.ts → functionhandlebars.d.ts} +7 -7
- package/dist/commonjs/models/functionhandlebars.d.ts.map +1 -0
- package/dist/commonjs/models/{functionhandlebar.js → functionhandlebars.js} +9 -9
- package/dist/commonjs/models/functionhandlebars.js.map +1 -0
- package/dist/commonjs/models/functionresponse.d.ts +2 -2
- package/dist/commonjs/models/functionresponse.d.ts.map +1 -1
- package/dist/commonjs/models/functionresponse.js +2 -2
- package/dist/commonjs/models/functionresponse.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +3 -3
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +3 -3
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/pipelinefunctionconf.d.ts +2 -2
- package/dist/commonjs/models/pipelinefunctionconf.d.ts.map +1 -1
- package/dist/commonjs/models/pipelinefunctionconf.js +2 -2
- package/dist/commonjs/models/pipelinefunctionconf.js.map +1 -1
- package/dist/commonjs/models/pipelinefunctionconfinput.d.ts +3 -3
- package/dist/commonjs/models/pipelinefunctionconfinput.d.ts.map +1 -1
- package/dist/commonjs/models/pipelinefunctionconfinput.js +2 -2
- package/dist/commonjs/models/pipelinefunctionconfinput.js.map +1 -1
- package/dist/commonjs/models/pipelinefunctionhandlebars.d.ts +109 -0
- package/dist/commonjs/models/pipelinefunctionhandlebars.d.ts.map +1 -0
- package/dist/commonjs/models/pipelinefunctionhandlebars.js +114 -0
- package/dist/commonjs/models/pipelinefunctionhandlebars.js.map +1 -0
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/models/collectorazureblob.d.ts +643 -19
- package/dist/esm/models/collectorazureblob.d.ts.map +1 -1
- package/dist/esm/models/collectorazureblob.js +412 -17
- package/dist/esm/models/collectorazureblob.js.map +1 -1
- package/dist/esm/models/collectorconf.d.ts +26 -2
- package/dist/esm/models/collectorconf.d.ts.map +1 -1
- package/dist/esm/models/collectorconf.js +12 -12
- package/dist/esm/models/collectorconf.js.map +1 -1
- package/dist/esm/models/collectorgooglecloudstorage.d.ts +316 -19
- package/dist/esm/models/collectorgooglecloudstorage.d.ts.map +1 -1
- package/dist/esm/models/collectorgooglecloudstorage.js +209 -17
- package/dist/esm/models/collectorgooglecloudstorage.js.map +1 -1
- package/dist/esm/models/collectorhealthcheck.d.ts +3635 -72
- package/dist/esm/models/collectorhealthcheck.d.ts.map +1 -1
- package/dist/esm/models/collectorhealthcheck.js +2681 -119
- package/dist/esm/models/collectorhealthcheck.js.map +1 -1
- package/dist/esm/models/collectorrest.d.ts +6369 -147
- package/dist/esm/models/collectorrest.d.ts.map +1 -1
- package/dist/esm/models/collectorrest.js +4941 -83
- package/dist/esm/models/collectorrest.js.map +1 -1
- package/dist/esm/models/collectors3.d.ts +1003 -34
- package/dist/esm/models/collectors3.d.ts.map +1 -1
- package/dist/esm/models/collectors3.js +631 -29
- package/dist/esm/models/collectors3.js.map +1 -1
- package/dist/esm/models/collectorsplunk.d.ts +1803 -82
- package/dist/esm/models/collectorsplunk.d.ts.map +1 -1
- package/dist/esm/models/collectorsplunk.js +1261 -43
- package/dist/esm/models/collectorsplunk.js.map +1 -1
- package/dist/esm/models/functionconfschemahandlebars.d.ts +46 -0
- package/dist/esm/models/functionconfschemahandlebars.d.ts.map +1 -0
- package/dist/esm/models/functionconfschemahandlebars.js +26 -0
- package/dist/esm/models/functionconfschemahandlebars.js.map +1 -0
- package/dist/esm/models/functionconfschemanotificationpolicies.d.ts +5 -0
- package/dist/esm/models/functionconfschemanotificationpolicies.d.ts.map +1 -1
- package/dist/esm/models/functionconfschemanotificationpolicies.js +2 -0
- package/dist/esm/models/functionconfschemanotificationpolicies.js.map +1 -1
- package/dist/esm/models/{functionhandlebar.d.ts → functionhandlebars.d.ts} +7 -7
- package/dist/esm/models/functionhandlebars.d.ts.map +1 -0
- package/dist/esm/models/{functionhandlebar.js → functionhandlebars.js} +7 -7
- package/dist/esm/models/functionhandlebars.js.map +1 -0
- package/dist/esm/models/functionresponse.d.ts +2 -2
- package/dist/esm/models/functionresponse.d.ts.map +1 -1
- package/dist/esm/models/functionresponse.js +2 -2
- package/dist/esm/models/functionresponse.js.map +1 -1
- package/dist/esm/models/index.d.ts +3 -3
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +3 -3
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/pipelinefunctionconf.d.ts +2 -2
- package/dist/esm/models/pipelinefunctionconf.d.ts.map +1 -1
- package/dist/esm/models/pipelinefunctionconf.js +2 -2
- package/dist/esm/models/pipelinefunctionconf.js.map +1 -1
- package/dist/esm/models/pipelinefunctionconfinput.d.ts +3 -3
- package/dist/esm/models/pipelinefunctionconfinput.d.ts.map +1 -1
- package/dist/esm/models/pipelinefunctionconfinput.js +2 -2
- package/dist/esm/models/pipelinefunctionconfinput.js.map +1 -1
- package/dist/esm/models/pipelinefunctionhandlebars.d.ts +109 -0
- package/dist/esm/models/pipelinefunctionhandlebars.d.ts.map +1 -0
- package/dist/esm/models/pipelinefunctionhandlebars.js +72 -0
- package/dist/esm/models/pipelinefunctionhandlebars.js.map +1 -0
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/collectorazureblob.ts +1317 -91
- package/src/models/collectorconf.ts +36 -24
- package/src/models/collectorgooglecloudstorage.ts +698 -66
- package/src/models/collectorhealthcheck.ts +7751 -175
- package/src/models/collectorrest.ts +13275 -231
- package/src/models/collectors3.ts +1722 -97
- package/src/models/collectorsplunk.ts +3531 -187
- package/src/models/{functionconfschemahandlebar.ts → functionconfschemahandlebars.ts} +23 -20
- package/src/models/functionconfschemanotificationpolicies.ts +7 -0
- package/src/models/{functionhandlebar.ts → functionhandlebars.ts} +14 -14
- package/src/models/functionresponse.ts +5 -5
- package/src/models/index.ts +3 -3
- package/src/models/pipelinefunctionconf.ts +5 -5
- package/src/models/pipelinefunctionconfinput.ts +7 -7
- package/src/models/{pipelinefunctionhandlebar.ts → pipelinefunctionhandlebars.ts} +67 -62
- package/dist/commonjs/models/functionconfschemahandlebar.d.ts +0 -44
- package/dist/commonjs/models/functionconfschemahandlebar.d.ts.map +0 -1
- package/dist/commonjs/models/functionconfschemahandlebar.js.map +0 -1
- package/dist/commonjs/models/functionhandlebar.d.ts.map +0 -1
- package/dist/commonjs/models/functionhandlebar.js.map +0 -1
- package/dist/commonjs/models/pipelinefunctionhandlebar.d.ts +0 -108
- package/dist/commonjs/models/pipelinefunctionhandlebar.d.ts.map +0 -1
- package/dist/commonjs/models/pipelinefunctionhandlebar.js +0 -112
- package/dist/commonjs/models/pipelinefunctionhandlebar.js.map +0 -1
- package/dist/esm/models/functionconfschemahandlebar.d.ts +0 -44
- package/dist/esm/models/functionconfschemahandlebar.d.ts.map +0 -1
- package/dist/esm/models/functionconfschemahandlebar.js +0 -25
- package/dist/esm/models/functionconfschemahandlebar.js.map +0 -1
- package/dist/esm/models/functionhandlebar.d.ts.map +0 -1
- package/dist/esm/models/functionhandlebar.js.map +0 -1
- package/dist/esm/models/pipelinefunctionhandlebar.d.ts +0 -108
- package/dist/esm/models/pipelinefunctionhandlebar.d.ts.map +0 -1
- package/dist/esm/models/pipelinefunctionhandlebar.js +0 -70
- package/dist/esm/models/pipelinefunctionhandlebar.js.map +0 -1
|
@@ -1,36 +1,199 @@
|
|
|
1
1
|
import * as z from "zod/v3";
|
|
2
|
-
import { OpenEnum } from "../types/enums.js";
|
|
2
|
+
import { ClosedEnum, OpenEnum } from "../types/enums.js";
|
|
3
3
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
4
4
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
5
|
+
/**
|
|
6
|
+
* Authentication method for Discover and Collect REST calls
|
|
7
|
+
*/
|
|
8
|
+
export declare const CollectorSplunkAuthentication7: {
|
|
9
|
+
/**
|
|
10
|
+
* None
|
|
11
|
+
*/
|
|
12
|
+
readonly None: "none";
|
|
13
|
+
/**
|
|
14
|
+
* Basic
|
|
15
|
+
*/
|
|
16
|
+
readonly Basic: "basic";
|
|
17
|
+
/**
|
|
18
|
+
* Basic (credentials secret)
|
|
19
|
+
*/
|
|
20
|
+
readonly BasicSecret: "basicSecret";
|
|
21
|
+
/**
|
|
22
|
+
* Bearer Token
|
|
23
|
+
*/
|
|
24
|
+
readonly Token: "token";
|
|
25
|
+
/**
|
|
26
|
+
* Bearer Token (text secret)
|
|
27
|
+
*/
|
|
28
|
+
readonly TokenSecret: "tokenSecret";
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Authentication method for Discover and Collect REST calls
|
|
32
|
+
*/
|
|
33
|
+
export type CollectorSplunkAuthentication7 = OpenEnum<typeof CollectorSplunkAuthentication7>;
|
|
34
|
+
/**
|
|
35
|
+
* Collector type: splunk
|
|
36
|
+
*/
|
|
37
|
+
export declare const CollectorSplunkType7: {
|
|
38
|
+
readonly Splunk: "splunk";
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Collector type: splunk
|
|
42
|
+
*/
|
|
43
|
+
export type CollectorSplunkType7 = ClosedEnum<typeof CollectorSplunkType7>;
|
|
5
44
|
/**
|
|
6
45
|
* Format of the returned output
|
|
7
46
|
*/
|
|
8
|
-
export declare const
|
|
47
|
+
export declare const CollectorSplunkOutputMode7: {
|
|
9
48
|
readonly Csv: "csv";
|
|
10
49
|
readonly Json: "json";
|
|
11
50
|
};
|
|
12
51
|
/**
|
|
13
52
|
* Format of the returned output
|
|
14
53
|
*/
|
|
15
|
-
export type
|
|
16
|
-
export type
|
|
54
|
+
export type CollectorSplunkOutputMode7 = OpenEnum<typeof CollectorSplunkOutputMode7>;
|
|
55
|
+
export type CollectorSplunkCollectRequestParam7 = {
|
|
17
56
|
name: string;
|
|
18
57
|
/**
|
|
19
58
|
* JavaScript expression to compute the parameter's value, normally enclosed in backticks (`${earliest}`). If a constant, use single quotes ('earliest'). Values without delimiters (earliest) are evaluated as strings.
|
|
20
59
|
*/
|
|
21
60
|
value: string;
|
|
22
61
|
};
|
|
23
|
-
export type
|
|
62
|
+
export type CollectorSplunkCollectRequestHeader7 = {
|
|
24
63
|
name: string;
|
|
25
64
|
/**
|
|
26
65
|
* JavaScript expression to compute the header's value, normally enclosed in backticks (`${earliest}`). If a constant, use single quotes ('earliest'). Values without delimiters (earliest) are evaluated as strings.
|
|
27
66
|
*/
|
|
28
67
|
value: string;
|
|
29
68
|
};
|
|
69
|
+
/**
|
|
70
|
+
* Algorithm to use when performing HTTP retries
|
|
71
|
+
*/
|
|
72
|
+
export declare const CollectorSplunkRetryType7: {
|
|
73
|
+
/**
|
|
74
|
+
* Disabled
|
|
75
|
+
*/
|
|
76
|
+
readonly None: "none";
|
|
77
|
+
/**
|
|
78
|
+
* Backoff
|
|
79
|
+
*/
|
|
80
|
+
readonly Backoff: "backoff";
|
|
81
|
+
/**
|
|
82
|
+
* Static
|
|
83
|
+
*/
|
|
84
|
+
readonly Static: "static";
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* Algorithm to use when performing HTTP retries
|
|
88
|
+
*/
|
|
89
|
+
export type CollectorSplunkRetryType7 = OpenEnum<typeof CollectorSplunkRetryType7>;
|
|
90
|
+
export type CollectorSplunkRetryRules7 = {
|
|
91
|
+
/**
|
|
92
|
+
* Algorithm to use when performing HTTP retries
|
|
93
|
+
*/
|
|
94
|
+
type?: CollectorSplunkRetryType7 | undefined;
|
|
95
|
+
interval?: any | undefined;
|
|
96
|
+
limit?: any | undefined;
|
|
97
|
+
multiplier?: any | undefined;
|
|
98
|
+
codes?: any | undefined;
|
|
99
|
+
enableHeader?: any | undefined;
|
|
100
|
+
retryConnectTimeout?: any | undefined;
|
|
101
|
+
retryConnectReset?: any | undefined;
|
|
102
|
+
};
|
|
103
|
+
export type CollectorSplunkSplunk7 = {
|
|
104
|
+
/**
|
|
105
|
+
* Authentication method for Discover and Collect REST calls
|
|
106
|
+
*/
|
|
107
|
+
authentication?: CollectorSplunkAuthentication7 | undefined;
|
|
108
|
+
/**
|
|
109
|
+
* URL to use for login API call, this call is expected to be a POST.
|
|
110
|
+
*/
|
|
111
|
+
loginUrl?: string | undefined;
|
|
112
|
+
/**
|
|
113
|
+
* Select or create a stored secret that references your login credentials
|
|
114
|
+
*/
|
|
115
|
+
credentialsSecret: string;
|
|
116
|
+
/**
|
|
117
|
+
* Template for POST body to send with login request, ${username} and ${password} are used to specify location of these attributes in the message
|
|
118
|
+
*/
|
|
119
|
+
loginBody?: string | undefined;
|
|
120
|
+
/**
|
|
121
|
+
* Path to token attribute in login response body. Nested attributes are allowed.
|
|
122
|
+
*/
|
|
123
|
+
tokenRespAttribute?: string | undefined;
|
|
124
|
+
/**
|
|
125
|
+
* JavaScript expression to compute the Authorization header to pass in discover and collect calls. The value ${token} is used to reference the token obtained from login.
|
|
126
|
+
*/
|
|
127
|
+
authHeaderExpr?: string | undefined;
|
|
128
|
+
/**
|
|
129
|
+
* Collector type: splunk
|
|
130
|
+
*/
|
|
131
|
+
type: CollectorSplunkType7;
|
|
132
|
+
/**
|
|
133
|
+
* Search head base URL. Can be an expression. Default is https://localhost:8089.
|
|
134
|
+
*/
|
|
135
|
+
searchHead?: string | undefined;
|
|
136
|
+
/**
|
|
137
|
+
* Examples: 'index=myAppLogs level=error channel=myApp' OR '| mstats avg(myStat) as myStat WHERE index=myStatsIndex.'
|
|
138
|
+
*/
|
|
139
|
+
search: string;
|
|
140
|
+
/**
|
|
141
|
+
* The earliest time boundary for the search. Can be an exact or relative time. Examples: '2022-01-14T12:00:00Z' or '-16m@m'
|
|
142
|
+
*/
|
|
143
|
+
earliest?: string | undefined;
|
|
144
|
+
/**
|
|
145
|
+
* The latest time boundary for the search. Can be an exact or relative time. Examples: '2022-01-14T12:00:00Z' or '-1m@m'
|
|
146
|
+
*/
|
|
147
|
+
latest?: string | undefined;
|
|
148
|
+
/**
|
|
149
|
+
* REST API used to create a search
|
|
150
|
+
*/
|
|
151
|
+
endpoint?: string | undefined;
|
|
152
|
+
/**
|
|
153
|
+
* Format of the returned output
|
|
154
|
+
*/
|
|
155
|
+
outputMode?: CollectorSplunkOutputMode7 | undefined;
|
|
156
|
+
/**
|
|
157
|
+
* Optional collect request parameters
|
|
158
|
+
*/
|
|
159
|
+
collectRequestParams?: Array<CollectorSplunkCollectRequestParam7> | undefined;
|
|
160
|
+
/**
|
|
161
|
+
* Optional collect request headers
|
|
162
|
+
*/
|
|
163
|
+
collectRequestHeaders?: Array<CollectorSplunkCollectRequestHeader7> | undefined;
|
|
164
|
+
/**
|
|
165
|
+
* HTTP request inactivity timeout. Use 0 for no timeout.
|
|
166
|
+
*/
|
|
167
|
+
timeout?: number | undefined;
|
|
168
|
+
/**
|
|
169
|
+
* Use round-robin DNS lookup. Suitable when DNS server returns multiple addresses in sort order.
|
|
170
|
+
*/
|
|
171
|
+
useRoundRobinDns?: boolean | undefined;
|
|
172
|
+
/**
|
|
173
|
+
* Disable collector event time filtering when a date range is specified
|
|
174
|
+
*/
|
|
175
|
+
disableTimeFilter?: boolean | undefined;
|
|
176
|
+
/**
|
|
177
|
+
* Reject certificates that cannot be verified against a valid CA (such as self-signed certificates)
|
|
178
|
+
*/
|
|
179
|
+
rejectUnauthorized?: boolean | undefined;
|
|
180
|
+
/**
|
|
181
|
+
* Escape characters (\") in search queries will be passed directly to Splunk
|
|
182
|
+
*/
|
|
183
|
+
handleEscapedChars?: boolean | undefined;
|
|
184
|
+
retryRules?: CollectorSplunkRetryRules7 | undefined;
|
|
185
|
+
username?: string | undefined;
|
|
186
|
+
password?: string | undefined;
|
|
187
|
+
token?: string | undefined;
|
|
188
|
+
/**
|
|
189
|
+
* Select or create a stored secret that references your Bearer token
|
|
190
|
+
*/
|
|
191
|
+
tokenSecret?: string | undefined;
|
|
192
|
+
};
|
|
30
193
|
/**
|
|
31
194
|
* Authentication method for Discover and Collect REST calls
|
|
32
195
|
*/
|
|
33
|
-
export declare const
|
|
196
|
+
export declare const CollectorSplunkAuthentication6: {
|
|
34
197
|
/**
|
|
35
198
|
* None
|
|
36
199
|
*/
|
|
@@ -55,11 +218,46 @@ export declare const CollectorSplunkAuthentication: {
|
|
|
55
218
|
/**
|
|
56
219
|
* Authentication method for Discover and Collect REST calls
|
|
57
220
|
*/
|
|
58
|
-
export type
|
|
221
|
+
export type CollectorSplunkAuthentication6 = OpenEnum<typeof CollectorSplunkAuthentication6>;
|
|
222
|
+
/**
|
|
223
|
+
* Collector type: splunk
|
|
224
|
+
*/
|
|
225
|
+
export declare const CollectorSplunkType6: {
|
|
226
|
+
readonly Splunk: "splunk";
|
|
227
|
+
};
|
|
228
|
+
/**
|
|
229
|
+
* Collector type: splunk
|
|
230
|
+
*/
|
|
231
|
+
export type CollectorSplunkType6 = ClosedEnum<typeof CollectorSplunkType6>;
|
|
232
|
+
/**
|
|
233
|
+
* Format of the returned output
|
|
234
|
+
*/
|
|
235
|
+
export declare const CollectorSplunkOutputMode6: {
|
|
236
|
+
readonly Csv: "csv";
|
|
237
|
+
readonly Json: "json";
|
|
238
|
+
};
|
|
239
|
+
/**
|
|
240
|
+
* Format of the returned output
|
|
241
|
+
*/
|
|
242
|
+
export type CollectorSplunkOutputMode6 = OpenEnum<typeof CollectorSplunkOutputMode6>;
|
|
243
|
+
export type CollectorSplunkCollectRequestParam6 = {
|
|
244
|
+
name: string;
|
|
245
|
+
/**
|
|
246
|
+
* JavaScript expression to compute the parameter's value, normally enclosed in backticks (`${earliest}`). If a constant, use single quotes ('earliest'). Values without delimiters (earliest) are evaluated as strings.
|
|
247
|
+
*/
|
|
248
|
+
value: string;
|
|
249
|
+
};
|
|
250
|
+
export type CollectorSplunkCollectRequestHeader6 = {
|
|
251
|
+
name: string;
|
|
252
|
+
/**
|
|
253
|
+
* JavaScript expression to compute the header's value, normally enclosed in backticks (`${earliest}`). If a constant, use single quotes ('earliest'). Values without delimiters (earliest) are evaluated as strings.
|
|
254
|
+
*/
|
|
255
|
+
value: string;
|
|
256
|
+
};
|
|
59
257
|
/**
|
|
60
258
|
* Algorithm to use when performing HTTP retries
|
|
61
259
|
*/
|
|
62
|
-
export declare const
|
|
260
|
+
export declare const CollectorSplunkRetryType6: {
|
|
63
261
|
/**
|
|
64
262
|
* Disabled
|
|
65
263
|
*/
|
|
@@ -76,12 +274,12 @@ export declare const CollectorSplunkRetryType: {
|
|
|
76
274
|
/**
|
|
77
275
|
* Algorithm to use when performing HTTP retries
|
|
78
276
|
*/
|
|
79
|
-
export type
|
|
80
|
-
export type
|
|
277
|
+
export type CollectorSplunkRetryType6 = OpenEnum<typeof CollectorSplunkRetryType6>;
|
|
278
|
+
export type CollectorSplunkRetryRules6 = {
|
|
81
279
|
/**
|
|
82
280
|
* Algorithm to use when performing HTTP retries
|
|
83
281
|
*/
|
|
84
|
-
type?:
|
|
282
|
+
type?: CollectorSplunkRetryType6 | undefined;
|
|
85
283
|
interval?: any | undefined;
|
|
86
284
|
limit?: any | undefined;
|
|
87
285
|
multiplier?: any | undefined;
|
|
@@ -90,11 +288,33 @@ export type CollectorSplunkRetryRules = {
|
|
|
90
288
|
retryConnectTimeout?: any | undefined;
|
|
91
289
|
retryConnectReset?: any | undefined;
|
|
92
290
|
};
|
|
93
|
-
export type
|
|
291
|
+
export type CollectorSplunkSplunk6 = {
|
|
292
|
+
/**
|
|
293
|
+
* Authentication method for Discover and Collect REST calls
|
|
294
|
+
*/
|
|
295
|
+
authentication?: CollectorSplunkAuthentication6 | undefined;
|
|
296
|
+
/**
|
|
297
|
+
* URL to use for login API call, this call is expected to be a POST.
|
|
298
|
+
*/
|
|
299
|
+
loginUrl?: string | undefined;
|
|
300
|
+
username: string;
|
|
301
|
+
password: string;
|
|
302
|
+
/**
|
|
303
|
+
* Template for POST body to send with login request, ${username} and ${password} are used to specify location of these attributes in the message
|
|
304
|
+
*/
|
|
305
|
+
loginBody?: string | undefined;
|
|
306
|
+
/**
|
|
307
|
+
* Path to token attribute in login response body. Nested attributes are allowed.
|
|
308
|
+
*/
|
|
309
|
+
tokenRespAttribute?: string | undefined;
|
|
310
|
+
/**
|
|
311
|
+
* JavaScript expression to compute the Authorization header to pass in discover and collect calls. The value ${token} is used to reference the token obtained from login.
|
|
312
|
+
*/
|
|
313
|
+
authHeaderExpr?: string | undefined;
|
|
94
314
|
/**
|
|
95
315
|
* Collector type: splunk
|
|
96
316
|
*/
|
|
97
|
-
type:
|
|
317
|
+
type: CollectorSplunkType6;
|
|
98
318
|
/**
|
|
99
319
|
* Search head base URL. Can be an expression. Default is https://localhost:8089.
|
|
100
320
|
*/
|
|
@@ -118,19 +338,15 @@ export type CollectorSplunk = {
|
|
|
118
338
|
/**
|
|
119
339
|
* Format of the returned output
|
|
120
340
|
*/
|
|
121
|
-
outputMode?:
|
|
341
|
+
outputMode?: CollectorSplunkOutputMode6 | undefined;
|
|
122
342
|
/**
|
|
123
343
|
* Optional collect request parameters
|
|
124
344
|
*/
|
|
125
|
-
collectRequestParams?: Array<
|
|
345
|
+
collectRequestParams?: Array<CollectorSplunkCollectRequestParam6> | undefined;
|
|
126
346
|
/**
|
|
127
347
|
* Optional collect request headers
|
|
128
348
|
*/
|
|
129
|
-
collectRequestHeaders?: Array<
|
|
130
|
-
/**
|
|
131
|
-
* Authentication method for Discover and Collect REST calls
|
|
132
|
-
*/
|
|
133
|
-
authentication?: CollectorSplunkAuthentication | undefined;
|
|
349
|
+
collectRequestHeaders?: Array<CollectorSplunkCollectRequestHeader6> | undefined;
|
|
134
350
|
/**
|
|
135
351
|
* HTTP request inactivity timeout. Use 0 for no timeout.
|
|
136
352
|
*/
|
|
@@ -151,81 +367,1586 @@ export type CollectorSplunk = {
|
|
|
151
367
|
* Escape characters (\") in search queries will be passed directly to Splunk
|
|
152
368
|
*/
|
|
153
369
|
handleEscapedChars?: boolean | undefined;
|
|
154
|
-
retryRules?:
|
|
370
|
+
retryRules?: CollectorSplunkRetryRules6 | undefined;
|
|
371
|
+
/**
|
|
372
|
+
* Select or create a stored secret that references your login credentials
|
|
373
|
+
*/
|
|
374
|
+
credentialsSecret?: string | undefined;
|
|
375
|
+
token?: string | undefined;
|
|
376
|
+
/**
|
|
377
|
+
* Select or create a stored secret that references your Bearer token
|
|
378
|
+
*/
|
|
379
|
+
tokenSecret?: string | undefined;
|
|
155
380
|
};
|
|
156
|
-
/**
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
export declare const
|
|
160
|
-
/**
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
381
|
+
/**
|
|
382
|
+
* Authentication method for Discover and Collect REST calls
|
|
383
|
+
*/
|
|
384
|
+
export declare const CollectorSplunkAuthentication5: {
|
|
385
|
+
/**
|
|
386
|
+
* None
|
|
387
|
+
*/
|
|
388
|
+
readonly None: "none";
|
|
389
|
+
/**
|
|
390
|
+
* Basic
|
|
391
|
+
*/
|
|
392
|
+
readonly Basic: "basic";
|
|
393
|
+
/**
|
|
394
|
+
* Basic (credentials secret)
|
|
395
|
+
*/
|
|
396
|
+
readonly BasicSecret: "basicSecret";
|
|
397
|
+
/**
|
|
398
|
+
* Bearer Token
|
|
399
|
+
*/
|
|
400
|
+
readonly Token: "token";
|
|
401
|
+
/**
|
|
402
|
+
* Bearer Token (text secret)
|
|
403
|
+
*/
|
|
404
|
+
readonly TokenSecret: "tokenSecret";
|
|
405
|
+
};
|
|
406
|
+
/**
|
|
407
|
+
* Authentication method for Discover and Collect REST calls
|
|
408
|
+
*/
|
|
409
|
+
export type CollectorSplunkAuthentication5 = OpenEnum<typeof CollectorSplunkAuthentication5>;
|
|
410
|
+
/**
|
|
411
|
+
* Collector type: splunk
|
|
412
|
+
*/
|
|
413
|
+
export declare const CollectorSplunkType5: {
|
|
414
|
+
readonly Splunk: "splunk";
|
|
415
|
+
};
|
|
416
|
+
/**
|
|
417
|
+
* Collector type: splunk
|
|
418
|
+
*/
|
|
419
|
+
export type CollectorSplunkType5 = ClosedEnum<typeof CollectorSplunkType5>;
|
|
420
|
+
/**
|
|
421
|
+
* Format of the returned output
|
|
422
|
+
*/
|
|
423
|
+
export declare const CollectorSplunkOutputMode5: {
|
|
424
|
+
readonly Csv: "csv";
|
|
425
|
+
readonly Json: "json";
|
|
426
|
+
};
|
|
427
|
+
/**
|
|
428
|
+
* Format of the returned output
|
|
429
|
+
*/
|
|
430
|
+
export type CollectorSplunkOutputMode5 = OpenEnum<typeof CollectorSplunkOutputMode5>;
|
|
431
|
+
export type CollectorSplunkCollectRequestParam5 = {
|
|
164
432
|
name: string;
|
|
433
|
+
/**
|
|
434
|
+
* JavaScript expression to compute the parameter's value, normally enclosed in backticks (`${earliest}`). If a constant, use single quotes ('earliest'). Values without delimiters (earliest) are evaluated as strings.
|
|
435
|
+
*/
|
|
165
436
|
value: string;
|
|
166
437
|
};
|
|
167
|
-
|
|
168
|
-
export declare const CollectRequestParam$outboundSchema: z.ZodType<CollectRequestParam$Outbound, z.ZodTypeDef, CollectRequestParam>;
|
|
169
|
-
export declare function collectRequestParamToJSON(collectRequestParam: CollectRequestParam): string;
|
|
170
|
-
export declare function collectRequestParamFromJSON(jsonString: string): SafeParseResult<CollectRequestParam, SDKValidationError>;
|
|
171
|
-
/** @internal */
|
|
172
|
-
export declare const CollectorSplunkCollectRequestHeader$inboundSchema: z.ZodType<CollectorSplunkCollectRequestHeader, z.ZodTypeDef, unknown>;
|
|
173
|
-
/** @internal */
|
|
174
|
-
export type CollectorSplunkCollectRequestHeader$Outbound = {
|
|
438
|
+
export type CollectorSplunkCollectRequestHeader5 = {
|
|
175
439
|
name: string;
|
|
440
|
+
/**
|
|
441
|
+
* JavaScript expression to compute the header's value, normally enclosed in backticks (`${earliest}`). If a constant, use single quotes ('earliest'). Values without delimiters (earliest) are evaluated as strings.
|
|
442
|
+
*/
|
|
176
443
|
value: string;
|
|
177
444
|
};
|
|
178
|
-
/**
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
export declare
|
|
182
|
-
/**
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
/**
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
/**
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
445
|
+
/**
|
|
446
|
+
* Algorithm to use when performing HTTP retries
|
|
447
|
+
*/
|
|
448
|
+
export declare const CollectorSplunkRetryType5: {
|
|
449
|
+
/**
|
|
450
|
+
* Disabled
|
|
451
|
+
*/
|
|
452
|
+
readonly None: "none";
|
|
453
|
+
/**
|
|
454
|
+
* Backoff
|
|
455
|
+
*/
|
|
456
|
+
readonly Backoff: "backoff";
|
|
457
|
+
/**
|
|
458
|
+
* Static
|
|
459
|
+
*/
|
|
460
|
+
readonly Static: "static";
|
|
461
|
+
};
|
|
462
|
+
/**
|
|
463
|
+
* Algorithm to use when performing HTTP retries
|
|
464
|
+
*/
|
|
465
|
+
export type CollectorSplunkRetryType5 = OpenEnum<typeof CollectorSplunkRetryType5>;
|
|
466
|
+
export type CollectorSplunkRetryRules5 = {
|
|
467
|
+
/**
|
|
468
|
+
* Algorithm to use when performing HTTP retries
|
|
469
|
+
*/
|
|
470
|
+
type?: CollectorSplunkRetryType5 | undefined;
|
|
471
|
+
interval?: any | undefined;
|
|
472
|
+
limit?: any | undefined;
|
|
473
|
+
multiplier?: any | undefined;
|
|
474
|
+
codes?: any | undefined;
|
|
475
|
+
enableHeader?: any | undefined;
|
|
476
|
+
retryConnectTimeout?: any | undefined;
|
|
477
|
+
retryConnectReset?: any | undefined;
|
|
478
|
+
};
|
|
479
|
+
export type CollectorSplunkSplunk5 = {
|
|
480
|
+
/**
|
|
481
|
+
* Authentication method for Discover and Collect REST calls
|
|
482
|
+
*/
|
|
483
|
+
authentication?: CollectorSplunkAuthentication5 | undefined;
|
|
484
|
+
/**
|
|
485
|
+
* Select or create a stored secret that references your Bearer token
|
|
486
|
+
*/
|
|
487
|
+
tokenSecret: string;
|
|
488
|
+
/**
|
|
489
|
+
* Collector type: splunk
|
|
490
|
+
*/
|
|
491
|
+
type: CollectorSplunkType5;
|
|
492
|
+
/**
|
|
493
|
+
* Search head base URL. Can be an expression. Default is https://localhost:8089.
|
|
494
|
+
*/
|
|
495
|
+
searchHead?: string | undefined;
|
|
496
|
+
/**
|
|
497
|
+
* Examples: 'index=myAppLogs level=error channel=myApp' OR '| mstats avg(myStat) as myStat WHERE index=myStatsIndex.'
|
|
498
|
+
*/
|
|
499
|
+
search: string;
|
|
500
|
+
/**
|
|
501
|
+
* The earliest time boundary for the search. Can be an exact or relative time. Examples: '2022-01-14T12:00:00Z' or '-16m@m'
|
|
502
|
+
*/
|
|
503
|
+
earliest?: string | undefined;
|
|
504
|
+
/**
|
|
505
|
+
* The latest time boundary for the search. Can be an exact or relative time. Examples: '2022-01-14T12:00:00Z' or '-1m@m'
|
|
506
|
+
*/
|
|
507
|
+
latest?: string | undefined;
|
|
508
|
+
/**
|
|
509
|
+
* REST API used to create a search
|
|
510
|
+
*/
|
|
511
|
+
endpoint?: string | undefined;
|
|
512
|
+
/**
|
|
513
|
+
* Format of the returned output
|
|
514
|
+
*/
|
|
515
|
+
outputMode?: CollectorSplunkOutputMode5 | undefined;
|
|
516
|
+
/**
|
|
517
|
+
* Optional collect request parameters
|
|
518
|
+
*/
|
|
519
|
+
collectRequestParams?: Array<CollectorSplunkCollectRequestParam5> | undefined;
|
|
520
|
+
/**
|
|
521
|
+
* Optional collect request headers
|
|
522
|
+
*/
|
|
523
|
+
collectRequestHeaders?: Array<CollectorSplunkCollectRequestHeader5> | undefined;
|
|
524
|
+
/**
|
|
525
|
+
* HTTP request inactivity timeout. Use 0 for no timeout.
|
|
526
|
+
*/
|
|
527
|
+
timeout?: number | undefined;
|
|
528
|
+
/**
|
|
529
|
+
* Use round-robin DNS lookup. Suitable when DNS server returns multiple addresses in sort order.
|
|
530
|
+
*/
|
|
531
|
+
useRoundRobinDns?: boolean | undefined;
|
|
532
|
+
/**
|
|
533
|
+
* Disable collector event time filtering when a date range is specified
|
|
534
|
+
*/
|
|
535
|
+
disableTimeFilter?: boolean | undefined;
|
|
536
|
+
/**
|
|
537
|
+
* Reject certificates that cannot be verified against a valid CA (such as self-signed certificates)
|
|
538
|
+
*/
|
|
539
|
+
rejectUnauthorized?: boolean | undefined;
|
|
540
|
+
/**
|
|
541
|
+
* Escape characters (\") in search queries will be passed directly to Splunk
|
|
542
|
+
*/
|
|
543
|
+
handleEscapedChars?: boolean | undefined;
|
|
544
|
+
retryRules?: CollectorSplunkRetryRules5 | undefined;
|
|
545
|
+
username?: string | undefined;
|
|
546
|
+
password?: string | undefined;
|
|
547
|
+
/**
|
|
548
|
+
* Select or create a stored secret that references your login credentials
|
|
549
|
+
*/
|
|
550
|
+
credentialsSecret?: string | undefined;
|
|
551
|
+
token?: string | undefined;
|
|
552
|
+
/**
|
|
553
|
+
* URL to use for login API call, this call is expected to be a POST.
|
|
554
|
+
*/
|
|
555
|
+
loginUrl?: string | undefined;
|
|
556
|
+
/**
|
|
557
|
+
* Template for POST body to send with login request, ${username} and ${password} are used to specify location of these attributes in the message
|
|
558
|
+
*/
|
|
559
|
+
loginBody?: string | undefined;
|
|
560
|
+
/**
|
|
561
|
+
* Path to token attribute in login response body. Nested attributes are allowed.
|
|
562
|
+
*/
|
|
563
|
+
tokenRespAttribute?: string | undefined;
|
|
564
|
+
/**
|
|
565
|
+
* JavaScript expression to compute the Authorization header to pass in discover and collect calls. The value ${token} is used to reference the token obtained from login.
|
|
566
|
+
*/
|
|
567
|
+
authHeaderExpr?: string | undefined;
|
|
568
|
+
};
|
|
569
|
+
/**
|
|
570
|
+
* Authentication method for Discover and Collect REST calls
|
|
571
|
+
*/
|
|
572
|
+
export declare const CollectorSplunkAuthentication4: {
|
|
573
|
+
/**
|
|
574
|
+
* None
|
|
575
|
+
*/
|
|
576
|
+
readonly None: "none";
|
|
577
|
+
/**
|
|
578
|
+
* Basic
|
|
579
|
+
*/
|
|
580
|
+
readonly Basic: "basic";
|
|
581
|
+
/**
|
|
582
|
+
* Basic (credentials secret)
|
|
583
|
+
*/
|
|
584
|
+
readonly BasicSecret: "basicSecret";
|
|
585
|
+
/**
|
|
586
|
+
* Bearer Token
|
|
587
|
+
*/
|
|
588
|
+
readonly Token: "token";
|
|
589
|
+
/**
|
|
590
|
+
* Bearer Token (text secret)
|
|
591
|
+
*/
|
|
592
|
+
readonly TokenSecret: "tokenSecret";
|
|
593
|
+
};
|
|
594
|
+
/**
|
|
595
|
+
* Authentication method for Discover and Collect REST calls
|
|
596
|
+
*/
|
|
597
|
+
export type CollectorSplunkAuthentication4 = OpenEnum<typeof CollectorSplunkAuthentication4>;
|
|
598
|
+
/**
|
|
599
|
+
* Collector type: splunk
|
|
600
|
+
*/
|
|
601
|
+
export declare const CollectorSplunkType4: {
|
|
602
|
+
readonly Splunk: "splunk";
|
|
603
|
+
};
|
|
604
|
+
/**
|
|
605
|
+
* Collector type: splunk
|
|
606
|
+
*/
|
|
607
|
+
export type CollectorSplunkType4 = ClosedEnum<typeof CollectorSplunkType4>;
|
|
608
|
+
/**
|
|
609
|
+
* Format of the returned output
|
|
610
|
+
*/
|
|
611
|
+
export declare const CollectorSplunkOutputMode4: {
|
|
612
|
+
readonly Csv: "csv";
|
|
613
|
+
readonly Json: "json";
|
|
614
|
+
};
|
|
615
|
+
/**
|
|
616
|
+
* Format of the returned output
|
|
617
|
+
*/
|
|
618
|
+
export type CollectorSplunkOutputMode4 = OpenEnum<typeof CollectorSplunkOutputMode4>;
|
|
619
|
+
export type CollectorSplunkCollectRequestParam4 = {
|
|
620
|
+
name: string;
|
|
621
|
+
/**
|
|
622
|
+
* JavaScript expression to compute the parameter's value, normally enclosed in backticks (`${earliest}`). If a constant, use single quotes ('earliest'). Values without delimiters (earliest) are evaluated as strings.
|
|
623
|
+
*/
|
|
624
|
+
value: string;
|
|
625
|
+
};
|
|
626
|
+
export type CollectorSplunkCollectRequestHeader4 = {
|
|
627
|
+
name: string;
|
|
628
|
+
/**
|
|
629
|
+
* JavaScript expression to compute the header's value, normally enclosed in backticks (`${earliest}`). If a constant, use single quotes ('earliest'). Values without delimiters (earliest) are evaluated as strings.
|
|
630
|
+
*/
|
|
631
|
+
value: string;
|
|
632
|
+
};
|
|
633
|
+
/**
|
|
634
|
+
* Algorithm to use when performing HTTP retries
|
|
635
|
+
*/
|
|
636
|
+
export declare const CollectorSplunkRetryType4: {
|
|
637
|
+
/**
|
|
638
|
+
* Disabled
|
|
639
|
+
*/
|
|
640
|
+
readonly None: "none";
|
|
641
|
+
/**
|
|
642
|
+
* Backoff
|
|
643
|
+
*/
|
|
644
|
+
readonly Backoff: "backoff";
|
|
645
|
+
/**
|
|
646
|
+
* Static
|
|
647
|
+
*/
|
|
648
|
+
readonly Static: "static";
|
|
649
|
+
};
|
|
650
|
+
/**
|
|
651
|
+
* Algorithm to use when performing HTTP retries
|
|
652
|
+
*/
|
|
653
|
+
export type CollectorSplunkRetryType4 = OpenEnum<typeof CollectorSplunkRetryType4>;
|
|
654
|
+
export type CollectorSplunkRetryRules4 = {
|
|
655
|
+
/**
|
|
656
|
+
* Algorithm to use when performing HTTP retries
|
|
657
|
+
*/
|
|
658
|
+
type?: CollectorSplunkRetryType4 | undefined;
|
|
659
|
+
interval?: any | undefined;
|
|
660
|
+
limit?: any | undefined;
|
|
661
|
+
multiplier?: any | undefined;
|
|
662
|
+
codes?: any | undefined;
|
|
663
|
+
enableHeader?: any | undefined;
|
|
664
|
+
retryConnectTimeout?: any | undefined;
|
|
665
|
+
retryConnectReset?: any | undefined;
|
|
666
|
+
};
|
|
667
|
+
export type CollectorSplunkSplunk4 = {
|
|
668
|
+
/**
|
|
669
|
+
* Authentication method for Discover and Collect REST calls
|
|
670
|
+
*/
|
|
671
|
+
authentication?: CollectorSplunkAuthentication4 | undefined;
|
|
672
|
+
token: string;
|
|
673
|
+
/**
|
|
674
|
+
* Collector type: splunk
|
|
675
|
+
*/
|
|
676
|
+
type: CollectorSplunkType4;
|
|
677
|
+
/**
|
|
678
|
+
* Search head base URL. Can be an expression. Default is https://localhost:8089.
|
|
679
|
+
*/
|
|
680
|
+
searchHead?: string | undefined;
|
|
681
|
+
/**
|
|
682
|
+
* Examples: 'index=myAppLogs level=error channel=myApp' OR '| mstats avg(myStat) as myStat WHERE index=myStatsIndex.'
|
|
683
|
+
*/
|
|
684
|
+
search: string;
|
|
685
|
+
/**
|
|
686
|
+
* The earliest time boundary for the search. Can be an exact or relative time. Examples: '2022-01-14T12:00:00Z' or '-16m@m'
|
|
687
|
+
*/
|
|
688
|
+
earliest?: string | undefined;
|
|
689
|
+
/**
|
|
690
|
+
* The latest time boundary for the search. Can be an exact or relative time. Examples: '2022-01-14T12:00:00Z' or '-1m@m'
|
|
691
|
+
*/
|
|
692
|
+
latest?: string | undefined;
|
|
693
|
+
/**
|
|
694
|
+
* REST API used to create a search
|
|
695
|
+
*/
|
|
696
|
+
endpoint?: string | undefined;
|
|
697
|
+
/**
|
|
698
|
+
* Format of the returned output
|
|
699
|
+
*/
|
|
700
|
+
outputMode?: CollectorSplunkOutputMode4 | undefined;
|
|
701
|
+
/**
|
|
702
|
+
* Optional collect request parameters
|
|
703
|
+
*/
|
|
704
|
+
collectRequestParams?: Array<CollectorSplunkCollectRequestParam4> | undefined;
|
|
705
|
+
/**
|
|
706
|
+
* Optional collect request headers
|
|
707
|
+
*/
|
|
708
|
+
collectRequestHeaders?: Array<CollectorSplunkCollectRequestHeader4> | undefined;
|
|
709
|
+
/**
|
|
710
|
+
* HTTP request inactivity timeout. Use 0 for no timeout.
|
|
711
|
+
*/
|
|
712
|
+
timeout?: number | undefined;
|
|
713
|
+
/**
|
|
714
|
+
* Use round-robin DNS lookup. Suitable when DNS server returns multiple addresses in sort order.
|
|
715
|
+
*/
|
|
716
|
+
useRoundRobinDns?: boolean | undefined;
|
|
717
|
+
/**
|
|
718
|
+
* Disable collector event time filtering when a date range is specified
|
|
719
|
+
*/
|
|
720
|
+
disableTimeFilter?: boolean | undefined;
|
|
721
|
+
/**
|
|
722
|
+
* Reject certificates that cannot be verified against a valid CA (such as self-signed certificates)
|
|
723
|
+
*/
|
|
724
|
+
rejectUnauthorized?: boolean | undefined;
|
|
725
|
+
/**
|
|
726
|
+
* Escape characters (\") in search queries will be passed directly to Splunk
|
|
727
|
+
*/
|
|
728
|
+
handleEscapedChars?: boolean | undefined;
|
|
729
|
+
retryRules?: CollectorSplunkRetryRules4 | undefined;
|
|
730
|
+
username?: string | undefined;
|
|
731
|
+
password?: string | undefined;
|
|
732
|
+
/**
|
|
733
|
+
* Select or create a stored secret that references your login credentials
|
|
734
|
+
*/
|
|
735
|
+
credentialsSecret?: string | undefined;
|
|
736
|
+
/**
|
|
737
|
+
* Select or create a stored secret that references your Bearer token
|
|
738
|
+
*/
|
|
739
|
+
tokenSecret?: string | undefined;
|
|
740
|
+
/**
|
|
741
|
+
* URL to use for login API call, this call is expected to be a POST.
|
|
742
|
+
*/
|
|
743
|
+
loginUrl?: string | undefined;
|
|
744
|
+
/**
|
|
745
|
+
* Template for POST body to send with login request, ${username} and ${password} are used to specify location of these attributes in the message
|
|
746
|
+
*/
|
|
747
|
+
loginBody?: string | undefined;
|
|
748
|
+
/**
|
|
749
|
+
* Path to token attribute in login response body. Nested attributes are allowed.
|
|
750
|
+
*/
|
|
751
|
+
tokenRespAttribute?: string | undefined;
|
|
752
|
+
/**
|
|
753
|
+
* JavaScript expression to compute the Authorization header to pass in discover and collect calls. The value ${token} is used to reference the token obtained from login.
|
|
754
|
+
*/
|
|
755
|
+
authHeaderExpr?: string | undefined;
|
|
756
|
+
};
|
|
757
|
+
/**
|
|
758
|
+
* Authentication method for Discover and Collect REST calls
|
|
759
|
+
*/
|
|
760
|
+
export declare const CollectorSplunkAuthentication3: {
|
|
761
|
+
/**
|
|
762
|
+
* None
|
|
763
|
+
*/
|
|
764
|
+
readonly None: "none";
|
|
765
|
+
/**
|
|
766
|
+
* Basic
|
|
767
|
+
*/
|
|
768
|
+
readonly Basic: "basic";
|
|
769
|
+
/**
|
|
770
|
+
* Basic (credentials secret)
|
|
771
|
+
*/
|
|
772
|
+
readonly BasicSecret: "basicSecret";
|
|
773
|
+
/**
|
|
774
|
+
* Bearer Token
|
|
775
|
+
*/
|
|
776
|
+
readonly Token: "token";
|
|
777
|
+
/**
|
|
778
|
+
* Bearer Token (text secret)
|
|
779
|
+
*/
|
|
780
|
+
readonly TokenSecret: "tokenSecret";
|
|
781
|
+
};
|
|
782
|
+
/**
|
|
783
|
+
* Authentication method for Discover and Collect REST calls
|
|
784
|
+
*/
|
|
785
|
+
export type CollectorSplunkAuthentication3 = OpenEnum<typeof CollectorSplunkAuthentication3>;
|
|
786
|
+
/**
|
|
787
|
+
* Collector type: splunk
|
|
788
|
+
*/
|
|
789
|
+
export declare const CollectorSplunkType3: {
|
|
790
|
+
readonly Splunk: "splunk";
|
|
791
|
+
};
|
|
792
|
+
/**
|
|
793
|
+
* Collector type: splunk
|
|
794
|
+
*/
|
|
795
|
+
export type CollectorSplunkType3 = ClosedEnum<typeof CollectorSplunkType3>;
|
|
796
|
+
/**
|
|
797
|
+
* Format of the returned output
|
|
798
|
+
*/
|
|
799
|
+
export declare const CollectorSplunkOutputMode3: {
|
|
800
|
+
readonly Csv: "csv";
|
|
801
|
+
readonly Json: "json";
|
|
802
|
+
};
|
|
803
|
+
/**
|
|
804
|
+
* Format of the returned output
|
|
805
|
+
*/
|
|
806
|
+
export type CollectorSplunkOutputMode3 = OpenEnum<typeof CollectorSplunkOutputMode3>;
|
|
807
|
+
export type CollectorSplunkCollectRequestParam3 = {
|
|
808
|
+
name: string;
|
|
809
|
+
/**
|
|
810
|
+
* JavaScript expression to compute the parameter's value, normally enclosed in backticks (`${earliest}`). If a constant, use single quotes ('earliest'). Values without delimiters (earliest) are evaluated as strings.
|
|
811
|
+
*/
|
|
812
|
+
value: string;
|
|
813
|
+
};
|
|
814
|
+
export type CollectorSplunkCollectRequestHeader3 = {
|
|
815
|
+
name: string;
|
|
816
|
+
/**
|
|
817
|
+
* JavaScript expression to compute the header's value, normally enclosed in backticks (`${earliest}`). If a constant, use single quotes ('earliest'). Values without delimiters (earliest) are evaluated as strings.
|
|
818
|
+
*/
|
|
819
|
+
value: string;
|
|
820
|
+
};
|
|
821
|
+
/**
|
|
822
|
+
* Algorithm to use when performing HTTP retries
|
|
823
|
+
*/
|
|
824
|
+
export declare const CollectorSplunkRetryType3: {
|
|
825
|
+
/**
|
|
826
|
+
* Disabled
|
|
827
|
+
*/
|
|
828
|
+
readonly None: "none";
|
|
829
|
+
/**
|
|
830
|
+
* Backoff
|
|
831
|
+
*/
|
|
832
|
+
readonly Backoff: "backoff";
|
|
833
|
+
/**
|
|
834
|
+
* Static
|
|
835
|
+
*/
|
|
836
|
+
readonly Static: "static";
|
|
837
|
+
};
|
|
838
|
+
/**
|
|
839
|
+
* Algorithm to use when performing HTTP retries
|
|
840
|
+
*/
|
|
841
|
+
export type CollectorSplunkRetryType3 = OpenEnum<typeof CollectorSplunkRetryType3>;
|
|
842
|
+
export type CollectorSplunkRetryRules3 = {
|
|
843
|
+
/**
|
|
844
|
+
* Algorithm to use when performing HTTP retries
|
|
845
|
+
*/
|
|
846
|
+
type?: CollectorSplunkRetryType3 | undefined;
|
|
847
|
+
interval?: any | undefined;
|
|
848
|
+
limit?: any | undefined;
|
|
849
|
+
multiplier?: any | undefined;
|
|
850
|
+
codes?: any | undefined;
|
|
851
|
+
enableHeader?: any | undefined;
|
|
852
|
+
retryConnectTimeout?: any | undefined;
|
|
853
|
+
retryConnectReset?: any | undefined;
|
|
854
|
+
};
|
|
855
|
+
export type CollectorSplunkSplunk3 = {
|
|
856
|
+
/**
|
|
857
|
+
* Authentication method for Discover and Collect REST calls
|
|
858
|
+
*/
|
|
859
|
+
authentication?: CollectorSplunkAuthentication3 | undefined;
|
|
860
|
+
/**
|
|
861
|
+
* Select or create a stored secret that references your login credentials
|
|
862
|
+
*/
|
|
863
|
+
credentialsSecret: string;
|
|
864
|
+
/**
|
|
865
|
+
* Collector type: splunk
|
|
866
|
+
*/
|
|
867
|
+
type: CollectorSplunkType3;
|
|
868
|
+
/**
|
|
869
|
+
* Search head base URL. Can be an expression. Default is https://localhost:8089.
|
|
870
|
+
*/
|
|
871
|
+
searchHead?: string | undefined;
|
|
872
|
+
/**
|
|
873
|
+
* Examples: 'index=myAppLogs level=error channel=myApp' OR '| mstats avg(myStat) as myStat WHERE index=myStatsIndex.'
|
|
874
|
+
*/
|
|
875
|
+
search: string;
|
|
876
|
+
/**
|
|
877
|
+
* The earliest time boundary for the search. Can be an exact or relative time. Examples: '2022-01-14T12:00:00Z' or '-16m@m'
|
|
878
|
+
*/
|
|
879
|
+
earliest?: string | undefined;
|
|
880
|
+
/**
|
|
881
|
+
* The latest time boundary for the search. Can be an exact or relative time. Examples: '2022-01-14T12:00:00Z' or '-1m@m'
|
|
882
|
+
*/
|
|
883
|
+
latest?: string | undefined;
|
|
884
|
+
/**
|
|
885
|
+
* REST API used to create a search
|
|
886
|
+
*/
|
|
887
|
+
endpoint?: string | undefined;
|
|
888
|
+
/**
|
|
889
|
+
* Format of the returned output
|
|
890
|
+
*/
|
|
891
|
+
outputMode?: CollectorSplunkOutputMode3 | undefined;
|
|
892
|
+
/**
|
|
893
|
+
* Optional collect request parameters
|
|
894
|
+
*/
|
|
895
|
+
collectRequestParams?: Array<CollectorSplunkCollectRequestParam3> | undefined;
|
|
896
|
+
/**
|
|
897
|
+
* Optional collect request headers
|
|
898
|
+
*/
|
|
899
|
+
collectRequestHeaders?: Array<CollectorSplunkCollectRequestHeader3> | undefined;
|
|
900
|
+
/**
|
|
901
|
+
* HTTP request inactivity timeout. Use 0 for no timeout.
|
|
902
|
+
*/
|
|
903
|
+
timeout?: number | undefined;
|
|
904
|
+
/**
|
|
905
|
+
* Use round-robin DNS lookup. Suitable when DNS server returns multiple addresses in sort order.
|
|
906
|
+
*/
|
|
907
|
+
useRoundRobinDns?: boolean | undefined;
|
|
908
|
+
/**
|
|
909
|
+
* Disable collector event time filtering when a date range is specified
|
|
910
|
+
*/
|
|
911
|
+
disableTimeFilter?: boolean | undefined;
|
|
912
|
+
/**
|
|
913
|
+
* Reject certificates that cannot be verified against a valid CA (such as self-signed certificates)
|
|
914
|
+
*/
|
|
915
|
+
rejectUnauthorized?: boolean | undefined;
|
|
916
|
+
/**
|
|
917
|
+
* Escape characters (\") in search queries will be passed directly to Splunk
|
|
918
|
+
*/
|
|
919
|
+
handleEscapedChars?: boolean | undefined;
|
|
920
|
+
retryRules?: CollectorSplunkRetryRules3 | undefined;
|
|
921
|
+
username?: string | undefined;
|
|
922
|
+
password?: string | undefined;
|
|
923
|
+
token?: string | undefined;
|
|
924
|
+
/**
|
|
925
|
+
* Select or create a stored secret that references your Bearer token
|
|
926
|
+
*/
|
|
927
|
+
tokenSecret?: string | undefined;
|
|
928
|
+
/**
|
|
929
|
+
* URL to use for login API call, this call is expected to be a POST.
|
|
930
|
+
*/
|
|
931
|
+
loginUrl?: string | undefined;
|
|
932
|
+
/**
|
|
933
|
+
* Template for POST body to send with login request, ${username} and ${password} are used to specify location of these attributes in the message
|
|
934
|
+
*/
|
|
935
|
+
loginBody?: string | undefined;
|
|
936
|
+
/**
|
|
937
|
+
* Path to token attribute in login response body. Nested attributes are allowed.
|
|
938
|
+
*/
|
|
939
|
+
tokenRespAttribute?: string | undefined;
|
|
940
|
+
/**
|
|
941
|
+
* JavaScript expression to compute the Authorization header to pass in discover and collect calls. The value ${token} is used to reference the token obtained from login.
|
|
942
|
+
*/
|
|
943
|
+
authHeaderExpr?: string | undefined;
|
|
944
|
+
};
|
|
945
|
+
/**
|
|
946
|
+
* Authentication method for Discover and Collect REST calls
|
|
947
|
+
*/
|
|
948
|
+
export declare const CollectorSplunkAuthentication2: {
|
|
949
|
+
/**
|
|
950
|
+
* None
|
|
951
|
+
*/
|
|
952
|
+
readonly None: "none";
|
|
953
|
+
/**
|
|
954
|
+
* Basic
|
|
955
|
+
*/
|
|
956
|
+
readonly Basic: "basic";
|
|
957
|
+
/**
|
|
958
|
+
* Basic (credentials secret)
|
|
959
|
+
*/
|
|
960
|
+
readonly BasicSecret: "basicSecret";
|
|
961
|
+
/**
|
|
962
|
+
* Bearer Token
|
|
963
|
+
*/
|
|
964
|
+
readonly Token: "token";
|
|
965
|
+
/**
|
|
966
|
+
* Bearer Token (text secret)
|
|
967
|
+
*/
|
|
968
|
+
readonly TokenSecret: "tokenSecret";
|
|
969
|
+
};
|
|
970
|
+
/**
|
|
971
|
+
* Authentication method for Discover and Collect REST calls
|
|
972
|
+
*/
|
|
973
|
+
export type CollectorSplunkAuthentication2 = OpenEnum<typeof CollectorSplunkAuthentication2>;
|
|
974
|
+
/**
|
|
975
|
+
* Collector type: splunk
|
|
976
|
+
*/
|
|
977
|
+
export declare const CollectorSplunkType2: {
|
|
978
|
+
readonly Splunk: "splunk";
|
|
979
|
+
};
|
|
980
|
+
/**
|
|
981
|
+
* Collector type: splunk
|
|
982
|
+
*/
|
|
983
|
+
export type CollectorSplunkType2 = ClosedEnum<typeof CollectorSplunkType2>;
|
|
984
|
+
/**
|
|
985
|
+
* Format of the returned output
|
|
986
|
+
*/
|
|
987
|
+
export declare const CollectorSplunkOutputMode2: {
|
|
988
|
+
readonly Csv: "csv";
|
|
989
|
+
readonly Json: "json";
|
|
990
|
+
};
|
|
991
|
+
/**
|
|
992
|
+
* Format of the returned output
|
|
993
|
+
*/
|
|
994
|
+
export type CollectorSplunkOutputMode2 = OpenEnum<typeof CollectorSplunkOutputMode2>;
|
|
995
|
+
export type CollectorSplunkCollectRequestParam2 = {
|
|
996
|
+
name: string;
|
|
997
|
+
/**
|
|
998
|
+
* JavaScript expression to compute the parameter's value, normally enclosed in backticks (`${earliest}`). If a constant, use single quotes ('earliest'). Values without delimiters (earliest) are evaluated as strings.
|
|
999
|
+
*/
|
|
1000
|
+
value: string;
|
|
1001
|
+
};
|
|
1002
|
+
export type CollectorSplunkCollectRequestHeader2 = {
|
|
1003
|
+
name: string;
|
|
1004
|
+
/**
|
|
1005
|
+
* JavaScript expression to compute the header's value, normally enclosed in backticks (`${earliest}`). If a constant, use single quotes ('earliest'). Values without delimiters (earliest) are evaluated as strings.
|
|
1006
|
+
*/
|
|
1007
|
+
value: string;
|
|
1008
|
+
};
|
|
1009
|
+
/**
|
|
1010
|
+
* Algorithm to use when performing HTTP retries
|
|
1011
|
+
*/
|
|
1012
|
+
export declare const CollectorSplunkRetryType2: {
|
|
1013
|
+
/**
|
|
1014
|
+
* Disabled
|
|
1015
|
+
*/
|
|
1016
|
+
readonly None: "none";
|
|
1017
|
+
/**
|
|
1018
|
+
* Backoff
|
|
1019
|
+
*/
|
|
1020
|
+
readonly Backoff: "backoff";
|
|
1021
|
+
/**
|
|
1022
|
+
* Static
|
|
1023
|
+
*/
|
|
1024
|
+
readonly Static: "static";
|
|
1025
|
+
};
|
|
1026
|
+
/**
|
|
1027
|
+
* Algorithm to use when performing HTTP retries
|
|
1028
|
+
*/
|
|
1029
|
+
export type CollectorSplunkRetryType2 = OpenEnum<typeof CollectorSplunkRetryType2>;
|
|
1030
|
+
export type CollectorSplunkRetryRules2 = {
|
|
1031
|
+
/**
|
|
1032
|
+
* Algorithm to use when performing HTTP retries
|
|
1033
|
+
*/
|
|
1034
|
+
type?: CollectorSplunkRetryType2 | undefined;
|
|
1035
|
+
interval?: any | undefined;
|
|
1036
|
+
limit?: any | undefined;
|
|
1037
|
+
multiplier?: any | undefined;
|
|
1038
|
+
codes?: any | undefined;
|
|
1039
|
+
enableHeader?: any | undefined;
|
|
1040
|
+
retryConnectTimeout?: any | undefined;
|
|
1041
|
+
retryConnectReset?: any | undefined;
|
|
1042
|
+
};
|
|
1043
|
+
export type CollectorSplunkSplunk2 = {
|
|
1044
|
+
/**
|
|
1045
|
+
* Authentication method for Discover and Collect REST calls
|
|
1046
|
+
*/
|
|
1047
|
+
authentication?: CollectorSplunkAuthentication2 | undefined;
|
|
1048
|
+
username: string;
|
|
1049
|
+
password: string;
|
|
1050
|
+
/**
|
|
1051
|
+
* Collector type: splunk
|
|
1052
|
+
*/
|
|
1053
|
+
type: CollectorSplunkType2;
|
|
1054
|
+
/**
|
|
1055
|
+
* Search head base URL. Can be an expression. Default is https://localhost:8089.
|
|
1056
|
+
*/
|
|
1057
|
+
searchHead?: string | undefined;
|
|
1058
|
+
/**
|
|
1059
|
+
* Examples: 'index=myAppLogs level=error channel=myApp' OR '| mstats avg(myStat) as myStat WHERE index=myStatsIndex.'
|
|
1060
|
+
*/
|
|
1061
|
+
search: string;
|
|
1062
|
+
/**
|
|
1063
|
+
* The earliest time boundary for the search. Can be an exact or relative time. Examples: '2022-01-14T12:00:00Z' or '-16m@m'
|
|
1064
|
+
*/
|
|
1065
|
+
earliest?: string | undefined;
|
|
1066
|
+
/**
|
|
1067
|
+
* The latest time boundary for the search. Can be an exact or relative time. Examples: '2022-01-14T12:00:00Z' or '-1m@m'
|
|
1068
|
+
*/
|
|
1069
|
+
latest?: string | undefined;
|
|
1070
|
+
/**
|
|
1071
|
+
* REST API used to create a search
|
|
1072
|
+
*/
|
|
1073
|
+
endpoint?: string | undefined;
|
|
1074
|
+
/**
|
|
1075
|
+
* Format of the returned output
|
|
1076
|
+
*/
|
|
1077
|
+
outputMode?: CollectorSplunkOutputMode2 | undefined;
|
|
1078
|
+
/**
|
|
1079
|
+
* Optional collect request parameters
|
|
1080
|
+
*/
|
|
1081
|
+
collectRequestParams?: Array<CollectorSplunkCollectRequestParam2> | undefined;
|
|
1082
|
+
/**
|
|
1083
|
+
* Optional collect request headers
|
|
1084
|
+
*/
|
|
1085
|
+
collectRequestHeaders?: Array<CollectorSplunkCollectRequestHeader2> | undefined;
|
|
1086
|
+
/**
|
|
1087
|
+
* HTTP request inactivity timeout. Use 0 for no timeout.
|
|
1088
|
+
*/
|
|
1089
|
+
timeout?: number | undefined;
|
|
1090
|
+
/**
|
|
1091
|
+
* Use round-robin DNS lookup. Suitable when DNS server returns multiple addresses in sort order.
|
|
1092
|
+
*/
|
|
1093
|
+
useRoundRobinDns?: boolean | undefined;
|
|
1094
|
+
/**
|
|
1095
|
+
* Disable collector event time filtering when a date range is specified
|
|
1096
|
+
*/
|
|
1097
|
+
disableTimeFilter?: boolean | undefined;
|
|
1098
|
+
/**
|
|
1099
|
+
* Reject certificates that cannot be verified against a valid CA (such as self-signed certificates)
|
|
1100
|
+
*/
|
|
1101
|
+
rejectUnauthorized?: boolean | undefined;
|
|
1102
|
+
/**
|
|
1103
|
+
* Escape characters (\") in search queries will be passed directly to Splunk
|
|
1104
|
+
*/
|
|
1105
|
+
handleEscapedChars?: boolean | undefined;
|
|
1106
|
+
retryRules?: CollectorSplunkRetryRules2 | undefined;
|
|
1107
|
+
/**
|
|
1108
|
+
* Select or create a stored secret that references your login credentials
|
|
1109
|
+
*/
|
|
1110
|
+
credentialsSecret?: string | undefined;
|
|
1111
|
+
token?: string | undefined;
|
|
1112
|
+
/**
|
|
1113
|
+
* Select or create a stored secret that references your Bearer token
|
|
1114
|
+
*/
|
|
1115
|
+
tokenSecret?: string | undefined;
|
|
1116
|
+
/**
|
|
1117
|
+
* URL to use for login API call, this call is expected to be a POST.
|
|
1118
|
+
*/
|
|
1119
|
+
loginUrl?: string | undefined;
|
|
1120
|
+
/**
|
|
1121
|
+
* Template for POST body to send with login request, ${username} and ${password} are used to specify location of these attributes in the message
|
|
1122
|
+
*/
|
|
1123
|
+
loginBody?: string | undefined;
|
|
1124
|
+
/**
|
|
1125
|
+
* Path to token attribute in login response body. Nested attributes are allowed.
|
|
1126
|
+
*/
|
|
1127
|
+
tokenRespAttribute?: string | undefined;
|
|
1128
|
+
/**
|
|
1129
|
+
* JavaScript expression to compute the Authorization header to pass in discover and collect calls. The value ${token} is used to reference the token obtained from login.
|
|
1130
|
+
*/
|
|
1131
|
+
authHeaderExpr?: string | undefined;
|
|
1132
|
+
};
|
|
1133
|
+
/**
|
|
1134
|
+
* Authentication method for Discover and Collect REST calls
|
|
1135
|
+
*/
|
|
1136
|
+
export declare const CollectorSplunkAuthentication1: {
|
|
1137
|
+
/**
|
|
1138
|
+
* None
|
|
1139
|
+
*/
|
|
1140
|
+
readonly None: "none";
|
|
1141
|
+
/**
|
|
1142
|
+
* Basic
|
|
1143
|
+
*/
|
|
1144
|
+
readonly Basic: "basic";
|
|
1145
|
+
/**
|
|
1146
|
+
* Basic (credentials secret)
|
|
1147
|
+
*/
|
|
1148
|
+
readonly BasicSecret: "basicSecret";
|
|
1149
|
+
/**
|
|
1150
|
+
* Bearer Token
|
|
1151
|
+
*/
|
|
1152
|
+
readonly Token: "token";
|
|
1153
|
+
/**
|
|
1154
|
+
* Bearer Token (text secret)
|
|
1155
|
+
*/
|
|
1156
|
+
readonly TokenSecret: "tokenSecret";
|
|
1157
|
+
};
|
|
1158
|
+
/**
|
|
1159
|
+
* Authentication method for Discover and Collect REST calls
|
|
1160
|
+
*/
|
|
1161
|
+
export type CollectorSplunkAuthentication1 = OpenEnum<typeof CollectorSplunkAuthentication1>;
|
|
1162
|
+
/**
|
|
1163
|
+
* Collector type: splunk
|
|
1164
|
+
*/
|
|
1165
|
+
export declare const CollectorSplunkType1: {
|
|
1166
|
+
readonly Splunk: "splunk";
|
|
1167
|
+
};
|
|
1168
|
+
/**
|
|
1169
|
+
* Collector type: splunk
|
|
1170
|
+
*/
|
|
1171
|
+
export type CollectorSplunkType1 = ClosedEnum<typeof CollectorSplunkType1>;
|
|
1172
|
+
/**
|
|
1173
|
+
* Format of the returned output
|
|
1174
|
+
*/
|
|
1175
|
+
export declare const CollectorSplunkOutputMode1: {
|
|
1176
|
+
readonly Csv: "csv";
|
|
1177
|
+
readonly Json: "json";
|
|
1178
|
+
};
|
|
1179
|
+
/**
|
|
1180
|
+
* Format of the returned output
|
|
1181
|
+
*/
|
|
1182
|
+
export type CollectorSplunkOutputMode1 = OpenEnum<typeof CollectorSplunkOutputMode1>;
|
|
1183
|
+
export type CollectorSplunkCollectRequestParam1 = {
|
|
1184
|
+
name: string;
|
|
1185
|
+
/**
|
|
1186
|
+
* JavaScript expression to compute the parameter's value, normally enclosed in backticks (`${earliest}`). If a constant, use single quotes ('earliest'). Values without delimiters (earliest) are evaluated as strings.
|
|
1187
|
+
*/
|
|
1188
|
+
value: string;
|
|
1189
|
+
};
|
|
1190
|
+
export type CollectorSplunkCollectRequestHeader1 = {
|
|
1191
|
+
name: string;
|
|
1192
|
+
/**
|
|
1193
|
+
* JavaScript expression to compute the header's value, normally enclosed in backticks (`${earliest}`). If a constant, use single quotes ('earliest'). Values without delimiters (earliest) are evaluated as strings.
|
|
1194
|
+
*/
|
|
1195
|
+
value: string;
|
|
1196
|
+
};
|
|
1197
|
+
/**
|
|
1198
|
+
* Algorithm to use when performing HTTP retries
|
|
1199
|
+
*/
|
|
1200
|
+
export declare const CollectorSplunkRetryType1: {
|
|
1201
|
+
/**
|
|
1202
|
+
* Disabled
|
|
1203
|
+
*/
|
|
1204
|
+
readonly None: "none";
|
|
1205
|
+
/**
|
|
1206
|
+
* Backoff
|
|
1207
|
+
*/
|
|
1208
|
+
readonly Backoff: "backoff";
|
|
1209
|
+
/**
|
|
1210
|
+
* Static
|
|
1211
|
+
*/
|
|
1212
|
+
readonly Static: "static";
|
|
1213
|
+
};
|
|
1214
|
+
/**
|
|
1215
|
+
* Algorithm to use when performing HTTP retries
|
|
1216
|
+
*/
|
|
1217
|
+
export type CollectorSplunkRetryType1 = OpenEnum<typeof CollectorSplunkRetryType1>;
|
|
1218
|
+
export type CollectorSplunkRetryRules1 = {
|
|
1219
|
+
/**
|
|
1220
|
+
* Algorithm to use when performing HTTP retries
|
|
1221
|
+
*/
|
|
1222
|
+
type?: CollectorSplunkRetryType1 | undefined;
|
|
1223
|
+
interval?: any | undefined;
|
|
1224
|
+
limit?: any | undefined;
|
|
1225
|
+
multiplier?: any | undefined;
|
|
1226
|
+
codes?: any | undefined;
|
|
1227
|
+
enableHeader?: any | undefined;
|
|
1228
|
+
retryConnectTimeout?: any | undefined;
|
|
1229
|
+
retryConnectReset?: any | undefined;
|
|
1230
|
+
};
|
|
1231
|
+
export type CollectorSplunkSplunk1 = {
|
|
1232
|
+
/**
|
|
1233
|
+
* Authentication method for Discover and Collect REST calls
|
|
1234
|
+
*/
|
|
1235
|
+
authentication?: CollectorSplunkAuthentication1 | undefined;
|
|
1236
|
+
/**
|
|
1237
|
+
* Collector type: splunk
|
|
1238
|
+
*/
|
|
1239
|
+
type: CollectorSplunkType1;
|
|
1240
|
+
/**
|
|
1241
|
+
* Search head base URL. Can be an expression. Default is https://localhost:8089.
|
|
1242
|
+
*/
|
|
1243
|
+
searchHead?: string | undefined;
|
|
1244
|
+
/**
|
|
1245
|
+
* Examples: 'index=myAppLogs level=error channel=myApp' OR '| mstats avg(myStat) as myStat WHERE index=myStatsIndex.'
|
|
1246
|
+
*/
|
|
1247
|
+
search: string;
|
|
1248
|
+
/**
|
|
1249
|
+
* The earliest time boundary for the search. Can be an exact or relative time. Examples: '2022-01-14T12:00:00Z' or '-16m@m'
|
|
1250
|
+
*/
|
|
1251
|
+
earliest?: string | undefined;
|
|
1252
|
+
/**
|
|
1253
|
+
* The latest time boundary for the search. Can be an exact or relative time. Examples: '2022-01-14T12:00:00Z' or '-1m@m'
|
|
1254
|
+
*/
|
|
1255
|
+
latest?: string | undefined;
|
|
1256
|
+
/**
|
|
1257
|
+
* REST API used to create a search
|
|
1258
|
+
*/
|
|
1259
|
+
endpoint?: string | undefined;
|
|
1260
|
+
/**
|
|
1261
|
+
* Format of the returned output
|
|
1262
|
+
*/
|
|
1263
|
+
outputMode?: CollectorSplunkOutputMode1 | undefined;
|
|
1264
|
+
/**
|
|
1265
|
+
* Optional collect request parameters
|
|
1266
|
+
*/
|
|
1267
|
+
collectRequestParams?: Array<CollectorSplunkCollectRequestParam1> | undefined;
|
|
1268
|
+
/**
|
|
1269
|
+
* Optional collect request headers
|
|
1270
|
+
*/
|
|
1271
|
+
collectRequestHeaders?: Array<CollectorSplunkCollectRequestHeader1> | undefined;
|
|
1272
|
+
/**
|
|
1273
|
+
* HTTP request inactivity timeout. Use 0 for no timeout.
|
|
1274
|
+
*/
|
|
1275
|
+
timeout?: number | undefined;
|
|
1276
|
+
/**
|
|
1277
|
+
* Use round-robin DNS lookup. Suitable when DNS server returns multiple addresses in sort order.
|
|
1278
|
+
*/
|
|
1279
|
+
useRoundRobinDns?: boolean | undefined;
|
|
1280
|
+
/**
|
|
1281
|
+
* Disable collector event time filtering when a date range is specified
|
|
1282
|
+
*/
|
|
1283
|
+
disableTimeFilter?: boolean | undefined;
|
|
1284
|
+
/**
|
|
1285
|
+
* Reject certificates that cannot be verified against a valid CA (such as self-signed certificates)
|
|
1286
|
+
*/
|
|
1287
|
+
rejectUnauthorized?: boolean | undefined;
|
|
1288
|
+
/**
|
|
1289
|
+
* Escape characters (\") in search queries will be passed directly to Splunk
|
|
1290
|
+
*/
|
|
1291
|
+
handleEscapedChars?: boolean | undefined;
|
|
1292
|
+
retryRules?: CollectorSplunkRetryRules1 | undefined;
|
|
1293
|
+
username?: string | undefined;
|
|
1294
|
+
password?: string | undefined;
|
|
1295
|
+
/**
|
|
1296
|
+
* Select or create a stored secret that references your login credentials
|
|
1297
|
+
*/
|
|
1298
|
+
credentialsSecret?: string | undefined;
|
|
1299
|
+
token?: string | undefined;
|
|
1300
|
+
/**
|
|
1301
|
+
* Select or create a stored secret that references your Bearer token
|
|
1302
|
+
*/
|
|
1303
|
+
tokenSecret?: string | undefined;
|
|
1304
|
+
/**
|
|
1305
|
+
* URL to use for login API call, this call is expected to be a POST.
|
|
1306
|
+
*/
|
|
1307
|
+
loginUrl?: string | undefined;
|
|
1308
|
+
/**
|
|
1309
|
+
* Template for POST body to send with login request, ${username} and ${password} are used to specify location of these attributes in the message
|
|
1310
|
+
*/
|
|
1311
|
+
loginBody?: string | undefined;
|
|
1312
|
+
/**
|
|
1313
|
+
* Path to token attribute in login response body. Nested attributes are allowed.
|
|
1314
|
+
*/
|
|
1315
|
+
tokenRespAttribute?: string | undefined;
|
|
1316
|
+
/**
|
|
1317
|
+
* JavaScript expression to compute the Authorization header to pass in discover and collect calls. The value ${token} is used to reference the token obtained from login.
|
|
1318
|
+
*/
|
|
1319
|
+
authHeaderExpr?: string | undefined;
|
|
1320
|
+
};
|
|
1321
|
+
export type CollectorSplunk = CollectorSplunkSplunk2 | CollectorSplunkSplunk6 | CollectorSplunkSplunk3 | CollectorSplunkSplunk4 | CollectorSplunkSplunk5 | CollectorSplunkSplunk7 | CollectorSplunkSplunk1;
|
|
1322
|
+
/** @internal */
|
|
1323
|
+
export declare const CollectorSplunkAuthentication7$inboundSchema: z.ZodType<CollectorSplunkAuthentication7, z.ZodTypeDef, unknown>;
|
|
1324
|
+
/** @internal */
|
|
1325
|
+
export declare const CollectorSplunkAuthentication7$outboundSchema: z.ZodType<string, z.ZodTypeDef, CollectorSplunkAuthentication7>;
|
|
1326
|
+
/** @internal */
|
|
1327
|
+
export declare const CollectorSplunkType7$inboundSchema: z.ZodNativeEnum<typeof CollectorSplunkType7>;
|
|
1328
|
+
/** @internal */
|
|
1329
|
+
export declare const CollectorSplunkType7$outboundSchema: z.ZodNativeEnum<typeof CollectorSplunkType7>;
|
|
1330
|
+
/** @internal */
|
|
1331
|
+
export declare const CollectorSplunkOutputMode7$inboundSchema: z.ZodType<CollectorSplunkOutputMode7, z.ZodTypeDef, unknown>;
|
|
1332
|
+
/** @internal */
|
|
1333
|
+
export declare const CollectorSplunkOutputMode7$outboundSchema: z.ZodType<string, z.ZodTypeDef, CollectorSplunkOutputMode7>;
|
|
1334
|
+
/** @internal */
|
|
1335
|
+
export declare const CollectorSplunkCollectRequestParam7$inboundSchema: z.ZodType<CollectorSplunkCollectRequestParam7, z.ZodTypeDef, unknown>;
|
|
1336
|
+
/** @internal */
|
|
1337
|
+
export type CollectorSplunkCollectRequestParam7$Outbound = {
|
|
1338
|
+
name: string;
|
|
1339
|
+
value: string;
|
|
1340
|
+
};
|
|
1341
|
+
/** @internal */
|
|
1342
|
+
export declare const CollectorSplunkCollectRequestParam7$outboundSchema: z.ZodType<CollectorSplunkCollectRequestParam7$Outbound, z.ZodTypeDef, CollectorSplunkCollectRequestParam7>;
|
|
1343
|
+
export declare function collectorSplunkCollectRequestParam7ToJSON(collectorSplunkCollectRequestParam7: CollectorSplunkCollectRequestParam7): string;
|
|
1344
|
+
export declare function collectorSplunkCollectRequestParam7FromJSON(jsonString: string): SafeParseResult<CollectorSplunkCollectRequestParam7, SDKValidationError>;
|
|
1345
|
+
/** @internal */
|
|
1346
|
+
export declare const CollectorSplunkCollectRequestHeader7$inboundSchema: z.ZodType<CollectorSplunkCollectRequestHeader7, z.ZodTypeDef, unknown>;
|
|
1347
|
+
/** @internal */
|
|
1348
|
+
export type CollectorSplunkCollectRequestHeader7$Outbound = {
|
|
1349
|
+
name: string;
|
|
1350
|
+
value: string;
|
|
1351
|
+
};
|
|
1352
|
+
/** @internal */
|
|
1353
|
+
export declare const CollectorSplunkCollectRequestHeader7$outboundSchema: z.ZodType<CollectorSplunkCollectRequestHeader7$Outbound, z.ZodTypeDef, CollectorSplunkCollectRequestHeader7>;
|
|
1354
|
+
export declare function collectorSplunkCollectRequestHeader7ToJSON(collectorSplunkCollectRequestHeader7: CollectorSplunkCollectRequestHeader7): string;
|
|
1355
|
+
export declare function collectorSplunkCollectRequestHeader7FromJSON(jsonString: string): SafeParseResult<CollectorSplunkCollectRequestHeader7, SDKValidationError>;
|
|
1356
|
+
/** @internal */
|
|
1357
|
+
export declare const CollectorSplunkRetryType7$inboundSchema: z.ZodType<CollectorSplunkRetryType7, z.ZodTypeDef, unknown>;
|
|
1358
|
+
/** @internal */
|
|
1359
|
+
export declare const CollectorSplunkRetryType7$outboundSchema: z.ZodType<string, z.ZodTypeDef, CollectorSplunkRetryType7>;
|
|
1360
|
+
/** @internal */
|
|
1361
|
+
export declare const CollectorSplunkRetryRules7$inboundSchema: z.ZodType<CollectorSplunkRetryRules7, z.ZodTypeDef, unknown>;
|
|
1362
|
+
/** @internal */
|
|
1363
|
+
export type CollectorSplunkRetryRules7$Outbound = {
|
|
1364
|
+
type: string;
|
|
1365
|
+
interval?: any | undefined;
|
|
1366
|
+
limit?: any | undefined;
|
|
1367
|
+
multiplier?: any | undefined;
|
|
1368
|
+
codes?: any | undefined;
|
|
1369
|
+
enableHeader?: any | undefined;
|
|
1370
|
+
retryConnectTimeout?: any | undefined;
|
|
1371
|
+
retryConnectReset?: any | undefined;
|
|
1372
|
+
};
|
|
1373
|
+
/** @internal */
|
|
1374
|
+
export declare const CollectorSplunkRetryRules7$outboundSchema: z.ZodType<CollectorSplunkRetryRules7$Outbound, z.ZodTypeDef, CollectorSplunkRetryRules7>;
|
|
1375
|
+
export declare function collectorSplunkRetryRules7ToJSON(collectorSplunkRetryRules7: CollectorSplunkRetryRules7): string;
|
|
1376
|
+
export declare function collectorSplunkRetryRules7FromJSON(jsonString: string): SafeParseResult<CollectorSplunkRetryRules7, SDKValidationError>;
|
|
1377
|
+
/** @internal */
|
|
1378
|
+
export declare const CollectorSplunkSplunk7$inboundSchema: z.ZodType<CollectorSplunkSplunk7, z.ZodTypeDef, unknown>;
|
|
1379
|
+
/** @internal */
|
|
1380
|
+
export type CollectorSplunkSplunk7$Outbound = {
|
|
1381
|
+
authentication: string;
|
|
1382
|
+
loginUrl: string;
|
|
1383
|
+
credentialsSecret: string;
|
|
1384
|
+
loginBody: string;
|
|
1385
|
+
tokenRespAttribute: string;
|
|
1386
|
+
authHeaderExpr: string;
|
|
1387
|
+
type: string;
|
|
1388
|
+
searchHead: string;
|
|
1389
|
+
search: string;
|
|
1390
|
+
earliest?: string | undefined;
|
|
1391
|
+
latest?: string | undefined;
|
|
1392
|
+
endpoint: string;
|
|
1393
|
+
outputMode: string;
|
|
1394
|
+
collectRequestParams?: Array<CollectorSplunkCollectRequestParam7$Outbound> | undefined;
|
|
1395
|
+
collectRequestHeaders?: Array<CollectorSplunkCollectRequestHeader7$Outbound> | undefined;
|
|
1396
|
+
timeout: number;
|
|
1397
|
+
useRoundRobinDns: boolean;
|
|
1398
|
+
disableTimeFilter: boolean;
|
|
1399
|
+
rejectUnauthorized: boolean;
|
|
1400
|
+
handleEscapedChars: boolean;
|
|
1401
|
+
retryRules?: CollectorSplunkRetryRules7$Outbound | undefined;
|
|
1402
|
+
username?: string | undefined;
|
|
1403
|
+
password?: string | undefined;
|
|
1404
|
+
token?: string | undefined;
|
|
1405
|
+
tokenSecret?: string | undefined;
|
|
1406
|
+
};
|
|
1407
|
+
/** @internal */
|
|
1408
|
+
export declare const CollectorSplunkSplunk7$outboundSchema: z.ZodType<CollectorSplunkSplunk7$Outbound, z.ZodTypeDef, CollectorSplunkSplunk7>;
|
|
1409
|
+
export declare function collectorSplunkSplunk7ToJSON(collectorSplunkSplunk7: CollectorSplunkSplunk7): string;
|
|
1410
|
+
export declare function collectorSplunkSplunk7FromJSON(jsonString: string): SafeParseResult<CollectorSplunkSplunk7, SDKValidationError>;
|
|
1411
|
+
/** @internal */
|
|
1412
|
+
export declare const CollectorSplunkAuthentication6$inboundSchema: z.ZodType<CollectorSplunkAuthentication6, z.ZodTypeDef, unknown>;
|
|
1413
|
+
/** @internal */
|
|
1414
|
+
export declare const CollectorSplunkAuthentication6$outboundSchema: z.ZodType<string, z.ZodTypeDef, CollectorSplunkAuthentication6>;
|
|
1415
|
+
/** @internal */
|
|
1416
|
+
export declare const CollectorSplunkType6$inboundSchema: z.ZodNativeEnum<typeof CollectorSplunkType6>;
|
|
1417
|
+
/** @internal */
|
|
1418
|
+
export declare const CollectorSplunkType6$outboundSchema: z.ZodNativeEnum<typeof CollectorSplunkType6>;
|
|
1419
|
+
/** @internal */
|
|
1420
|
+
export declare const CollectorSplunkOutputMode6$inboundSchema: z.ZodType<CollectorSplunkOutputMode6, z.ZodTypeDef, unknown>;
|
|
1421
|
+
/** @internal */
|
|
1422
|
+
export declare const CollectorSplunkOutputMode6$outboundSchema: z.ZodType<string, z.ZodTypeDef, CollectorSplunkOutputMode6>;
|
|
1423
|
+
/** @internal */
|
|
1424
|
+
export declare const CollectorSplunkCollectRequestParam6$inboundSchema: z.ZodType<CollectorSplunkCollectRequestParam6, z.ZodTypeDef, unknown>;
|
|
1425
|
+
/** @internal */
|
|
1426
|
+
export type CollectorSplunkCollectRequestParam6$Outbound = {
|
|
1427
|
+
name: string;
|
|
1428
|
+
value: string;
|
|
1429
|
+
};
|
|
1430
|
+
/** @internal */
|
|
1431
|
+
export declare const CollectorSplunkCollectRequestParam6$outboundSchema: z.ZodType<CollectorSplunkCollectRequestParam6$Outbound, z.ZodTypeDef, CollectorSplunkCollectRequestParam6>;
|
|
1432
|
+
export declare function collectorSplunkCollectRequestParam6ToJSON(collectorSplunkCollectRequestParam6: CollectorSplunkCollectRequestParam6): string;
|
|
1433
|
+
export declare function collectorSplunkCollectRequestParam6FromJSON(jsonString: string): SafeParseResult<CollectorSplunkCollectRequestParam6, SDKValidationError>;
|
|
1434
|
+
/** @internal */
|
|
1435
|
+
export declare const CollectorSplunkCollectRequestHeader6$inboundSchema: z.ZodType<CollectorSplunkCollectRequestHeader6, z.ZodTypeDef, unknown>;
|
|
1436
|
+
/** @internal */
|
|
1437
|
+
export type CollectorSplunkCollectRequestHeader6$Outbound = {
|
|
1438
|
+
name: string;
|
|
1439
|
+
value: string;
|
|
1440
|
+
};
|
|
1441
|
+
/** @internal */
|
|
1442
|
+
export declare const CollectorSplunkCollectRequestHeader6$outboundSchema: z.ZodType<CollectorSplunkCollectRequestHeader6$Outbound, z.ZodTypeDef, CollectorSplunkCollectRequestHeader6>;
|
|
1443
|
+
export declare function collectorSplunkCollectRequestHeader6ToJSON(collectorSplunkCollectRequestHeader6: CollectorSplunkCollectRequestHeader6): string;
|
|
1444
|
+
export declare function collectorSplunkCollectRequestHeader6FromJSON(jsonString: string): SafeParseResult<CollectorSplunkCollectRequestHeader6, SDKValidationError>;
|
|
1445
|
+
/** @internal */
|
|
1446
|
+
export declare const CollectorSplunkRetryType6$inboundSchema: z.ZodType<CollectorSplunkRetryType6, z.ZodTypeDef, unknown>;
|
|
1447
|
+
/** @internal */
|
|
1448
|
+
export declare const CollectorSplunkRetryType6$outboundSchema: z.ZodType<string, z.ZodTypeDef, CollectorSplunkRetryType6>;
|
|
1449
|
+
/** @internal */
|
|
1450
|
+
export declare const CollectorSplunkRetryRules6$inboundSchema: z.ZodType<CollectorSplunkRetryRules6, z.ZodTypeDef, unknown>;
|
|
1451
|
+
/** @internal */
|
|
1452
|
+
export type CollectorSplunkRetryRules6$Outbound = {
|
|
1453
|
+
type: string;
|
|
1454
|
+
interval?: any | undefined;
|
|
1455
|
+
limit?: any | undefined;
|
|
1456
|
+
multiplier?: any | undefined;
|
|
1457
|
+
codes?: any | undefined;
|
|
1458
|
+
enableHeader?: any | undefined;
|
|
1459
|
+
retryConnectTimeout?: any | undefined;
|
|
1460
|
+
retryConnectReset?: any | undefined;
|
|
1461
|
+
};
|
|
1462
|
+
/** @internal */
|
|
1463
|
+
export declare const CollectorSplunkRetryRules6$outboundSchema: z.ZodType<CollectorSplunkRetryRules6$Outbound, z.ZodTypeDef, CollectorSplunkRetryRules6>;
|
|
1464
|
+
export declare function collectorSplunkRetryRules6ToJSON(collectorSplunkRetryRules6: CollectorSplunkRetryRules6): string;
|
|
1465
|
+
export declare function collectorSplunkRetryRules6FromJSON(jsonString: string): SafeParseResult<CollectorSplunkRetryRules6, SDKValidationError>;
|
|
1466
|
+
/** @internal */
|
|
1467
|
+
export declare const CollectorSplunkSplunk6$inboundSchema: z.ZodType<CollectorSplunkSplunk6, z.ZodTypeDef, unknown>;
|
|
1468
|
+
/** @internal */
|
|
1469
|
+
export type CollectorSplunkSplunk6$Outbound = {
|
|
1470
|
+
authentication: string;
|
|
1471
|
+
loginUrl: string;
|
|
1472
|
+
username: string;
|
|
1473
|
+
password: string;
|
|
1474
|
+
loginBody: string;
|
|
1475
|
+
tokenRespAttribute: string;
|
|
1476
|
+
authHeaderExpr: string;
|
|
1477
|
+
type: string;
|
|
1478
|
+
searchHead: string;
|
|
1479
|
+
search: string;
|
|
1480
|
+
earliest?: string | undefined;
|
|
1481
|
+
latest?: string | undefined;
|
|
1482
|
+
endpoint: string;
|
|
1483
|
+
outputMode: string;
|
|
1484
|
+
collectRequestParams?: Array<CollectorSplunkCollectRequestParam6$Outbound> | undefined;
|
|
1485
|
+
collectRequestHeaders?: Array<CollectorSplunkCollectRequestHeader6$Outbound> | undefined;
|
|
1486
|
+
timeout: number;
|
|
1487
|
+
useRoundRobinDns: boolean;
|
|
1488
|
+
disableTimeFilter: boolean;
|
|
1489
|
+
rejectUnauthorized: boolean;
|
|
1490
|
+
handleEscapedChars: boolean;
|
|
1491
|
+
retryRules?: CollectorSplunkRetryRules6$Outbound | undefined;
|
|
1492
|
+
credentialsSecret?: string | undefined;
|
|
1493
|
+
token?: string | undefined;
|
|
1494
|
+
tokenSecret?: string | undefined;
|
|
1495
|
+
};
|
|
1496
|
+
/** @internal */
|
|
1497
|
+
export declare const CollectorSplunkSplunk6$outboundSchema: z.ZodType<CollectorSplunkSplunk6$Outbound, z.ZodTypeDef, CollectorSplunkSplunk6>;
|
|
1498
|
+
export declare function collectorSplunkSplunk6ToJSON(collectorSplunkSplunk6: CollectorSplunkSplunk6): string;
|
|
1499
|
+
export declare function collectorSplunkSplunk6FromJSON(jsonString: string): SafeParseResult<CollectorSplunkSplunk6, SDKValidationError>;
|
|
1500
|
+
/** @internal */
|
|
1501
|
+
export declare const CollectorSplunkAuthentication5$inboundSchema: z.ZodType<CollectorSplunkAuthentication5, z.ZodTypeDef, unknown>;
|
|
1502
|
+
/** @internal */
|
|
1503
|
+
export declare const CollectorSplunkAuthentication5$outboundSchema: z.ZodType<string, z.ZodTypeDef, CollectorSplunkAuthentication5>;
|
|
1504
|
+
/** @internal */
|
|
1505
|
+
export declare const CollectorSplunkType5$inboundSchema: z.ZodNativeEnum<typeof CollectorSplunkType5>;
|
|
1506
|
+
/** @internal */
|
|
1507
|
+
export declare const CollectorSplunkType5$outboundSchema: z.ZodNativeEnum<typeof CollectorSplunkType5>;
|
|
1508
|
+
/** @internal */
|
|
1509
|
+
export declare const CollectorSplunkOutputMode5$inboundSchema: z.ZodType<CollectorSplunkOutputMode5, z.ZodTypeDef, unknown>;
|
|
1510
|
+
/** @internal */
|
|
1511
|
+
export declare const CollectorSplunkOutputMode5$outboundSchema: z.ZodType<string, z.ZodTypeDef, CollectorSplunkOutputMode5>;
|
|
1512
|
+
/** @internal */
|
|
1513
|
+
export declare const CollectorSplunkCollectRequestParam5$inboundSchema: z.ZodType<CollectorSplunkCollectRequestParam5, z.ZodTypeDef, unknown>;
|
|
1514
|
+
/** @internal */
|
|
1515
|
+
export type CollectorSplunkCollectRequestParam5$Outbound = {
|
|
1516
|
+
name: string;
|
|
1517
|
+
value: string;
|
|
1518
|
+
};
|
|
1519
|
+
/** @internal */
|
|
1520
|
+
export declare const CollectorSplunkCollectRequestParam5$outboundSchema: z.ZodType<CollectorSplunkCollectRequestParam5$Outbound, z.ZodTypeDef, CollectorSplunkCollectRequestParam5>;
|
|
1521
|
+
export declare function collectorSplunkCollectRequestParam5ToJSON(collectorSplunkCollectRequestParam5: CollectorSplunkCollectRequestParam5): string;
|
|
1522
|
+
export declare function collectorSplunkCollectRequestParam5FromJSON(jsonString: string): SafeParseResult<CollectorSplunkCollectRequestParam5, SDKValidationError>;
|
|
1523
|
+
/** @internal */
|
|
1524
|
+
export declare const CollectorSplunkCollectRequestHeader5$inboundSchema: z.ZodType<CollectorSplunkCollectRequestHeader5, z.ZodTypeDef, unknown>;
|
|
1525
|
+
/** @internal */
|
|
1526
|
+
export type CollectorSplunkCollectRequestHeader5$Outbound = {
|
|
1527
|
+
name: string;
|
|
1528
|
+
value: string;
|
|
1529
|
+
};
|
|
1530
|
+
/** @internal */
|
|
1531
|
+
export declare const CollectorSplunkCollectRequestHeader5$outboundSchema: z.ZodType<CollectorSplunkCollectRequestHeader5$Outbound, z.ZodTypeDef, CollectorSplunkCollectRequestHeader5>;
|
|
1532
|
+
export declare function collectorSplunkCollectRequestHeader5ToJSON(collectorSplunkCollectRequestHeader5: CollectorSplunkCollectRequestHeader5): string;
|
|
1533
|
+
export declare function collectorSplunkCollectRequestHeader5FromJSON(jsonString: string): SafeParseResult<CollectorSplunkCollectRequestHeader5, SDKValidationError>;
|
|
1534
|
+
/** @internal */
|
|
1535
|
+
export declare const CollectorSplunkRetryType5$inboundSchema: z.ZodType<CollectorSplunkRetryType5, z.ZodTypeDef, unknown>;
|
|
1536
|
+
/** @internal */
|
|
1537
|
+
export declare const CollectorSplunkRetryType5$outboundSchema: z.ZodType<string, z.ZodTypeDef, CollectorSplunkRetryType5>;
|
|
1538
|
+
/** @internal */
|
|
1539
|
+
export declare const CollectorSplunkRetryRules5$inboundSchema: z.ZodType<CollectorSplunkRetryRules5, z.ZodTypeDef, unknown>;
|
|
1540
|
+
/** @internal */
|
|
1541
|
+
export type CollectorSplunkRetryRules5$Outbound = {
|
|
1542
|
+
type: string;
|
|
1543
|
+
interval?: any | undefined;
|
|
1544
|
+
limit?: any | undefined;
|
|
1545
|
+
multiplier?: any | undefined;
|
|
1546
|
+
codes?: any | undefined;
|
|
1547
|
+
enableHeader?: any | undefined;
|
|
1548
|
+
retryConnectTimeout?: any | undefined;
|
|
1549
|
+
retryConnectReset?: any | undefined;
|
|
1550
|
+
};
|
|
1551
|
+
/** @internal */
|
|
1552
|
+
export declare const CollectorSplunkRetryRules5$outboundSchema: z.ZodType<CollectorSplunkRetryRules5$Outbound, z.ZodTypeDef, CollectorSplunkRetryRules5>;
|
|
1553
|
+
export declare function collectorSplunkRetryRules5ToJSON(collectorSplunkRetryRules5: CollectorSplunkRetryRules5): string;
|
|
1554
|
+
export declare function collectorSplunkRetryRules5FromJSON(jsonString: string): SafeParseResult<CollectorSplunkRetryRules5, SDKValidationError>;
|
|
1555
|
+
/** @internal */
|
|
1556
|
+
export declare const CollectorSplunkSplunk5$inboundSchema: z.ZodType<CollectorSplunkSplunk5, z.ZodTypeDef, unknown>;
|
|
1557
|
+
/** @internal */
|
|
1558
|
+
export type CollectorSplunkSplunk5$Outbound = {
|
|
1559
|
+
authentication: string;
|
|
1560
|
+
tokenSecret: string;
|
|
1561
|
+
type: string;
|
|
1562
|
+
searchHead: string;
|
|
1563
|
+
search: string;
|
|
1564
|
+
earliest?: string | undefined;
|
|
1565
|
+
latest?: string | undefined;
|
|
1566
|
+
endpoint: string;
|
|
1567
|
+
outputMode: string;
|
|
1568
|
+
collectRequestParams?: Array<CollectorSplunkCollectRequestParam5$Outbound> | undefined;
|
|
1569
|
+
collectRequestHeaders?: Array<CollectorSplunkCollectRequestHeader5$Outbound> | undefined;
|
|
1570
|
+
timeout: number;
|
|
1571
|
+
useRoundRobinDns: boolean;
|
|
1572
|
+
disableTimeFilter: boolean;
|
|
1573
|
+
rejectUnauthorized: boolean;
|
|
1574
|
+
handleEscapedChars: boolean;
|
|
1575
|
+
retryRules?: CollectorSplunkRetryRules5$Outbound | undefined;
|
|
1576
|
+
username?: string | undefined;
|
|
1577
|
+
password?: string | undefined;
|
|
1578
|
+
credentialsSecret?: string | undefined;
|
|
1579
|
+
token?: string | undefined;
|
|
1580
|
+
loginUrl: string;
|
|
1581
|
+
loginBody: string;
|
|
1582
|
+
tokenRespAttribute: string;
|
|
1583
|
+
authHeaderExpr: string;
|
|
1584
|
+
};
|
|
1585
|
+
/** @internal */
|
|
1586
|
+
export declare const CollectorSplunkSplunk5$outboundSchema: z.ZodType<CollectorSplunkSplunk5$Outbound, z.ZodTypeDef, CollectorSplunkSplunk5>;
|
|
1587
|
+
export declare function collectorSplunkSplunk5ToJSON(collectorSplunkSplunk5: CollectorSplunkSplunk5): string;
|
|
1588
|
+
export declare function collectorSplunkSplunk5FromJSON(jsonString: string): SafeParseResult<CollectorSplunkSplunk5, SDKValidationError>;
|
|
1589
|
+
/** @internal */
|
|
1590
|
+
export declare const CollectorSplunkAuthentication4$inboundSchema: z.ZodType<CollectorSplunkAuthentication4, z.ZodTypeDef, unknown>;
|
|
1591
|
+
/** @internal */
|
|
1592
|
+
export declare const CollectorSplunkAuthentication4$outboundSchema: z.ZodType<string, z.ZodTypeDef, CollectorSplunkAuthentication4>;
|
|
1593
|
+
/** @internal */
|
|
1594
|
+
export declare const CollectorSplunkType4$inboundSchema: z.ZodNativeEnum<typeof CollectorSplunkType4>;
|
|
1595
|
+
/** @internal */
|
|
1596
|
+
export declare const CollectorSplunkType4$outboundSchema: z.ZodNativeEnum<typeof CollectorSplunkType4>;
|
|
1597
|
+
/** @internal */
|
|
1598
|
+
export declare const CollectorSplunkOutputMode4$inboundSchema: z.ZodType<CollectorSplunkOutputMode4, z.ZodTypeDef, unknown>;
|
|
1599
|
+
/** @internal */
|
|
1600
|
+
export declare const CollectorSplunkOutputMode4$outboundSchema: z.ZodType<string, z.ZodTypeDef, CollectorSplunkOutputMode4>;
|
|
1601
|
+
/** @internal */
|
|
1602
|
+
export declare const CollectorSplunkCollectRequestParam4$inboundSchema: z.ZodType<CollectorSplunkCollectRequestParam4, z.ZodTypeDef, unknown>;
|
|
1603
|
+
/** @internal */
|
|
1604
|
+
export type CollectorSplunkCollectRequestParam4$Outbound = {
|
|
1605
|
+
name: string;
|
|
1606
|
+
value: string;
|
|
1607
|
+
};
|
|
1608
|
+
/** @internal */
|
|
1609
|
+
export declare const CollectorSplunkCollectRequestParam4$outboundSchema: z.ZodType<CollectorSplunkCollectRequestParam4$Outbound, z.ZodTypeDef, CollectorSplunkCollectRequestParam4>;
|
|
1610
|
+
export declare function collectorSplunkCollectRequestParam4ToJSON(collectorSplunkCollectRequestParam4: CollectorSplunkCollectRequestParam4): string;
|
|
1611
|
+
export declare function collectorSplunkCollectRequestParam4FromJSON(jsonString: string): SafeParseResult<CollectorSplunkCollectRequestParam4, SDKValidationError>;
|
|
1612
|
+
/** @internal */
|
|
1613
|
+
export declare const CollectorSplunkCollectRequestHeader4$inboundSchema: z.ZodType<CollectorSplunkCollectRequestHeader4, z.ZodTypeDef, unknown>;
|
|
1614
|
+
/** @internal */
|
|
1615
|
+
export type CollectorSplunkCollectRequestHeader4$Outbound = {
|
|
1616
|
+
name: string;
|
|
1617
|
+
value: string;
|
|
1618
|
+
};
|
|
1619
|
+
/** @internal */
|
|
1620
|
+
export declare const CollectorSplunkCollectRequestHeader4$outboundSchema: z.ZodType<CollectorSplunkCollectRequestHeader4$Outbound, z.ZodTypeDef, CollectorSplunkCollectRequestHeader4>;
|
|
1621
|
+
export declare function collectorSplunkCollectRequestHeader4ToJSON(collectorSplunkCollectRequestHeader4: CollectorSplunkCollectRequestHeader4): string;
|
|
1622
|
+
export declare function collectorSplunkCollectRequestHeader4FromJSON(jsonString: string): SafeParseResult<CollectorSplunkCollectRequestHeader4, SDKValidationError>;
|
|
1623
|
+
/** @internal */
|
|
1624
|
+
export declare const CollectorSplunkRetryType4$inboundSchema: z.ZodType<CollectorSplunkRetryType4, z.ZodTypeDef, unknown>;
|
|
1625
|
+
/** @internal */
|
|
1626
|
+
export declare const CollectorSplunkRetryType4$outboundSchema: z.ZodType<string, z.ZodTypeDef, CollectorSplunkRetryType4>;
|
|
1627
|
+
/** @internal */
|
|
1628
|
+
export declare const CollectorSplunkRetryRules4$inboundSchema: z.ZodType<CollectorSplunkRetryRules4, z.ZodTypeDef, unknown>;
|
|
1629
|
+
/** @internal */
|
|
1630
|
+
export type CollectorSplunkRetryRules4$Outbound = {
|
|
1631
|
+
type: string;
|
|
1632
|
+
interval?: any | undefined;
|
|
1633
|
+
limit?: any | undefined;
|
|
1634
|
+
multiplier?: any | undefined;
|
|
1635
|
+
codes?: any | undefined;
|
|
1636
|
+
enableHeader?: any | undefined;
|
|
1637
|
+
retryConnectTimeout?: any | undefined;
|
|
1638
|
+
retryConnectReset?: any | undefined;
|
|
1639
|
+
};
|
|
1640
|
+
/** @internal */
|
|
1641
|
+
export declare const CollectorSplunkRetryRules4$outboundSchema: z.ZodType<CollectorSplunkRetryRules4$Outbound, z.ZodTypeDef, CollectorSplunkRetryRules4>;
|
|
1642
|
+
export declare function collectorSplunkRetryRules4ToJSON(collectorSplunkRetryRules4: CollectorSplunkRetryRules4): string;
|
|
1643
|
+
export declare function collectorSplunkRetryRules4FromJSON(jsonString: string): SafeParseResult<CollectorSplunkRetryRules4, SDKValidationError>;
|
|
1644
|
+
/** @internal */
|
|
1645
|
+
export declare const CollectorSplunkSplunk4$inboundSchema: z.ZodType<CollectorSplunkSplunk4, z.ZodTypeDef, unknown>;
|
|
1646
|
+
/** @internal */
|
|
1647
|
+
export type CollectorSplunkSplunk4$Outbound = {
|
|
1648
|
+
authentication: string;
|
|
1649
|
+
token: string;
|
|
1650
|
+
type: string;
|
|
1651
|
+
searchHead: string;
|
|
1652
|
+
search: string;
|
|
1653
|
+
earliest?: string | undefined;
|
|
1654
|
+
latest?: string | undefined;
|
|
1655
|
+
endpoint: string;
|
|
1656
|
+
outputMode: string;
|
|
1657
|
+
collectRequestParams?: Array<CollectorSplunkCollectRequestParam4$Outbound> | undefined;
|
|
1658
|
+
collectRequestHeaders?: Array<CollectorSplunkCollectRequestHeader4$Outbound> | undefined;
|
|
1659
|
+
timeout: number;
|
|
1660
|
+
useRoundRobinDns: boolean;
|
|
1661
|
+
disableTimeFilter: boolean;
|
|
1662
|
+
rejectUnauthorized: boolean;
|
|
1663
|
+
handleEscapedChars: boolean;
|
|
1664
|
+
retryRules?: CollectorSplunkRetryRules4$Outbound | undefined;
|
|
1665
|
+
username?: string | undefined;
|
|
1666
|
+
password?: string | undefined;
|
|
1667
|
+
credentialsSecret?: string | undefined;
|
|
1668
|
+
tokenSecret?: string | undefined;
|
|
1669
|
+
loginUrl: string;
|
|
1670
|
+
loginBody: string;
|
|
1671
|
+
tokenRespAttribute: string;
|
|
1672
|
+
authHeaderExpr: string;
|
|
1673
|
+
};
|
|
1674
|
+
/** @internal */
|
|
1675
|
+
export declare const CollectorSplunkSplunk4$outboundSchema: z.ZodType<CollectorSplunkSplunk4$Outbound, z.ZodTypeDef, CollectorSplunkSplunk4>;
|
|
1676
|
+
export declare function collectorSplunkSplunk4ToJSON(collectorSplunkSplunk4: CollectorSplunkSplunk4): string;
|
|
1677
|
+
export declare function collectorSplunkSplunk4FromJSON(jsonString: string): SafeParseResult<CollectorSplunkSplunk4, SDKValidationError>;
|
|
1678
|
+
/** @internal */
|
|
1679
|
+
export declare const CollectorSplunkAuthentication3$inboundSchema: z.ZodType<CollectorSplunkAuthentication3, z.ZodTypeDef, unknown>;
|
|
1680
|
+
/** @internal */
|
|
1681
|
+
export declare const CollectorSplunkAuthentication3$outboundSchema: z.ZodType<string, z.ZodTypeDef, CollectorSplunkAuthentication3>;
|
|
1682
|
+
/** @internal */
|
|
1683
|
+
export declare const CollectorSplunkType3$inboundSchema: z.ZodNativeEnum<typeof CollectorSplunkType3>;
|
|
1684
|
+
/** @internal */
|
|
1685
|
+
export declare const CollectorSplunkType3$outboundSchema: z.ZodNativeEnum<typeof CollectorSplunkType3>;
|
|
1686
|
+
/** @internal */
|
|
1687
|
+
export declare const CollectorSplunkOutputMode3$inboundSchema: z.ZodType<CollectorSplunkOutputMode3, z.ZodTypeDef, unknown>;
|
|
1688
|
+
/** @internal */
|
|
1689
|
+
export declare const CollectorSplunkOutputMode3$outboundSchema: z.ZodType<string, z.ZodTypeDef, CollectorSplunkOutputMode3>;
|
|
1690
|
+
/** @internal */
|
|
1691
|
+
export declare const CollectorSplunkCollectRequestParam3$inboundSchema: z.ZodType<CollectorSplunkCollectRequestParam3, z.ZodTypeDef, unknown>;
|
|
1692
|
+
/** @internal */
|
|
1693
|
+
export type CollectorSplunkCollectRequestParam3$Outbound = {
|
|
1694
|
+
name: string;
|
|
1695
|
+
value: string;
|
|
1696
|
+
};
|
|
1697
|
+
/** @internal */
|
|
1698
|
+
export declare const CollectorSplunkCollectRequestParam3$outboundSchema: z.ZodType<CollectorSplunkCollectRequestParam3$Outbound, z.ZodTypeDef, CollectorSplunkCollectRequestParam3>;
|
|
1699
|
+
export declare function collectorSplunkCollectRequestParam3ToJSON(collectorSplunkCollectRequestParam3: CollectorSplunkCollectRequestParam3): string;
|
|
1700
|
+
export declare function collectorSplunkCollectRequestParam3FromJSON(jsonString: string): SafeParseResult<CollectorSplunkCollectRequestParam3, SDKValidationError>;
|
|
1701
|
+
/** @internal */
|
|
1702
|
+
export declare const CollectorSplunkCollectRequestHeader3$inboundSchema: z.ZodType<CollectorSplunkCollectRequestHeader3, z.ZodTypeDef, unknown>;
|
|
1703
|
+
/** @internal */
|
|
1704
|
+
export type CollectorSplunkCollectRequestHeader3$Outbound = {
|
|
1705
|
+
name: string;
|
|
1706
|
+
value: string;
|
|
1707
|
+
};
|
|
1708
|
+
/** @internal */
|
|
1709
|
+
export declare const CollectorSplunkCollectRequestHeader3$outboundSchema: z.ZodType<CollectorSplunkCollectRequestHeader3$Outbound, z.ZodTypeDef, CollectorSplunkCollectRequestHeader3>;
|
|
1710
|
+
export declare function collectorSplunkCollectRequestHeader3ToJSON(collectorSplunkCollectRequestHeader3: CollectorSplunkCollectRequestHeader3): string;
|
|
1711
|
+
export declare function collectorSplunkCollectRequestHeader3FromJSON(jsonString: string): SafeParseResult<CollectorSplunkCollectRequestHeader3, SDKValidationError>;
|
|
1712
|
+
/** @internal */
|
|
1713
|
+
export declare const CollectorSplunkRetryType3$inboundSchema: z.ZodType<CollectorSplunkRetryType3, z.ZodTypeDef, unknown>;
|
|
1714
|
+
/** @internal */
|
|
1715
|
+
export declare const CollectorSplunkRetryType3$outboundSchema: z.ZodType<string, z.ZodTypeDef, CollectorSplunkRetryType3>;
|
|
1716
|
+
/** @internal */
|
|
1717
|
+
export declare const CollectorSplunkRetryRules3$inboundSchema: z.ZodType<CollectorSplunkRetryRules3, z.ZodTypeDef, unknown>;
|
|
1718
|
+
/** @internal */
|
|
1719
|
+
export type CollectorSplunkRetryRules3$Outbound = {
|
|
1720
|
+
type: string;
|
|
1721
|
+
interval?: any | undefined;
|
|
1722
|
+
limit?: any | undefined;
|
|
1723
|
+
multiplier?: any | undefined;
|
|
1724
|
+
codes?: any | undefined;
|
|
1725
|
+
enableHeader?: any | undefined;
|
|
1726
|
+
retryConnectTimeout?: any | undefined;
|
|
1727
|
+
retryConnectReset?: any | undefined;
|
|
1728
|
+
};
|
|
1729
|
+
/** @internal */
|
|
1730
|
+
export declare const CollectorSplunkRetryRules3$outboundSchema: z.ZodType<CollectorSplunkRetryRules3$Outbound, z.ZodTypeDef, CollectorSplunkRetryRules3>;
|
|
1731
|
+
export declare function collectorSplunkRetryRules3ToJSON(collectorSplunkRetryRules3: CollectorSplunkRetryRules3): string;
|
|
1732
|
+
export declare function collectorSplunkRetryRules3FromJSON(jsonString: string): SafeParseResult<CollectorSplunkRetryRules3, SDKValidationError>;
|
|
1733
|
+
/** @internal */
|
|
1734
|
+
export declare const CollectorSplunkSplunk3$inboundSchema: z.ZodType<CollectorSplunkSplunk3, z.ZodTypeDef, unknown>;
|
|
1735
|
+
/** @internal */
|
|
1736
|
+
export type CollectorSplunkSplunk3$Outbound = {
|
|
1737
|
+
authentication: string;
|
|
1738
|
+
credentialsSecret: string;
|
|
1739
|
+
type: string;
|
|
1740
|
+
searchHead: string;
|
|
1741
|
+
search: string;
|
|
1742
|
+
earliest?: string | undefined;
|
|
1743
|
+
latest?: string | undefined;
|
|
1744
|
+
endpoint: string;
|
|
1745
|
+
outputMode: string;
|
|
1746
|
+
collectRequestParams?: Array<CollectorSplunkCollectRequestParam3$Outbound> | undefined;
|
|
1747
|
+
collectRequestHeaders?: Array<CollectorSplunkCollectRequestHeader3$Outbound> | undefined;
|
|
1748
|
+
timeout: number;
|
|
1749
|
+
useRoundRobinDns: boolean;
|
|
1750
|
+
disableTimeFilter: boolean;
|
|
1751
|
+
rejectUnauthorized: boolean;
|
|
1752
|
+
handleEscapedChars: boolean;
|
|
1753
|
+
retryRules?: CollectorSplunkRetryRules3$Outbound | undefined;
|
|
1754
|
+
username?: string | undefined;
|
|
1755
|
+
password?: string | undefined;
|
|
1756
|
+
token?: string | undefined;
|
|
1757
|
+
tokenSecret?: string | undefined;
|
|
1758
|
+
loginUrl: string;
|
|
1759
|
+
loginBody: string;
|
|
1760
|
+
tokenRespAttribute: string;
|
|
1761
|
+
authHeaderExpr: string;
|
|
1762
|
+
};
|
|
1763
|
+
/** @internal */
|
|
1764
|
+
export declare const CollectorSplunkSplunk3$outboundSchema: z.ZodType<CollectorSplunkSplunk3$Outbound, z.ZodTypeDef, CollectorSplunkSplunk3>;
|
|
1765
|
+
export declare function collectorSplunkSplunk3ToJSON(collectorSplunkSplunk3: CollectorSplunkSplunk3): string;
|
|
1766
|
+
export declare function collectorSplunkSplunk3FromJSON(jsonString: string): SafeParseResult<CollectorSplunkSplunk3, SDKValidationError>;
|
|
1767
|
+
/** @internal */
|
|
1768
|
+
export declare const CollectorSplunkAuthentication2$inboundSchema: z.ZodType<CollectorSplunkAuthentication2, z.ZodTypeDef, unknown>;
|
|
1769
|
+
/** @internal */
|
|
1770
|
+
export declare const CollectorSplunkAuthentication2$outboundSchema: z.ZodType<string, z.ZodTypeDef, CollectorSplunkAuthentication2>;
|
|
1771
|
+
/** @internal */
|
|
1772
|
+
export declare const CollectorSplunkType2$inboundSchema: z.ZodNativeEnum<typeof CollectorSplunkType2>;
|
|
1773
|
+
/** @internal */
|
|
1774
|
+
export declare const CollectorSplunkType2$outboundSchema: z.ZodNativeEnum<typeof CollectorSplunkType2>;
|
|
1775
|
+
/** @internal */
|
|
1776
|
+
export declare const CollectorSplunkOutputMode2$inboundSchema: z.ZodType<CollectorSplunkOutputMode2, z.ZodTypeDef, unknown>;
|
|
1777
|
+
/** @internal */
|
|
1778
|
+
export declare const CollectorSplunkOutputMode2$outboundSchema: z.ZodType<string, z.ZodTypeDef, CollectorSplunkOutputMode2>;
|
|
1779
|
+
/** @internal */
|
|
1780
|
+
export declare const CollectorSplunkCollectRequestParam2$inboundSchema: z.ZodType<CollectorSplunkCollectRequestParam2, z.ZodTypeDef, unknown>;
|
|
1781
|
+
/** @internal */
|
|
1782
|
+
export type CollectorSplunkCollectRequestParam2$Outbound = {
|
|
1783
|
+
name: string;
|
|
1784
|
+
value: string;
|
|
1785
|
+
};
|
|
1786
|
+
/** @internal */
|
|
1787
|
+
export declare const CollectorSplunkCollectRequestParam2$outboundSchema: z.ZodType<CollectorSplunkCollectRequestParam2$Outbound, z.ZodTypeDef, CollectorSplunkCollectRequestParam2>;
|
|
1788
|
+
export declare function collectorSplunkCollectRequestParam2ToJSON(collectorSplunkCollectRequestParam2: CollectorSplunkCollectRequestParam2): string;
|
|
1789
|
+
export declare function collectorSplunkCollectRequestParam2FromJSON(jsonString: string): SafeParseResult<CollectorSplunkCollectRequestParam2, SDKValidationError>;
|
|
1790
|
+
/** @internal */
|
|
1791
|
+
export declare const CollectorSplunkCollectRequestHeader2$inboundSchema: z.ZodType<CollectorSplunkCollectRequestHeader2, z.ZodTypeDef, unknown>;
|
|
1792
|
+
/** @internal */
|
|
1793
|
+
export type CollectorSplunkCollectRequestHeader2$Outbound = {
|
|
1794
|
+
name: string;
|
|
1795
|
+
value: string;
|
|
1796
|
+
};
|
|
1797
|
+
/** @internal */
|
|
1798
|
+
export declare const CollectorSplunkCollectRequestHeader2$outboundSchema: z.ZodType<CollectorSplunkCollectRequestHeader2$Outbound, z.ZodTypeDef, CollectorSplunkCollectRequestHeader2>;
|
|
1799
|
+
export declare function collectorSplunkCollectRequestHeader2ToJSON(collectorSplunkCollectRequestHeader2: CollectorSplunkCollectRequestHeader2): string;
|
|
1800
|
+
export declare function collectorSplunkCollectRequestHeader2FromJSON(jsonString: string): SafeParseResult<CollectorSplunkCollectRequestHeader2, SDKValidationError>;
|
|
1801
|
+
/** @internal */
|
|
1802
|
+
export declare const CollectorSplunkRetryType2$inboundSchema: z.ZodType<CollectorSplunkRetryType2, z.ZodTypeDef, unknown>;
|
|
1803
|
+
/** @internal */
|
|
1804
|
+
export declare const CollectorSplunkRetryType2$outboundSchema: z.ZodType<string, z.ZodTypeDef, CollectorSplunkRetryType2>;
|
|
1805
|
+
/** @internal */
|
|
1806
|
+
export declare const CollectorSplunkRetryRules2$inboundSchema: z.ZodType<CollectorSplunkRetryRules2, z.ZodTypeDef, unknown>;
|
|
1807
|
+
/** @internal */
|
|
1808
|
+
export type CollectorSplunkRetryRules2$Outbound = {
|
|
1809
|
+
type: string;
|
|
1810
|
+
interval?: any | undefined;
|
|
1811
|
+
limit?: any | undefined;
|
|
1812
|
+
multiplier?: any | undefined;
|
|
1813
|
+
codes?: any | undefined;
|
|
1814
|
+
enableHeader?: any | undefined;
|
|
1815
|
+
retryConnectTimeout?: any | undefined;
|
|
1816
|
+
retryConnectReset?: any | undefined;
|
|
1817
|
+
};
|
|
1818
|
+
/** @internal */
|
|
1819
|
+
export declare const CollectorSplunkRetryRules2$outboundSchema: z.ZodType<CollectorSplunkRetryRules2$Outbound, z.ZodTypeDef, CollectorSplunkRetryRules2>;
|
|
1820
|
+
export declare function collectorSplunkRetryRules2ToJSON(collectorSplunkRetryRules2: CollectorSplunkRetryRules2): string;
|
|
1821
|
+
export declare function collectorSplunkRetryRules2FromJSON(jsonString: string): SafeParseResult<CollectorSplunkRetryRules2, SDKValidationError>;
|
|
1822
|
+
/** @internal */
|
|
1823
|
+
export declare const CollectorSplunkSplunk2$inboundSchema: z.ZodType<CollectorSplunkSplunk2, z.ZodTypeDef, unknown>;
|
|
1824
|
+
/** @internal */
|
|
1825
|
+
export type CollectorSplunkSplunk2$Outbound = {
|
|
1826
|
+
authentication: string;
|
|
1827
|
+
username: string;
|
|
1828
|
+
password: string;
|
|
1829
|
+
type: string;
|
|
1830
|
+
searchHead: string;
|
|
1831
|
+
search: string;
|
|
1832
|
+
earliest?: string | undefined;
|
|
1833
|
+
latest?: string | undefined;
|
|
1834
|
+
endpoint: string;
|
|
1835
|
+
outputMode: string;
|
|
1836
|
+
collectRequestParams?: Array<CollectorSplunkCollectRequestParam2$Outbound> | undefined;
|
|
1837
|
+
collectRequestHeaders?: Array<CollectorSplunkCollectRequestHeader2$Outbound> | undefined;
|
|
1838
|
+
timeout: number;
|
|
1839
|
+
useRoundRobinDns: boolean;
|
|
1840
|
+
disableTimeFilter: boolean;
|
|
1841
|
+
rejectUnauthorized: boolean;
|
|
1842
|
+
handleEscapedChars: boolean;
|
|
1843
|
+
retryRules?: CollectorSplunkRetryRules2$Outbound | undefined;
|
|
1844
|
+
credentialsSecret?: string | undefined;
|
|
1845
|
+
token?: string | undefined;
|
|
1846
|
+
tokenSecret?: string | undefined;
|
|
1847
|
+
loginUrl: string;
|
|
1848
|
+
loginBody: string;
|
|
1849
|
+
tokenRespAttribute: string;
|
|
1850
|
+
authHeaderExpr: string;
|
|
1851
|
+
};
|
|
1852
|
+
/** @internal */
|
|
1853
|
+
export declare const CollectorSplunkSplunk2$outboundSchema: z.ZodType<CollectorSplunkSplunk2$Outbound, z.ZodTypeDef, CollectorSplunkSplunk2>;
|
|
1854
|
+
export declare function collectorSplunkSplunk2ToJSON(collectorSplunkSplunk2: CollectorSplunkSplunk2): string;
|
|
1855
|
+
export declare function collectorSplunkSplunk2FromJSON(jsonString: string): SafeParseResult<CollectorSplunkSplunk2, SDKValidationError>;
|
|
1856
|
+
/** @internal */
|
|
1857
|
+
export declare const CollectorSplunkAuthentication1$inboundSchema: z.ZodType<CollectorSplunkAuthentication1, z.ZodTypeDef, unknown>;
|
|
1858
|
+
/** @internal */
|
|
1859
|
+
export declare const CollectorSplunkAuthentication1$outboundSchema: z.ZodType<string, z.ZodTypeDef, CollectorSplunkAuthentication1>;
|
|
1860
|
+
/** @internal */
|
|
1861
|
+
export declare const CollectorSplunkType1$inboundSchema: z.ZodNativeEnum<typeof CollectorSplunkType1>;
|
|
1862
|
+
/** @internal */
|
|
1863
|
+
export declare const CollectorSplunkType1$outboundSchema: z.ZodNativeEnum<typeof CollectorSplunkType1>;
|
|
1864
|
+
/** @internal */
|
|
1865
|
+
export declare const CollectorSplunkOutputMode1$inboundSchema: z.ZodType<CollectorSplunkOutputMode1, z.ZodTypeDef, unknown>;
|
|
1866
|
+
/** @internal */
|
|
1867
|
+
export declare const CollectorSplunkOutputMode1$outboundSchema: z.ZodType<string, z.ZodTypeDef, CollectorSplunkOutputMode1>;
|
|
1868
|
+
/** @internal */
|
|
1869
|
+
export declare const CollectorSplunkCollectRequestParam1$inboundSchema: z.ZodType<CollectorSplunkCollectRequestParam1, z.ZodTypeDef, unknown>;
|
|
1870
|
+
/** @internal */
|
|
1871
|
+
export type CollectorSplunkCollectRequestParam1$Outbound = {
|
|
1872
|
+
name: string;
|
|
1873
|
+
value: string;
|
|
1874
|
+
};
|
|
1875
|
+
/** @internal */
|
|
1876
|
+
export declare const CollectorSplunkCollectRequestParam1$outboundSchema: z.ZodType<CollectorSplunkCollectRequestParam1$Outbound, z.ZodTypeDef, CollectorSplunkCollectRequestParam1>;
|
|
1877
|
+
export declare function collectorSplunkCollectRequestParam1ToJSON(collectorSplunkCollectRequestParam1: CollectorSplunkCollectRequestParam1): string;
|
|
1878
|
+
export declare function collectorSplunkCollectRequestParam1FromJSON(jsonString: string): SafeParseResult<CollectorSplunkCollectRequestParam1, SDKValidationError>;
|
|
1879
|
+
/** @internal */
|
|
1880
|
+
export declare const CollectorSplunkCollectRequestHeader1$inboundSchema: z.ZodType<CollectorSplunkCollectRequestHeader1, z.ZodTypeDef, unknown>;
|
|
1881
|
+
/** @internal */
|
|
1882
|
+
export type CollectorSplunkCollectRequestHeader1$Outbound = {
|
|
1883
|
+
name: string;
|
|
1884
|
+
value: string;
|
|
1885
|
+
};
|
|
1886
|
+
/** @internal */
|
|
1887
|
+
export declare const CollectorSplunkCollectRequestHeader1$outboundSchema: z.ZodType<CollectorSplunkCollectRequestHeader1$Outbound, z.ZodTypeDef, CollectorSplunkCollectRequestHeader1>;
|
|
1888
|
+
export declare function collectorSplunkCollectRequestHeader1ToJSON(collectorSplunkCollectRequestHeader1: CollectorSplunkCollectRequestHeader1): string;
|
|
1889
|
+
export declare function collectorSplunkCollectRequestHeader1FromJSON(jsonString: string): SafeParseResult<CollectorSplunkCollectRequestHeader1, SDKValidationError>;
|
|
1890
|
+
/** @internal */
|
|
1891
|
+
export declare const CollectorSplunkRetryType1$inboundSchema: z.ZodType<CollectorSplunkRetryType1, z.ZodTypeDef, unknown>;
|
|
1892
|
+
/** @internal */
|
|
1893
|
+
export declare const CollectorSplunkRetryType1$outboundSchema: z.ZodType<string, z.ZodTypeDef, CollectorSplunkRetryType1>;
|
|
1894
|
+
/** @internal */
|
|
1895
|
+
export declare const CollectorSplunkRetryRules1$inboundSchema: z.ZodType<CollectorSplunkRetryRules1, z.ZodTypeDef, unknown>;
|
|
1896
|
+
/** @internal */
|
|
1897
|
+
export type CollectorSplunkRetryRules1$Outbound = {
|
|
1898
|
+
type: string;
|
|
1899
|
+
interval?: any | undefined;
|
|
1900
|
+
limit?: any | undefined;
|
|
1901
|
+
multiplier?: any | undefined;
|
|
1902
|
+
codes?: any | undefined;
|
|
1903
|
+
enableHeader?: any | undefined;
|
|
1904
|
+
retryConnectTimeout?: any | undefined;
|
|
1905
|
+
retryConnectReset?: any | undefined;
|
|
1906
|
+
};
|
|
1907
|
+
/** @internal */
|
|
1908
|
+
export declare const CollectorSplunkRetryRules1$outboundSchema: z.ZodType<CollectorSplunkRetryRules1$Outbound, z.ZodTypeDef, CollectorSplunkRetryRules1>;
|
|
1909
|
+
export declare function collectorSplunkRetryRules1ToJSON(collectorSplunkRetryRules1: CollectorSplunkRetryRules1): string;
|
|
1910
|
+
export declare function collectorSplunkRetryRules1FromJSON(jsonString: string): SafeParseResult<CollectorSplunkRetryRules1, SDKValidationError>;
|
|
1911
|
+
/** @internal */
|
|
1912
|
+
export declare const CollectorSplunkSplunk1$inboundSchema: z.ZodType<CollectorSplunkSplunk1, z.ZodTypeDef, unknown>;
|
|
1913
|
+
/** @internal */
|
|
1914
|
+
export type CollectorSplunkSplunk1$Outbound = {
|
|
1915
|
+
authentication: string;
|
|
1916
|
+
type: string;
|
|
1917
|
+
searchHead: string;
|
|
1918
|
+
search: string;
|
|
1919
|
+
earliest?: string | undefined;
|
|
1920
|
+
latest?: string | undefined;
|
|
1921
|
+
endpoint: string;
|
|
1922
|
+
outputMode: string;
|
|
1923
|
+
collectRequestParams?: Array<CollectorSplunkCollectRequestParam1$Outbound> | undefined;
|
|
1924
|
+
collectRequestHeaders?: Array<CollectorSplunkCollectRequestHeader1$Outbound> | undefined;
|
|
1925
|
+
timeout: number;
|
|
222
1926
|
useRoundRobinDns: boolean;
|
|
223
1927
|
disableTimeFilter: boolean;
|
|
224
1928
|
rejectUnauthorized: boolean;
|
|
225
1929
|
handleEscapedChars: boolean;
|
|
226
|
-
retryRules?:
|
|
1930
|
+
retryRules?: CollectorSplunkRetryRules1$Outbound | undefined;
|
|
1931
|
+
username?: string | undefined;
|
|
1932
|
+
password?: string | undefined;
|
|
1933
|
+
credentialsSecret?: string | undefined;
|
|
1934
|
+
token?: string | undefined;
|
|
1935
|
+
tokenSecret?: string | undefined;
|
|
1936
|
+
loginUrl: string;
|
|
1937
|
+
loginBody: string;
|
|
1938
|
+
tokenRespAttribute: string;
|
|
1939
|
+
authHeaderExpr: string;
|
|
227
1940
|
};
|
|
228
1941
|
/** @internal */
|
|
1942
|
+
export declare const CollectorSplunkSplunk1$outboundSchema: z.ZodType<CollectorSplunkSplunk1$Outbound, z.ZodTypeDef, CollectorSplunkSplunk1>;
|
|
1943
|
+
export declare function collectorSplunkSplunk1ToJSON(collectorSplunkSplunk1: CollectorSplunkSplunk1): string;
|
|
1944
|
+
export declare function collectorSplunkSplunk1FromJSON(jsonString: string): SafeParseResult<CollectorSplunkSplunk1, SDKValidationError>;
|
|
1945
|
+
/** @internal */
|
|
1946
|
+
export declare const CollectorSplunk$inboundSchema: z.ZodType<CollectorSplunk, z.ZodTypeDef, unknown>;
|
|
1947
|
+
/** @internal */
|
|
1948
|
+
export type CollectorSplunk$Outbound = CollectorSplunkSplunk2$Outbound | CollectorSplunkSplunk6$Outbound | CollectorSplunkSplunk3$Outbound | CollectorSplunkSplunk4$Outbound | CollectorSplunkSplunk5$Outbound | CollectorSplunkSplunk7$Outbound | CollectorSplunkSplunk1$Outbound;
|
|
1949
|
+
/** @internal */
|
|
229
1950
|
export declare const CollectorSplunk$outboundSchema: z.ZodType<CollectorSplunk$Outbound, z.ZodTypeDef, CollectorSplunk>;
|
|
230
1951
|
export declare function collectorSplunkToJSON(collectorSplunk: CollectorSplunk): string;
|
|
231
1952
|
export declare function collectorSplunkFromJSON(jsonString: string): SafeParseResult<CollectorSplunk, SDKValidationError>;
|