@pulumi/signalfx 7.1.4 → 7.1.5
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/alertMutingRule.d.ts +27 -33
- package/alertMutingRule.js +2 -18
- package/alertMutingRule.js.map +1 -1
- package/aws/externalIntegration.d.ts +7 -19
- package/aws/externalIntegration.js +0 -12
- package/aws/externalIntegration.js.map +1 -1
- package/aws/integration.d.ts +68 -135
- package/aws/integration.js +0 -37
- package/aws/integration.js.map +1 -1
- package/aws/tokenIntegration.d.ts +5 -16
- package/aws/tokenIntegration.js +0 -11
- package/aws/tokenIntegration.js.map +1 -1
- package/azure/integration.d.ts +39 -95
- package/azure/integration.js +0 -26
- package/azure/integration.js.map +1 -1
- package/dashboard.d.ts +62 -62
- package/dashboardGroup.d.ts +21 -54
- package/dashboardGroup.js +0 -33
- package/dashboardGroup.js.map +1 -1
- package/dataLink.d.ts +12 -46
- package/dataLink.js +0 -28
- package/dataLink.js.map +1 -1
- package/detector.d.ts +55 -114
- package/detector.js +0 -51
- package/detector.js.map +1 -1
- package/eventFeedChart.d.ts +20 -38
- package/eventFeedChart.js +0 -18
- package/eventFeedChart.js.map +1 -1
- package/gcp/integration.d.ts +30 -61
- package/gcp/integration.js +0 -19
- package/gcp/integration.js.map +1 -1
- package/heatmapChart.d.ts +44 -78
- package/heatmapChart.js +0 -34
- package/heatmapChart.js.map +1 -1
- package/jira/integration.d.ts +21 -48
- package/jira/integration.js +0 -21
- package/jira/integration.js.map +1 -1
- package/listChart.d.ts +62 -109
- package/listChart.js +0 -44
- package/listChart.js.map +1 -1
- package/log/timeline.d.ts +23 -42
- package/log/timeline.js +0 -19
- package/log/timeline.js.map +1 -1
- package/log/view.d.ts +29 -50
- package/log/view.js +0 -21
- package/log/view.js.map +1 -1
- package/metricRuleset.d.ts +9 -31
- package/metricRuleset.js +0 -22
- package/metricRuleset.js.map +1 -1
- package/opsgenie/integration.d.ts +12 -25
- package/opsgenie/integration.js +0 -13
- package/opsgenie/integration.js.map +1 -1
- package/orgToken.d.ts +36 -47
- package/orgToken.js +0 -29
- package/orgToken.js.map +1 -1
- package/package.json +2 -2
- package/pagerduty/getIntegration.d.ts +12 -20
- package/pagerduty/getIntegration.js +0 -20
- package/pagerduty/getIntegration.js.map +1 -1
- package/pagerduty/integration.d.ts +9 -20
- package/pagerduty/integration.js +0 -11
- package/pagerduty/integration.js.map +1 -1
- package/servicenow/integration.d.ts +15 -44
- package/servicenow/integration.js +0 -17
- package/servicenow/integration.js.map +1 -1
- package/singleValueChart.d.ts +38 -73
- package/singleValueChart.js +0 -35
- package/singleValueChart.js.map +1 -1
- package/slack/integration.d.ts +9 -21
- package/slack/integration.js +0 -12
- package/slack/integration.js.map +1 -1
- package/slo.d.ts +12 -52
- package/slo.js +0 -37
- package/slo.js.map +1 -1
- package/tableChart.d.ts +14 -30
- package/tableChart.js +0 -16
- package/tableChart.js.map +1 -1
- package/team.d.ts +29 -50
- package/team.js +0 -21
- package/team.js.map +1 -1
- package/textChart.d.ts +11 -26
- package/textChart.js +0 -15
- package/textChart.js.map +1 -1
- package/timeChart.d.ts +92 -146
- package/timeChart.js +0 -66
- package/timeChart.js.map +1 -1
- package/types/input.d.ts +211 -182
- package/types/output.d.ts +211 -182
- package/victorops/integration.d.ts +9 -21
- package/victorops/integration.js +0 -12
- package/victorops/integration.js.map +1 -1
- package/webhookIntegration.d.ts +36 -28
- package/webhookIntegration.js +4 -16
- package/webhookIntegration.js.map +1 -1
package/types/output.d.ts
CHANGED
|
@@ -1,146 +1,159 @@
|
|
|
1
1
|
import * as outputs from "../types/output";
|
|
2
2
|
export interface AlertMutingRuleFilter {
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Determines if this is a "not" filter. Defaults to `false`.
|
|
5
5
|
*/
|
|
6
6
|
negated?: boolean;
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* The property to filter.
|
|
9
9
|
*/
|
|
10
10
|
property: string;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* The property value to filter.
|
|
13
13
|
*/
|
|
14
14
|
propertyValue: string;
|
|
15
15
|
}
|
|
16
|
+
export interface AlertMutingRuleRecurrence {
|
|
17
|
+
/**
|
|
18
|
+
* The unit of the period. Can be days (d) or weeks (w).
|
|
19
|
+
*/
|
|
20
|
+
unit: string;
|
|
21
|
+
/**
|
|
22
|
+
* The amount of time, expressed as an integer, applicable to the unit specified.
|
|
23
|
+
*/
|
|
24
|
+
value: number;
|
|
25
|
+
}
|
|
16
26
|
export interface DashboardChart {
|
|
17
27
|
/**
|
|
18
|
-
* ID of the chart to display
|
|
28
|
+
* ID of the chart to display.
|
|
19
29
|
*/
|
|
20
30
|
chartId: string;
|
|
21
31
|
/**
|
|
22
|
-
* The column to show the chart in (zero-based); this value always represents the leftmost column of the chart
|
|
32
|
+
* The column to show the chart in (zero-based); this value always represents the leftmost column of the chart (between `0` and `11`).
|
|
23
33
|
*/
|
|
24
34
|
column?: number;
|
|
25
35
|
/**
|
|
26
|
-
* How many rows the chart should take up
|
|
36
|
+
* How many rows the chart should take up (greater than or equal to `1`). `1` by default.
|
|
27
37
|
*/
|
|
28
38
|
height?: number;
|
|
29
39
|
/**
|
|
30
|
-
* The row to show the chart in (zero-based); if height > 1
|
|
40
|
+
* The row to show the chart in (zero-based); if `height > 1`, this value represents the topmost row of the chart (greater than or equal to `0`).
|
|
31
41
|
*/
|
|
32
42
|
row?: number;
|
|
33
43
|
/**
|
|
34
|
-
* How many columns (out of a total of 12
|
|
44
|
+
* How many columns (out of a total of 12) the chart should take up (between `1` and `12`). `12` by default.
|
|
35
45
|
*/
|
|
36
46
|
width?: number;
|
|
37
47
|
}
|
|
38
48
|
export interface DashboardColumn {
|
|
39
49
|
/**
|
|
40
|
-
*
|
|
50
|
+
* List of IDs of the charts to display.
|
|
41
51
|
*/
|
|
42
52
|
chartIds: string[];
|
|
43
53
|
/**
|
|
44
|
-
*
|
|
54
|
+
* Column number for the layout.
|
|
45
55
|
*/
|
|
46
56
|
column?: number;
|
|
47
57
|
/**
|
|
48
|
-
* How many rows
|
|
58
|
+
* How many rows every chart should take up (greater than or equal to 1). 1 by default.
|
|
49
59
|
*/
|
|
50
60
|
height?: number;
|
|
51
61
|
/**
|
|
52
|
-
*
|
|
62
|
+
* How many columns (out of a total of `12`) every chart should take up (between `1` and `12`). `12` by default.
|
|
53
63
|
*/
|
|
54
64
|
width?: number;
|
|
55
65
|
}
|
|
56
66
|
export interface DashboardEventOverlay {
|
|
57
67
|
/**
|
|
58
|
-
* Color to use
|
|
68
|
+
* Color to use : gray, blue, azure, navy, brown, orange, yellow, iris, magenta, pink, purple, violet, lilac, emerald, green, aquamarine.
|
|
59
69
|
*/
|
|
60
70
|
color?: string;
|
|
61
71
|
/**
|
|
62
|
-
*
|
|
72
|
+
* Text shown in the dropdown when selecting this overlay from the menu.
|
|
63
73
|
*/
|
|
64
74
|
label?: string;
|
|
65
75
|
/**
|
|
66
|
-
*
|
|
76
|
+
* Show a vertical line for the event. `false` by default.
|
|
67
77
|
*/
|
|
68
78
|
line?: boolean;
|
|
69
79
|
/**
|
|
70
|
-
* Search term used to
|
|
80
|
+
* Search term used to choose the events shown in the overlay.
|
|
71
81
|
*/
|
|
72
82
|
signal: string;
|
|
83
|
+
/**
|
|
84
|
+
* Each element specifies a filter to use against the signal specified in the `signal`.
|
|
85
|
+
*/
|
|
73
86
|
sources?: outputs.DashboardEventOverlaySource[];
|
|
74
87
|
/**
|
|
75
|
-
*
|
|
88
|
+
* Can be set to `eventTimeSeries` (the default) to refer to externally reported events, or `detectorEvents` to refer to events from detector triggers.
|
|
76
89
|
*/
|
|
77
90
|
type?: string;
|
|
78
91
|
}
|
|
79
92
|
export interface DashboardEventOverlaySource {
|
|
80
93
|
/**
|
|
81
|
-
*
|
|
94
|
+
* If true, only data that does not match the specified value of the specified property appear in the event overlay. Defaults to `false`.
|
|
82
95
|
*/
|
|
83
96
|
negated?: boolean;
|
|
84
97
|
/**
|
|
85
|
-
*
|
|
98
|
+
* The name of a dimension to filter against.
|
|
86
99
|
*/
|
|
87
100
|
property: string;
|
|
88
101
|
/**
|
|
89
|
-
*
|
|
102
|
+
* A list of values to be used with the `property`, they will be combined via `OR`.
|
|
90
103
|
*/
|
|
91
104
|
values: string[];
|
|
92
105
|
}
|
|
93
106
|
export interface DashboardFilter {
|
|
94
107
|
/**
|
|
95
|
-
* If true, this filter will also match data that
|
|
108
|
+
* If true, this filter will also match data that doesn't have this property at all.
|
|
96
109
|
*/
|
|
97
110
|
applyIfExist?: boolean;
|
|
98
111
|
/**
|
|
99
|
-
*
|
|
112
|
+
* Whether this filter should be a not filter. `false` by default.
|
|
100
113
|
*/
|
|
101
114
|
negated?: boolean;
|
|
102
115
|
/**
|
|
103
|
-
* A metric time series dimension or property name
|
|
116
|
+
* A metric time series dimension or property name.
|
|
104
117
|
*/
|
|
105
118
|
property: string;
|
|
106
119
|
/**
|
|
107
|
-
* List of strings (which will be treated as an OR filter on the property)
|
|
120
|
+
* List of of strings (which will be treated as an OR filter on the property).
|
|
108
121
|
*/
|
|
109
122
|
values: string[];
|
|
110
123
|
}
|
|
111
124
|
export interface DashboardGrid {
|
|
112
125
|
/**
|
|
113
|
-
*
|
|
126
|
+
* List of IDs of the charts to display.
|
|
114
127
|
*/
|
|
115
128
|
chartIds: string[];
|
|
116
129
|
/**
|
|
117
|
-
* How many rows
|
|
130
|
+
* How many rows every chart should take up (greater than or equal to `1`). `1` by default.
|
|
118
131
|
*/
|
|
119
132
|
height?: number;
|
|
120
133
|
/**
|
|
121
|
-
*
|
|
134
|
+
* How many columns (out of a total of 12) every chart should take up (between `1` and `12`). `12` by default.
|
|
122
135
|
*/
|
|
123
136
|
width?: number;
|
|
124
137
|
}
|
|
125
138
|
export interface DashboardGroupDashboard {
|
|
126
139
|
/**
|
|
127
|
-
*
|
|
140
|
+
* The ID of the association between the dashboard group and the dashboard
|
|
128
141
|
*/
|
|
129
142
|
configId: string;
|
|
130
143
|
/**
|
|
131
|
-
* The
|
|
144
|
+
* The dashboard id to mirror
|
|
132
145
|
*/
|
|
133
146
|
dashboardId: string;
|
|
134
147
|
/**
|
|
135
|
-
*
|
|
148
|
+
* The description that will override the original dashboards's description.
|
|
136
149
|
*/
|
|
137
150
|
descriptionOverride?: string;
|
|
138
151
|
/**
|
|
139
|
-
*
|
|
152
|
+
* The description that will override the original dashboards's description.
|
|
140
153
|
*/
|
|
141
154
|
filterOverrides?: outputs.DashboardGroupDashboardFilterOverride[];
|
|
142
155
|
/**
|
|
143
|
-
*
|
|
156
|
+
* The name that will override the original dashboards's name.
|
|
144
157
|
*/
|
|
145
158
|
nameOverride?: string;
|
|
146
159
|
/**
|
|
@@ -150,15 +163,15 @@ export interface DashboardGroupDashboard {
|
|
|
150
163
|
}
|
|
151
164
|
export interface DashboardGroupDashboardFilterOverride {
|
|
152
165
|
/**
|
|
153
|
-
*
|
|
166
|
+
* If true, only data that does not match the specified value of the specified property appear in the event overlay. Defaults to `false`.
|
|
154
167
|
*/
|
|
155
168
|
negated?: boolean;
|
|
156
169
|
/**
|
|
157
|
-
* A metric time series dimension or property name
|
|
170
|
+
* A metric time series dimension or property name.
|
|
158
171
|
*/
|
|
159
172
|
property: string;
|
|
160
173
|
/**
|
|
161
|
-
* List of strings (which will be treated as an OR filter on the property)
|
|
174
|
+
* (Optional) List of of strings (which will be treated as an OR filter on the property).
|
|
162
175
|
*/
|
|
163
176
|
values: string[];
|
|
164
177
|
}
|
|
@@ -199,108 +212,111 @@ export interface DashboardGroupImportQualifierFilter {
|
|
|
199
212
|
}
|
|
200
213
|
export interface DashboardGroupPermission {
|
|
201
214
|
/**
|
|
202
|
-
*
|
|
215
|
+
* Action the user, team, or organization can take with the dashboard group. List of values (value can be "READ" or "WRITE").
|
|
203
216
|
*/
|
|
204
217
|
actions?: string[];
|
|
205
218
|
/**
|
|
206
|
-
* ID of the
|
|
219
|
+
* ID of the user, team, or organization for which you're granting permissions.
|
|
207
220
|
*/
|
|
208
221
|
principalId: string;
|
|
209
222
|
/**
|
|
210
|
-
*
|
|
223
|
+
* Clarify whether this permission configuration is for a user, a team, or an organization. Value can be one of "USER", "TEAM", or "ORG".
|
|
211
224
|
*/
|
|
212
225
|
principalType: string;
|
|
213
226
|
}
|
|
214
227
|
export interface DashboardPermissions {
|
|
215
228
|
/**
|
|
216
|
-
*
|
|
229
|
+
* List of read and write permission configurations to specify which user, team, and organization can view and/or edit your dashboard. Use the `permissions.parent` instead if you want to inherit permissions.
|
|
217
230
|
*/
|
|
218
231
|
acls?: outputs.DashboardPermissionsAcl[];
|
|
219
232
|
/**
|
|
220
|
-
*
|
|
233
|
+
* ID of the dashboard group you want your dashboard to inherit permissions from. Use the `permissions.acl` instead if you want to specify various read and write permission configurations.
|
|
221
234
|
*/
|
|
222
235
|
parent?: string;
|
|
223
236
|
}
|
|
224
237
|
export interface DashboardPermissionsAcl {
|
|
225
238
|
/**
|
|
226
|
-
*
|
|
239
|
+
* Action the user, team, or organization can take with the dashboard. List of values (value can be "READ" or "WRITE").
|
|
227
240
|
*/
|
|
228
241
|
actions?: string[];
|
|
229
242
|
/**
|
|
230
|
-
* ID of the
|
|
243
|
+
* ID of the user, team, or organization for which you're granting permissions.
|
|
231
244
|
*/
|
|
232
245
|
principalId: string;
|
|
233
246
|
/**
|
|
234
|
-
*
|
|
247
|
+
* Clarify whether this permission configuration is for a user, a team, or an organization. Value can be one of "USER", "TEAM", or "ORG".
|
|
235
248
|
*/
|
|
236
249
|
principalType: string;
|
|
237
250
|
}
|
|
238
251
|
export interface DashboardSelectedEventOverlay {
|
|
239
252
|
/**
|
|
240
|
-
* Search term used to
|
|
253
|
+
* Search term used to choose the events shown in the overlay.
|
|
241
254
|
*/
|
|
242
255
|
signal: string;
|
|
256
|
+
/**
|
|
257
|
+
* Each element specifies a filter to use against the signal specified in the `signal`.
|
|
258
|
+
*/
|
|
243
259
|
sources?: outputs.DashboardSelectedEventOverlaySource[];
|
|
244
260
|
/**
|
|
245
|
-
*
|
|
261
|
+
* Can be set to `eventTimeSeries` (the default) to refer to externally reported events, or `detectorEvents` to refer to events from detector triggers.
|
|
246
262
|
*/
|
|
247
263
|
type?: string;
|
|
248
264
|
}
|
|
249
265
|
export interface DashboardSelectedEventOverlaySource {
|
|
250
266
|
/**
|
|
251
|
-
*
|
|
267
|
+
* If true, only data that does not match the specified value of the specified property appear in the event overlay. Defaults to `false`.
|
|
252
268
|
*/
|
|
253
269
|
negated?: boolean;
|
|
254
270
|
/**
|
|
255
|
-
*
|
|
271
|
+
* The name of a dimension to filter against.
|
|
256
272
|
*/
|
|
257
273
|
property: string;
|
|
258
274
|
/**
|
|
259
|
-
*
|
|
275
|
+
* A list of values to be used with the `property`, they will be combined via `OR`.
|
|
260
276
|
*/
|
|
261
277
|
values: string[];
|
|
262
278
|
}
|
|
263
279
|
export interface DashboardVariable {
|
|
264
280
|
/**
|
|
265
|
-
* An alias for the dashboard variable. This text will appear as the label for the dropdown field on the dashboard
|
|
281
|
+
* An alias for the dashboard variable. This text will appear as the label for the dropdown field on the dashboard.
|
|
266
282
|
*/
|
|
267
283
|
alias: string;
|
|
268
284
|
/**
|
|
269
|
-
* If true, this variable will also match data that
|
|
285
|
+
* If true, this variable will also match data that doesn't have this property at all.
|
|
270
286
|
*/
|
|
271
287
|
applyIfExist?: boolean;
|
|
272
288
|
/**
|
|
273
|
-
* Variable description
|
|
289
|
+
* Variable description.
|
|
274
290
|
*/
|
|
275
291
|
description?: string;
|
|
276
292
|
/**
|
|
277
|
-
* A metric time series dimension or property name
|
|
293
|
+
* A metric time series dimension or property name.
|
|
278
294
|
*/
|
|
279
295
|
property: string;
|
|
280
296
|
/**
|
|
281
|
-
* If true
|
|
297
|
+
* If `true`, this variable will only apply to charts that have a filter for the property.
|
|
282
298
|
*/
|
|
283
299
|
replaceOnly?: boolean;
|
|
284
300
|
/**
|
|
285
|
-
* If true
|
|
301
|
+
* If `true`, this variable may only be set to the values listed in `valuesSuggested` and only these values will appear in autosuggestion menus. `false` by default.
|
|
286
302
|
*/
|
|
287
303
|
restrictedSuggestions?: boolean;
|
|
288
304
|
/**
|
|
289
|
-
* Determines whether a value is required for this variable (and therefore whether it will be possible to view this dashboard without this filter applied). false by default
|
|
305
|
+
* Determines whether a value is required for this variable (and therefore whether it will be possible to view this dashboard without this filter applied). `false` by default.
|
|
290
306
|
*/
|
|
291
307
|
valueRequired?: boolean;
|
|
292
308
|
/**
|
|
293
|
-
* List of strings (which will be treated as an OR filter on the property)
|
|
309
|
+
* List of of strings (which will be treated as an OR filter on the property).
|
|
294
310
|
*/
|
|
295
311
|
values?: string[];
|
|
296
312
|
/**
|
|
297
|
-
* A list of strings of suggested values for this variable; these suggestions will receive priority when values are autosuggested for this variable
|
|
313
|
+
* A list of strings of suggested values for this variable; these suggestions will receive priority when values are autosuggested for this variable.
|
|
298
314
|
*/
|
|
299
315
|
valuesSuggesteds?: string[];
|
|
300
316
|
}
|
|
301
317
|
export interface DataLinkTargetExternalUrl {
|
|
302
318
|
/**
|
|
303
|
-
* The minimum time window for a search sent to an external site.
|
|
319
|
+
* The [minimum time window](https://dev.splunk.com/observability/docs/administration/datalinks/) for a search sent to an external site. Defaults to `6000`
|
|
304
320
|
*/
|
|
305
321
|
minimumTimeWindow?: string;
|
|
306
322
|
/**
|
|
@@ -308,17 +324,17 @@ export interface DataLinkTargetExternalUrl {
|
|
|
308
324
|
*/
|
|
309
325
|
name: string;
|
|
310
326
|
/**
|
|
311
|
-
* Describes the relationship between Splunk Observability Cloud metadata keys and external system properties when the key names are different
|
|
327
|
+
* Describes the relationship between Splunk Observability Cloud metadata keys and external system properties when the key names are different.
|
|
312
328
|
*/
|
|
313
329
|
propertyKeyMapping?: {
|
|
314
330
|
[key: string]: string;
|
|
315
331
|
};
|
|
316
332
|
/**
|
|
317
|
-
* Designates the format of minimumTimeWindow in the same data link target object.
|
|
333
|
+
* [Designates the format](https://dev.splunk.com/observability/docs/administration/datalinks/) of `minimumTimeWindow` in the same data link target object. Must be one of `"ISO8601"`, `"EpochSeconds"` or `"Epoch"` (which is milliseconds). Defaults to `"ISO8601"`.
|
|
318
334
|
*/
|
|
319
335
|
timeFormat?: string;
|
|
320
336
|
/**
|
|
321
|
-
* URL string for a Splunk instance or external system data link target.
|
|
337
|
+
* URL string for a Splunk instance or external system data link target. [See the supported template variables](https://dev.splunk.com/observability/docs/administration/datalinks/).
|
|
322
338
|
*/
|
|
323
339
|
url: string;
|
|
324
340
|
}
|
|
@@ -332,7 +348,7 @@ export interface DataLinkTargetSignalfxDashboard {
|
|
|
332
348
|
*/
|
|
333
349
|
dashboardId: string;
|
|
334
350
|
/**
|
|
335
|
-
* Flag that designates a target as the default for a data link object.
|
|
351
|
+
* Flag that designates a target as the default for a data link object. `true` by default
|
|
336
352
|
*/
|
|
337
353
|
isDefault?: boolean;
|
|
338
354
|
/**
|
|
@@ -346,7 +362,7 @@ export interface DataLinkTargetSplunk {
|
|
|
346
362
|
*/
|
|
347
363
|
name: string;
|
|
348
364
|
/**
|
|
349
|
-
* Describes the relationship between Splunk Observability Cloud metadata keys and external system properties when the key names are different
|
|
365
|
+
* Describes the relationship between Splunk Observability Cloud metadata keys and external system properties when the key names are different.
|
|
350
366
|
*/
|
|
351
367
|
propertyKeyMapping?: {
|
|
352
368
|
[key: string]: string;
|
|
@@ -354,45 +370,45 @@ export interface DataLinkTargetSplunk {
|
|
|
354
370
|
}
|
|
355
371
|
export interface DetectorRule {
|
|
356
372
|
/**
|
|
357
|
-
* Description of the
|
|
373
|
+
* Description for the rule. Displays as the alert condition in the Alert Rules tab of the detector editor in the web UI.
|
|
358
374
|
*/
|
|
359
375
|
description?: string;
|
|
360
376
|
/**
|
|
361
|
-
* A detect label which matches a detect label within
|
|
377
|
+
* A detect label which matches a detect label within `programText`.
|
|
362
378
|
*/
|
|
363
379
|
detectLabel: string;
|
|
364
380
|
/**
|
|
365
|
-
*
|
|
381
|
+
* When true, notifications and events will not be generated for the detect label. `false` by default.
|
|
366
382
|
*/
|
|
367
383
|
disabled?: boolean;
|
|
368
384
|
/**
|
|
369
|
-
* List of strings specifying where notifications will be sent when an incident occurs. See https://
|
|
385
|
+
* List of strings specifying where notifications will be sent when an incident occurs. See [Create A Single Detector](https://dev.splunk.com/observability/reference/api/detectors/latest) for more info.
|
|
370
386
|
*/
|
|
371
387
|
notifications?: string[];
|
|
372
388
|
/**
|
|
373
|
-
* Custom notification message body when an alert is triggered. See https://
|
|
389
|
+
* Custom notification message body when an alert is triggered. See [Set Up Detectors to Trigger Alerts](https://docs.splunk.com/observability/en/alerts-detectors-notifications/create-detectors-for-alerts.html) for more info.
|
|
374
390
|
*/
|
|
375
391
|
parameterizedBody?: string;
|
|
376
392
|
/**
|
|
377
|
-
* Custom notification message subject when an alert is triggered. See https://
|
|
393
|
+
* Custom notification message subject when an alert is triggered. See [Set Up Detectors to Trigger Alerts](https://docs.splunk.com/observability/en/alerts-detectors-notifications/create-detectors-for-alerts.html) for more info.
|
|
378
394
|
*/
|
|
379
395
|
parameterizedSubject?: string;
|
|
380
396
|
/**
|
|
381
|
-
* URL of page to consult when an alert is triggered
|
|
397
|
+
* URL of page to consult when an alert is triggered. This can be used with custom notification messages.
|
|
382
398
|
*/
|
|
383
399
|
runbookUrl?: string;
|
|
384
400
|
/**
|
|
385
|
-
* The severity of the rule, must be one of: Critical
|
|
401
|
+
* The severity of the rule, must be one of: `"Critical"`, `"Major"`, `"Minor"`, `"Warning"`, `"Info"`.
|
|
386
402
|
*/
|
|
387
403
|
severity: string;
|
|
388
404
|
/**
|
|
389
|
-
* Plain text suggested first course of action, such as a command to execute.
|
|
405
|
+
* Plain text suggested first course of action, such as a command line to execute. This can be used with custom notification messages.
|
|
390
406
|
*/
|
|
391
407
|
tip?: string;
|
|
392
408
|
}
|
|
393
409
|
export interface DetectorVizOption {
|
|
394
410
|
/**
|
|
395
|
-
* Color to use
|
|
411
|
+
* Color to use : gray, blue, azure, navy, brown, orange, yellow, iris, magenta, pink, purple, violet, lilac, emerald, green, aquamarine.
|
|
396
412
|
*/
|
|
397
413
|
color?: string;
|
|
398
414
|
/**
|
|
@@ -400,11 +416,15 @@ export interface DetectorVizOption {
|
|
|
400
416
|
*/
|
|
401
417
|
displayName?: string;
|
|
402
418
|
/**
|
|
403
|
-
*
|
|
419
|
+
* Label used in the publish statement that displays the plot (metric time series data) you want to customize.
|
|
404
420
|
*/
|
|
405
421
|
label: string;
|
|
406
422
|
/**
|
|
407
|
-
*
|
|
423
|
+
* , `valueSuffix` - (Optional) Arbitrary prefix/suffix to display with the value of this plot.
|
|
424
|
+
*
|
|
425
|
+
* **Notes**
|
|
426
|
+
*
|
|
427
|
+
* Use both `maxDelay` in your detector configuration and an `extrapolation` policy in your program text to reduce false positives and false negatives.
|
|
408
428
|
*/
|
|
409
429
|
valuePrefix?: string;
|
|
410
430
|
/**
|
|
@@ -412,7 +432,7 @@ export interface DetectorVizOption {
|
|
|
412
432
|
*/
|
|
413
433
|
valueSuffix?: string;
|
|
414
434
|
/**
|
|
415
|
-
* A unit to attach to this plot. Units support automatic scaling (eg thousands of bytes will be displayed as kilobytes)
|
|
435
|
+
* A unit to attach to this plot. Units support automatic scaling (eg thousands of bytes will be displayed as kilobytes). Values values are `Bit, Kilobit, Megabit, Gigabit, Terabit, Petabit, Exabit, Zettabit, Yottabit, Byte, Kibibyte, Mebibyte, Gibibyte (note: this was previously typoed as Gigibyte), Tebibyte, Pebibyte, Exbibyte, Zebibyte, Yobibyte, Nanosecond, Microsecond, Millisecond, Second, Minute, Hour, Day, Week`.
|
|
416
436
|
*/
|
|
417
437
|
valueUnit?: string;
|
|
418
438
|
}
|
|
@@ -422,33 +442,33 @@ export interface HeatmapChartColorRange {
|
|
|
422
442
|
*/
|
|
423
443
|
color: string;
|
|
424
444
|
/**
|
|
425
|
-
* The maximum value within the coloring range
|
|
445
|
+
* The maximum value within the coloring range.
|
|
426
446
|
*/
|
|
427
447
|
maxValue?: number;
|
|
428
448
|
/**
|
|
429
|
-
* The minimum value within the coloring range
|
|
449
|
+
* The minimum value within the coloring range.
|
|
430
450
|
*/
|
|
431
451
|
minValue?: number;
|
|
432
452
|
}
|
|
433
453
|
export interface HeatmapChartColorScale {
|
|
434
454
|
/**
|
|
435
|
-
* The color to use. Must be one of gray, blue, light_blue, navy, dark_orange, orange, dark_yellow, magenta, cerise, pink, violet, purple, gray_blue, dark_green, green, aquamarine, red, yellow, vivid_yellow, light_green, or lime_green.
|
|
455
|
+
* The color range to use. Hex values are not supported here. Must be one of gray, blue, light_blue, navy, dark_orange, orange, dark_yellow, magenta, cerise, pink, violet, purple, gray_blue, dark_green, green, aquamarine, red, yellow, vivid_yellow, light_green, or lime_green.
|
|
436
456
|
*/
|
|
437
457
|
color: string;
|
|
438
458
|
/**
|
|
439
|
-
* Indicates the lower threshold non-inclusive value for this range
|
|
459
|
+
* Indicates the lower threshold non-inclusive value for this range.
|
|
440
460
|
*/
|
|
441
461
|
gt?: number;
|
|
442
462
|
/**
|
|
443
|
-
* Indicates the lower threshold inclusive value for this range
|
|
463
|
+
* Indicates the lower threshold inclusive value for this range.
|
|
444
464
|
*/
|
|
445
465
|
gte?: number;
|
|
446
466
|
/**
|
|
447
|
-
* Indicates the upper threshold non-
|
|
467
|
+
* Indicates the upper threshold non-inclusive value for this range.
|
|
448
468
|
*/
|
|
449
469
|
lt?: number;
|
|
450
470
|
/**
|
|
451
|
-
* Indicates the upper threshold inclusive value for this range
|
|
471
|
+
* Indicates the upper threshold inclusive value for this range.
|
|
452
472
|
*/
|
|
453
473
|
lte?: number;
|
|
454
474
|
}
|
|
@@ -458,35 +478,35 @@ export interface ListChartColorScale {
|
|
|
458
478
|
*/
|
|
459
479
|
color: string;
|
|
460
480
|
/**
|
|
461
|
-
* Indicates the lower threshold non-inclusive value for this range
|
|
481
|
+
* Indicates the lower threshold non-inclusive value for this range.
|
|
462
482
|
*/
|
|
463
483
|
gt?: number;
|
|
464
484
|
/**
|
|
465
|
-
* Indicates the lower threshold inclusive value for this range
|
|
485
|
+
* Indicates the lower threshold inclusive value for this range.
|
|
466
486
|
*/
|
|
467
487
|
gte?: number;
|
|
468
488
|
/**
|
|
469
|
-
* Indicates the upper threshold non-inculsive value for this range
|
|
489
|
+
* Indicates the upper threshold non-inculsive value for this range.
|
|
470
490
|
*/
|
|
471
491
|
lt?: number;
|
|
472
492
|
/**
|
|
473
|
-
* Indicates the upper threshold inclusive value for this range
|
|
493
|
+
* Indicates the upper threshold inclusive value for this range.
|
|
474
494
|
*/
|
|
475
495
|
lte?: number;
|
|
476
496
|
}
|
|
477
497
|
export interface ListChartLegendOptionsField {
|
|
478
498
|
/**
|
|
479
|
-
*
|
|
499
|
+
* True or False depending on if you want the property to be shown or hidden.
|
|
480
500
|
*/
|
|
481
501
|
enabled?: boolean;
|
|
482
502
|
/**
|
|
483
|
-
* The name of
|
|
503
|
+
* The name of the property to display. Note the special values of `sfMetric` (corresponding with the API's `Plot Name`) which shows the label of the time series `publish()` and `sf_originatingMetric` (corresponding with the API's `metric (sf metric)`) that shows the [name of the metric](https://dev.splunk.com/observability/docs/signalflow/functions/data_function/) for the time series being displayed.
|
|
484
504
|
*/
|
|
485
505
|
property: string;
|
|
486
506
|
}
|
|
487
507
|
export interface ListChartVizOption {
|
|
488
508
|
/**
|
|
489
|
-
*
|
|
509
|
+
* The color to use. Must be one of gray, blue, light_blue, navy, dark_orange, orange, dark_yellow, magenta, cerise, pink, violet, purple, gray_blue, dark_green, green, aquamarine, red, yellow, vivid_yellow, light_green, or lime_green.
|
|
490
510
|
*/
|
|
491
511
|
color?: string;
|
|
492
512
|
/**
|
|
@@ -494,11 +514,11 @@ export interface ListChartVizOption {
|
|
|
494
514
|
*/
|
|
495
515
|
displayName?: string;
|
|
496
516
|
/**
|
|
497
|
-
*
|
|
517
|
+
* Label used in the publish statement that displays the plot (metric time series data) you want to customize.
|
|
498
518
|
*/
|
|
499
519
|
label: string;
|
|
500
520
|
/**
|
|
501
|
-
*
|
|
521
|
+
* , `valueSuffix` - (Optional) Arbitrary prefix/suffix to display with the value of this plot.
|
|
502
522
|
*/
|
|
503
523
|
valuePrefix?: string;
|
|
504
524
|
/**
|
|
@@ -506,73 +526,73 @@ export interface ListChartVizOption {
|
|
|
506
526
|
*/
|
|
507
527
|
valueSuffix?: string;
|
|
508
528
|
/**
|
|
509
|
-
* A unit to attach to this plot. Units support automatic scaling (eg thousands of bytes will be displayed as kilobytes)
|
|
529
|
+
* A unit to attach to this plot. Units support automatic scaling (eg thousands of bytes will be displayed as kilobytes). Values values are `Bit, Kilobit, Megabit, Gigabit, Terabit, Petabit, Exabit, Zettabit, Yottabit, Byte, Kibibyte, Mebibyte, Gibibyte (note: this was previously typoed as Gigibyte), Tebibyte, Pebibyte, Exbibyte, Zebibyte, Yobibyte, Nanosecond, Microsecond, Millisecond, Second, Minute, Hour, Day, Week`.
|
|
510
530
|
*/
|
|
511
531
|
valueUnit?: string;
|
|
512
532
|
}
|
|
513
533
|
export interface MetricRulesetAggregationRule {
|
|
514
534
|
/**
|
|
515
|
-
*
|
|
535
|
+
* Aggregator object
|
|
516
536
|
*/
|
|
517
537
|
aggregators: outputs.MetricRulesetAggregationRuleAggregator[];
|
|
518
538
|
/**
|
|
519
|
-
*
|
|
539
|
+
* When false, this rule will not generate aggregated MTSs
|
|
520
540
|
*/
|
|
521
541
|
enabled: boolean;
|
|
522
542
|
/**
|
|
523
|
-
*
|
|
543
|
+
* Matcher object
|
|
524
544
|
*/
|
|
525
545
|
matchers: outputs.MetricRulesetAggregationRuleMatcher[];
|
|
526
546
|
/**
|
|
527
|
-
*
|
|
547
|
+
* name of the aggregation rule
|
|
528
548
|
*/
|
|
529
549
|
name?: string;
|
|
530
550
|
}
|
|
531
551
|
export interface MetricRulesetAggregationRuleAggregator {
|
|
532
552
|
/**
|
|
533
|
-
* List of dimensions to
|
|
553
|
+
* List of dimensions to either be kept or dropped in the new aggregated MTSs
|
|
534
554
|
*/
|
|
535
555
|
dimensions: string[];
|
|
536
556
|
/**
|
|
537
|
-
*
|
|
557
|
+
* when true, the specified dimensions will be dropped from the aggregated MTSs
|
|
538
558
|
*/
|
|
539
559
|
dropDimensions: boolean;
|
|
540
560
|
/**
|
|
541
|
-
*
|
|
561
|
+
* name of the new aggregated metric
|
|
542
562
|
*/
|
|
543
563
|
outputName: string;
|
|
544
564
|
/**
|
|
545
|
-
*
|
|
565
|
+
* Type of aggregator. Must always be "rollup"
|
|
546
566
|
*/
|
|
547
567
|
type: string;
|
|
548
568
|
}
|
|
549
569
|
export interface MetricRulesetAggregationRuleMatcher {
|
|
550
570
|
/**
|
|
551
|
-
* List of filters to
|
|
571
|
+
* List of filters to filter the set of input MTSs
|
|
552
572
|
*/
|
|
553
573
|
filters?: outputs.MetricRulesetAggregationRuleMatcherFilter[];
|
|
554
574
|
/**
|
|
555
|
-
*
|
|
575
|
+
* Type of matcher. Must always be "dimension"
|
|
556
576
|
*/
|
|
557
577
|
type: string;
|
|
558
578
|
}
|
|
559
579
|
export interface MetricRulesetAggregationRuleMatcherFilter {
|
|
560
580
|
/**
|
|
561
|
-
*
|
|
581
|
+
* When true, this filter will match all values not matching the property_values
|
|
562
582
|
*/
|
|
563
583
|
not: boolean;
|
|
564
584
|
/**
|
|
565
|
-
* Name of dimension
|
|
585
|
+
* Name of the dimension
|
|
566
586
|
*/
|
|
567
587
|
property: string;
|
|
568
588
|
/**
|
|
569
|
-
*
|
|
589
|
+
* Value of the dimension
|
|
570
590
|
*/
|
|
571
591
|
propertyValues: string[];
|
|
572
592
|
}
|
|
573
593
|
export interface MetricRulesetRoutingRule {
|
|
574
594
|
/**
|
|
575
|
-
*
|
|
595
|
+
* end destination of the input metric. Must be `RealTime` or `Drop`
|
|
576
596
|
*/
|
|
577
597
|
destination: string;
|
|
578
598
|
}
|
|
@@ -588,11 +608,11 @@ export interface OrgTokenDpmLimits {
|
|
|
588
608
|
}
|
|
589
609
|
export interface OrgTokenHostOrUsageLimits {
|
|
590
610
|
/**
|
|
591
|
-
* Max number of containers that can use this token
|
|
611
|
+
* Max number of Docker containers that can use this token
|
|
592
612
|
*/
|
|
593
613
|
containerLimit?: number;
|
|
594
614
|
/**
|
|
595
|
-
* Notification threshold for containers
|
|
615
|
+
* Notification threshold for Docker containers
|
|
596
616
|
*/
|
|
597
617
|
containerNotificationThreshold?: number;
|
|
598
618
|
/**
|
|
@@ -604,11 +624,11 @@ export interface OrgTokenHostOrUsageLimits {
|
|
|
604
624
|
*/
|
|
605
625
|
customMetricsNotificationThreshold?: number;
|
|
606
626
|
/**
|
|
607
|
-
* Max number of
|
|
627
|
+
* Max number of hi-res metrics that can be sent with this toke
|
|
608
628
|
*/
|
|
609
629
|
highResMetricsLimit?: number;
|
|
610
630
|
/**
|
|
611
|
-
* Notification threshold for
|
|
631
|
+
* Notification threshold for hi-res metrics
|
|
612
632
|
*/
|
|
613
633
|
highResMetricsNotificationThreshold?: number;
|
|
614
634
|
/**
|
|
@@ -626,25 +646,25 @@ export interface SingleValueChartColorScale {
|
|
|
626
646
|
*/
|
|
627
647
|
color: string;
|
|
628
648
|
/**
|
|
629
|
-
* Indicates the lower threshold non-inclusive value for this range
|
|
649
|
+
* Indicates the lower threshold non-inclusive value for this range.
|
|
630
650
|
*/
|
|
631
651
|
gt?: number;
|
|
632
652
|
/**
|
|
633
|
-
* Indicates the lower threshold inclusive value for this range
|
|
653
|
+
* Indicates the lower threshold inclusive value for this range.
|
|
634
654
|
*/
|
|
635
655
|
gte?: number;
|
|
636
656
|
/**
|
|
637
|
-
* Indicates the upper threshold non-inculsive value for this range
|
|
657
|
+
* Indicates the upper threshold non-inculsive value for this range.
|
|
638
658
|
*/
|
|
639
659
|
lt?: number;
|
|
640
660
|
/**
|
|
641
|
-
* Indicates the upper threshold inclusive value for this range
|
|
661
|
+
* Indicates the upper threshold inclusive value for this range.
|
|
642
662
|
*/
|
|
643
663
|
lte?: number;
|
|
644
664
|
}
|
|
645
665
|
export interface SingleValueChartVizOption {
|
|
646
666
|
/**
|
|
647
|
-
*
|
|
667
|
+
* The color to use. Must be one of gray, blue, light_blue, navy, dark_orange, orange, dark_yellow, magenta, cerise, pink, violet, purple, gray_blue, dark_green, green, aquamarine, red, yellow, vivid_yellow, light_green, or lime_green.
|
|
648
668
|
*/
|
|
649
669
|
color?: string;
|
|
650
670
|
/**
|
|
@@ -652,11 +672,11 @@ export interface SingleValueChartVizOption {
|
|
|
652
672
|
*/
|
|
653
673
|
displayName?: string;
|
|
654
674
|
/**
|
|
655
|
-
*
|
|
675
|
+
* Label used in the publish statement that displays the plot (metric time series data) you want to customize.
|
|
656
676
|
*/
|
|
657
677
|
label: string;
|
|
658
678
|
/**
|
|
659
|
-
*
|
|
679
|
+
* , `valueSuffix` - (Optional) Arbitrary prefix/suffix to display with the value of this plot.
|
|
660
680
|
*/
|
|
661
681
|
valuePrefix?: string;
|
|
662
682
|
/**
|
|
@@ -664,39 +684,39 @@ export interface SingleValueChartVizOption {
|
|
|
664
684
|
*/
|
|
665
685
|
valueSuffix?: string;
|
|
666
686
|
/**
|
|
667
|
-
* A unit to attach to this plot. Units support automatic scaling (eg thousands of bytes will be displayed as kilobytes)
|
|
687
|
+
* A unit to attach to this plot. Units support automatic scaling (eg thousands of bytes will be displayed as kilobytes). Values values are `Bit, Kilobit, Megabit, Gigabit, Terabit, Petabit, Exabit, Zettabit, Yottabit, Byte, Kibibyte, Mebibyte, Gibibyte (note: this was previously typoed as Gigibyte), Tebibyte, Pebibyte, Exbibyte, Zebibyte, Yobibyte, Nanosecond, Microsecond, Millisecond, Second, Minute, Hour, Day, Week`.
|
|
668
688
|
*/
|
|
669
689
|
valueUnit?: string;
|
|
670
690
|
}
|
|
671
691
|
export interface SloInput {
|
|
672
692
|
/**
|
|
673
|
-
* Label used in `programText` that refers to the data block which contains the stream of successful events
|
|
693
|
+
* Label used in `"programText"` that refers to the data block which contains the stream of successful events
|
|
674
694
|
*/
|
|
675
695
|
goodEventsLabel?: string;
|
|
676
696
|
/**
|
|
677
|
-
*
|
|
697
|
+
* SignalFlow program and arguments text strings that define the streams used as successful event count and total event count
|
|
678
698
|
*/
|
|
679
699
|
programText: string;
|
|
680
700
|
/**
|
|
681
|
-
* Label used in `programText` that refers to the data block which contains the stream of total events
|
|
701
|
+
* Label used in `"programText"` that refers to the data block which contains the stream of total events
|
|
682
702
|
*/
|
|
683
703
|
totalEventsLabel?: string;
|
|
684
704
|
}
|
|
685
705
|
export interface SloTarget {
|
|
686
706
|
/**
|
|
687
|
-
* SLO alert
|
|
707
|
+
* List of alert rules you want to set for this SLO target. An SLO alert rule of type BREACH is always required.
|
|
688
708
|
*/
|
|
689
709
|
alertRules: outputs.SloTargetAlertRule[];
|
|
690
710
|
/**
|
|
691
|
-
*
|
|
711
|
+
* Compliance period of this SLO. This value must be within the range of 1d (1 days) to 30d (30 days), inclusive.
|
|
692
712
|
*/
|
|
693
713
|
compliancePeriod?: string;
|
|
694
714
|
/**
|
|
695
|
-
*
|
|
715
|
+
* It can be used to change the cycle start time. For example, you can specify sunday as the start of the week (instead of the default monday)
|
|
696
716
|
*/
|
|
697
717
|
cycleStart: string;
|
|
698
718
|
/**
|
|
699
|
-
*
|
|
719
|
+
* The cycle type of the calendar window, e.g. week, month.
|
|
700
720
|
*/
|
|
701
721
|
cycleType?: string;
|
|
702
722
|
/**
|
|
@@ -704,39 +724,39 @@ export interface SloTarget {
|
|
|
704
724
|
*/
|
|
705
725
|
slo: number;
|
|
706
726
|
/**
|
|
707
|
-
* SLO target type can be the following type: `RollingWindow`
|
|
727
|
+
* SLO target type can be the following type: `"RollingWindow"`, `"CalendarWindow"`
|
|
708
728
|
*/
|
|
709
729
|
type: string;
|
|
710
730
|
}
|
|
711
731
|
export interface SloTargetAlertRule {
|
|
712
732
|
/**
|
|
713
|
-
* Set of rules used for alerting
|
|
733
|
+
* Set of rules used for alerting.
|
|
714
734
|
*/
|
|
715
735
|
rules: outputs.SloTargetAlertRuleRule[];
|
|
716
736
|
/**
|
|
717
|
-
* SLO alert rule type
|
|
737
|
+
* SLO alert rule can be one of the following types: BREACH, ERROR_BUDGET_LEFT, BURN_RATE. Within an SLO object, you can only specify one SLO alertRule per type. For example, you can't specify two alertRule of type BREACH. See [SLO alerts](https://docs.splunk.com/observability/en/alerts-detectors-notifications/slo/burn-rate-alerts.html) for more info.
|
|
718
738
|
*/
|
|
719
739
|
type: string;
|
|
720
740
|
}
|
|
721
741
|
export interface SloTargetAlertRuleRule {
|
|
722
742
|
/**
|
|
723
|
-
* Description of the
|
|
743
|
+
* Description for the rule. Displays as the alert condition in the Alert Rules tab of the detector editor in the web UI.
|
|
724
744
|
*/
|
|
725
745
|
description?: string;
|
|
726
746
|
/**
|
|
727
|
-
*
|
|
747
|
+
* When true, notifications and events will not be generated for the detect label. `false` by default.
|
|
728
748
|
*/
|
|
729
749
|
disabled?: boolean;
|
|
730
750
|
/**
|
|
731
|
-
* List of strings specifying where notifications will be sent when an incident occurs. See https://
|
|
751
|
+
* List of strings specifying where notifications will be sent when an incident occurs. See [Create SLO](https://dev.splunk.com/observability/reference/api/slo/latest#endpoint-create-new-slo) for more info.
|
|
732
752
|
*/
|
|
733
753
|
notifications?: string[];
|
|
734
754
|
/**
|
|
735
|
-
* Custom notification message body when an alert is triggered. See https://
|
|
755
|
+
* Custom notification message body when an alert is triggered. See [Alert message](https://docs.splunk.com/observability/en/alerts-detectors-notifications/create-detectors-for-alerts.html#alert-messages) for more info.
|
|
736
756
|
*/
|
|
737
757
|
parameterizedBody?: string;
|
|
738
758
|
/**
|
|
739
|
-
* Custom notification message subject when an alert is triggered. See https://
|
|
759
|
+
* Custom notification message subject when an alert is triggered. See [Alert message](https://docs.splunk.com/observability/en/alerts-detectors-notifications/create-detectors-for-alerts.html#alert-messages) for more info.
|
|
740
760
|
*/
|
|
741
761
|
parameterizedSubject?: string;
|
|
742
762
|
/**
|
|
@@ -744,53 +764,53 @@ export interface SloTargetAlertRuleRule {
|
|
|
744
764
|
*/
|
|
745
765
|
parameters?: outputs.SloTargetAlertRuleRuleParameters;
|
|
746
766
|
/**
|
|
747
|
-
* URL of page to consult when an alert is triggered
|
|
767
|
+
* URL of page to consult when an alert is triggered. This can be used with custom notification messages.
|
|
748
768
|
*/
|
|
749
769
|
runbookUrl?: string;
|
|
750
770
|
/**
|
|
751
|
-
* The severity of the rule, must be one of: Critical
|
|
771
|
+
* The severity of the rule, must be one of: `"Critical"`, `"Major"`, `"Minor"`, `"Warning"`, `"Info"`.
|
|
752
772
|
*/
|
|
753
773
|
severity: string;
|
|
754
774
|
/**
|
|
755
|
-
* Plain text suggested first course of action, such as a command to execute.
|
|
775
|
+
* Plain text suggested first course of action, such as a command line to execute. This can be used with custom notification messages.
|
|
756
776
|
*/
|
|
757
777
|
tip?: string;
|
|
758
778
|
}
|
|
759
779
|
export interface SloTargetAlertRuleRuleParameters {
|
|
760
780
|
/**
|
|
761
|
-
* Burn rate threshold 1 used in burn rate alert calculation. This value must be between 0 and 100/(100-SLO target). Note: BURN_RATE alert rules use the burnRateThreshold1 parameter.
|
|
781
|
+
* Burn rate threshold 1 used in burn rate alert calculation. This value must be between 0 and 100/(100-SLO target). Note: `"BURN_RATE"` alert rules use the `"burnRateThreshold1"` parameter. See [SLO alerts](https://docs.splunk.com/observability/en/alerts-detectors-notifications/slo/burn-rate-alerts.html) for more info.
|
|
762
782
|
*/
|
|
763
783
|
burnRateThreshold1: number;
|
|
764
784
|
/**
|
|
765
|
-
* Burn rate threshold 2 used in burn rate alert calculation. This value must be between 0 and 100/(100-SLO target). Note: BURN_RATE alert rules use the burnRateThreshold2 parameter.
|
|
785
|
+
* Burn rate threshold 2 used in burn rate alert calculation. This value must be between 0 and 100/(100-SLO target). Note: `"BURN_RATE"` alert rules use the `"burnRateThreshold2"` parameter. See [SLO alerts](https://docs.splunk.com/observability/en/alerts-detectors-notifications/slo/burn-rate-alerts.html) for more info.
|
|
766
786
|
*/
|
|
767
787
|
burnRateThreshold2: number;
|
|
768
788
|
/**
|
|
769
|
-
* Duration that indicates how long the alert condition is met before the alert is triggered. The value must be positive and smaller than the compliance period of the SLO target. Note: BREACH and ERROR_BUDGET_LEFT alert rules use the fireLasting parameter
|
|
789
|
+
* Duration that indicates how long the alert condition is met before the alert is triggered. The value must be positive and smaller than the compliance period of the SLO target. Note: `"BREACH"` and `"ERROR_BUDGET_LEFT"` alert rules use the fireLasting parameter. Default: `"5m"`
|
|
770
790
|
*/
|
|
771
791
|
fireLasting: string;
|
|
772
792
|
/**
|
|
773
|
-
* Long window 1 used in burn rate alert calculation. This value must be longer than shortWindow1` and shorter than 90 days. Note: BURN_RATE alert rules use the longWindow1 parameter.
|
|
793
|
+
* Long window 1 used in burn rate alert calculation. This value must be longer than `"shortWindow1"` and shorter than 90 days. Note: `"BURN_RATE"` alert rules use the `"longWindow1"` parameter. See [SLO alerts](https://docs.splunk.com/observability/en/alerts-detectors-notifications/slo/burn-rate-alerts.html) for more info.
|
|
774
794
|
*/
|
|
775
795
|
longWindow1: string;
|
|
776
796
|
/**
|
|
777
|
-
* Long window 2 used in burn rate alert calculation. This value must be longer than shortWindow2` and shorter than 90 days. Note: BURN_RATE alert rules use the longWindow2 parameter.
|
|
797
|
+
* Long window 2 used in burn rate alert calculation. This value must be longer than `"shortWindow2"` and shorter than 90 days. Note: `"BURN_RATE"` alert rules use the `"longWindow2"` parameter. See [SLO alerts](https://docs.splunk.com/observability/en/alerts-detectors-notifications/slo/burn-rate-alerts.html) for more info.
|
|
778
798
|
*/
|
|
779
799
|
longWindow2: string;
|
|
780
800
|
/**
|
|
781
|
-
* Error budget must be equal to or smaller than this percentage for the alert to be triggered. Note: ERROR_BUDGET_LEFT alert rules use the percentErrorBudgetLeft parameter.
|
|
801
|
+
* Error budget must be equal to or smaller than this percentage for the alert to be triggered. Note: `"ERROR_BUDGET_LEFT"` alert rules use the `"percentErrorBudgetLeft"` parameter. Default: `100`
|
|
782
802
|
*/
|
|
783
803
|
percentErrorBudgetLeft: number;
|
|
784
804
|
/**
|
|
785
|
-
* Percentage of the fireLasting duration that the alert condition is met before the alert is triggered. Note: BREACH and ERROR_BUDGET_LEFT alert rules use the percentOfLasting parameter
|
|
805
|
+
* Percentage of the `"fireLasting"` duration that the alert condition is met before the alert is triggered. Note: `"BREACH"` and `"ERROR_BUDGET_LEFT"` alert rules use the `"percentOfLasting"` parameter. Default: `100`
|
|
786
806
|
*/
|
|
787
807
|
percentOfLasting: number;
|
|
788
808
|
/**
|
|
789
|
-
* Short window 1 used in burn rate alert calculation. This value must be longer than 1/30 of
|
|
809
|
+
* Short window 1 used in burn rate alert calculation. This value must be longer than 1/30 of `"longWindow1"`. Note: `"BURN_RATE"` alert rules use the `"shortWindow1"` parameter. See [SLO alerts](https://docs.splunk.com/observability/en/alerts-detectors-notifications/slo/burn-rate-alerts.html) for more info.
|
|
790
810
|
*/
|
|
791
811
|
shortWindow1: string;
|
|
792
812
|
/**
|
|
793
|
-
* Short window 2 used in burn rate alert calculation. This value must be longer than 1/30 of
|
|
813
|
+
* Short window 2 used in burn rate alert calculation. This value must be longer than 1/30 of `"longWindow2"`. Note: `"BURN_RATE"` alert rules use the `"shortWindow2"` parameter. See [SLO alerts](https://docs.splunk.com/observability/en/alerts-detectors-notifications/slo/burn-rate-alerts.html) for more info.
|
|
794
814
|
*/
|
|
795
815
|
shortWindow2: string;
|
|
796
816
|
}
|
|
@@ -822,31 +842,31 @@ export interface TableChartVizOption {
|
|
|
822
842
|
}
|
|
823
843
|
export interface TimeChartAxisLeft {
|
|
824
844
|
/**
|
|
825
|
-
* A line to draw as a high watermark
|
|
845
|
+
* A line to draw as a high watermark.
|
|
826
846
|
*/
|
|
827
847
|
highWatermark?: number;
|
|
828
848
|
/**
|
|
829
|
-
* A label to attach to the high watermark line
|
|
849
|
+
* A label to attach to the high watermark line.
|
|
830
850
|
*/
|
|
831
851
|
highWatermarkLabel?: string;
|
|
832
852
|
/**
|
|
833
|
-
* Label of the left axis
|
|
853
|
+
* Label of the left axis.
|
|
834
854
|
*/
|
|
835
855
|
label?: string;
|
|
836
856
|
/**
|
|
837
|
-
* A line to draw as a low watermark
|
|
857
|
+
* A line to draw as a low watermark.
|
|
838
858
|
*/
|
|
839
859
|
lowWatermark?: number;
|
|
840
860
|
/**
|
|
841
|
-
* A label to attach to the low watermark line
|
|
861
|
+
* A label to attach to the low watermark line.
|
|
842
862
|
*/
|
|
843
863
|
lowWatermarkLabel?: string;
|
|
844
864
|
/**
|
|
845
|
-
* The maximum value for the left axis
|
|
865
|
+
* The maximum value for the left axis.
|
|
846
866
|
*/
|
|
847
867
|
maxValue?: number;
|
|
848
868
|
/**
|
|
849
|
-
* The minimum value for the left axis
|
|
869
|
+
* The minimum value for the left axis.
|
|
850
870
|
*/
|
|
851
871
|
minValue?: number;
|
|
852
872
|
watermarks?: outputs.TimeChartAxisLeftWatermark[];
|
|
@@ -863,31 +883,31 @@ export interface TimeChartAxisLeftWatermark {
|
|
|
863
883
|
}
|
|
864
884
|
export interface TimeChartAxisRight {
|
|
865
885
|
/**
|
|
866
|
-
* A line to draw as a high watermark
|
|
886
|
+
* A line to draw as a high watermark.
|
|
867
887
|
*/
|
|
868
888
|
highWatermark?: number;
|
|
869
889
|
/**
|
|
870
|
-
* A label to attach to the high watermark line
|
|
890
|
+
* A label to attach to the high watermark line.
|
|
871
891
|
*/
|
|
872
892
|
highWatermarkLabel?: string;
|
|
873
893
|
/**
|
|
874
|
-
* Label of the right axis
|
|
894
|
+
* Label of the right axis.
|
|
875
895
|
*/
|
|
876
896
|
label?: string;
|
|
877
897
|
/**
|
|
878
|
-
* A line to draw as a low watermark
|
|
898
|
+
* A line to draw as a low watermark.
|
|
879
899
|
*/
|
|
880
900
|
lowWatermark?: number;
|
|
881
901
|
/**
|
|
882
|
-
* A label to attach to the low watermark line
|
|
902
|
+
* A label to attach to the low watermark line.
|
|
883
903
|
*/
|
|
884
904
|
lowWatermarkLabel?: string;
|
|
885
905
|
/**
|
|
886
|
-
* The maximum value for the right axis
|
|
906
|
+
* The maximum value for the right axis.
|
|
887
907
|
*/
|
|
888
908
|
maxValue?: number;
|
|
889
909
|
/**
|
|
890
|
-
* The minimum value for the right axis
|
|
910
|
+
* The minimum value for the right axis.
|
|
891
911
|
*/
|
|
892
912
|
minValue?: number;
|
|
893
913
|
watermarks?: outputs.TimeChartAxisRightWatermark[];
|
|
@@ -904,7 +924,7 @@ export interface TimeChartAxisRightWatermark {
|
|
|
904
924
|
}
|
|
905
925
|
export interface TimeChartEventOption {
|
|
906
926
|
/**
|
|
907
|
-
* Color to use
|
|
927
|
+
* Color to use : gray, blue, azure, navy, brown, orange, yellow, iris, magenta, pink, purple, violet, lilac, emerald, green, aquamarine.
|
|
908
928
|
*/
|
|
909
929
|
color?: string;
|
|
910
930
|
/**
|
|
@@ -912,33 +932,33 @@ export interface TimeChartEventOption {
|
|
|
912
932
|
*/
|
|
913
933
|
displayName?: string;
|
|
914
934
|
/**
|
|
915
|
-
*
|
|
935
|
+
* Label used in the publish statement that displays the event query you want to customize.
|
|
916
936
|
*/
|
|
917
937
|
label: string;
|
|
918
938
|
}
|
|
919
939
|
export interface TimeChartHistogramOption {
|
|
920
940
|
/**
|
|
921
|
-
*
|
|
941
|
+
* Color to use : gray, blue, azure, navy, brown, orange, yellow, iris, magenta, pink, purple, violet, lilac, emerald, green, aquamarine, red, gold, greenyellow, chartreuse, jade
|
|
922
942
|
*/
|
|
923
943
|
colorTheme?: string;
|
|
924
944
|
}
|
|
925
945
|
export interface TimeChartLegendOptionsField {
|
|
926
946
|
/**
|
|
927
|
-
*
|
|
947
|
+
* True or False depending on if you want the property to be shown or hidden.
|
|
928
948
|
*/
|
|
929
949
|
enabled?: boolean;
|
|
930
950
|
/**
|
|
931
|
-
* The name of
|
|
951
|
+
* The name of the property to display. Note the special values of `plotLabel` (corresponding with the API's `sfMetric`) which shows the label of the time series `publish()` and `metric` (corresponding with the API's `sf_originatingMetric`) that shows the name of the metric for the time series being displayed.
|
|
932
952
|
*/
|
|
933
953
|
property: string;
|
|
934
954
|
}
|
|
935
955
|
export interface TimeChartVizOption {
|
|
936
956
|
/**
|
|
937
|
-
*
|
|
957
|
+
* Y-axis associated with values for this plot. Must be either `right` or `left`.
|
|
938
958
|
*/
|
|
939
959
|
axis?: string;
|
|
940
960
|
/**
|
|
941
|
-
* Color to use
|
|
961
|
+
* Color to use : gray, blue, azure, navy, brown, orange, yellow, iris, magenta, pink, purple, violet, lilac, emerald, green, aquamarine.
|
|
942
962
|
*/
|
|
943
963
|
color?: string;
|
|
944
964
|
/**
|
|
@@ -946,15 +966,15 @@ export interface TimeChartVizOption {
|
|
|
946
966
|
*/
|
|
947
967
|
displayName?: string;
|
|
948
968
|
/**
|
|
949
|
-
*
|
|
969
|
+
* Label used in the publish statement that displays the plot (metric time series data) you want to customize.
|
|
950
970
|
*/
|
|
951
971
|
label: string;
|
|
952
972
|
/**
|
|
953
|
-
*
|
|
973
|
+
* The visualization style to use. Must be `"LineChart"`, `"AreaChart"`, `"ColumnChart"`, or `"Histogram"`. Chart level `plotType` by default.
|
|
954
974
|
*/
|
|
955
975
|
plotType?: string;
|
|
956
976
|
/**
|
|
957
|
-
*
|
|
977
|
+
* , `valueSuffix` - (Optional) Arbitrary prefix/suffix to display with the value of this plot.
|
|
958
978
|
*/
|
|
959
979
|
valuePrefix?: string;
|
|
960
980
|
/**
|
|
@@ -962,30 +982,36 @@ export interface TimeChartVizOption {
|
|
|
962
982
|
*/
|
|
963
983
|
valueSuffix?: string;
|
|
964
984
|
/**
|
|
965
|
-
* A unit to attach to this plot. Units support automatic scaling (eg thousands of bytes will be displayed as kilobytes)
|
|
985
|
+
* A unit to attach to this plot. Units support automatic scaling (eg thousands of bytes will be displayed as kilobytes). Values values are `Bit, Kilobit, Megabit, Gigabit, Terabit, Petabit, Exabit, Zettabit, Yottabit, Byte, Kibibyte, Mebibyte, Gibibyte (note: this was previously typoed as Gigibyte), Tebibyte, Pebibyte, Exbibyte, Zebibyte, Yobibyte, Nanosecond, Microsecond, Millisecond, Second, Minute, Hour, Day, Week`.
|
|
966
986
|
*/
|
|
967
987
|
valueUnit?: string;
|
|
968
988
|
}
|
|
969
989
|
export interface WebhookIntegrationHeader {
|
|
990
|
+
/**
|
|
991
|
+
* The key of the header to send
|
|
992
|
+
*/
|
|
970
993
|
headerKey: string;
|
|
994
|
+
/**
|
|
995
|
+
* The value of the header to send
|
|
996
|
+
*/
|
|
971
997
|
headerValue: string;
|
|
972
998
|
}
|
|
973
999
|
export declare namespace aws {
|
|
974
1000
|
interface IntegrationCustomNamespaceSyncRule {
|
|
975
1001
|
/**
|
|
976
|
-
* Controls the Splunk Observability default behavior for processing data from an AWS namespace. Splunk Observability ignores this property unless you specify the `filterAction` and `filterSource` properties. If you do specify them, use this property to control how Splunk Observability treats data that doesn't match the filter. The available actions are one of "Include" or "Exclude"
|
|
1002
|
+
* Controls the Splunk Observability Cloud default behavior for processing data from an AWS namespace. Splunk Observability Cloud ignores this property unless you specify the `filterAction` and `filterSource` properties. If you do specify them, use this property to control how Splunk Observability Cloud treats data that doesn't match the filter. The available actions are one of `"Include"` or `"Exclude"`.
|
|
977
1003
|
*/
|
|
978
1004
|
defaultAction?: string;
|
|
979
1005
|
/**
|
|
980
|
-
* Controls how Splunk Observability processes data from a custom AWS namespace. The available actions are one of "Include" or "Exclude"
|
|
1006
|
+
* Controls how Splunk Observability Cloud processes data from a custom AWS namespace. The available actions are one of `"Include"` or `"Exclude"`.
|
|
981
1007
|
*/
|
|
982
1008
|
filterAction?: string;
|
|
983
1009
|
/**
|
|
984
|
-
* Expression that selects the data that Splunk Observability should sync for the custom namespace associated with this sync rule. The expression uses the syntax defined for the SignalFlow `filter()` function; it can be any valid SignalFlow filter expression.
|
|
1010
|
+
* Expression that selects the data that Splunk Observability Cloud should sync for the custom namespace associated with this sync rule. The expression uses the syntax defined for the SignalFlow `filter()` function; it can be any valid SignalFlow filter expression.
|
|
985
1011
|
*/
|
|
986
1012
|
filterSource?: string;
|
|
987
1013
|
/**
|
|
988
|
-
* An AWS custom namespace having custom AWS metrics that you want to sync with Splunk Observability. See the AWS documentation on publishing metrics for more information.
|
|
1014
|
+
* An AWS custom namespace having custom AWS metrics that you want to sync with Splunk Observability Cloud. See the AWS documentation on publishing metrics for more information.
|
|
989
1015
|
*/
|
|
990
1016
|
namespace: string;
|
|
991
1017
|
}
|
|
@@ -1005,19 +1031,19 @@ export declare namespace aws {
|
|
|
1005
1031
|
}
|
|
1006
1032
|
interface IntegrationNamespaceSyncRule {
|
|
1007
1033
|
/**
|
|
1008
|
-
* Controls the Splunk Observability default behavior for processing data from an AWS namespace. Splunk Observability ignores this property unless you specify the `filterAction` and `filterSource` properties. If you do specify them, use this property to control how Splunk Observability treats data that doesn't match the filter. The available actions are one of "Include" or "Exclude"
|
|
1034
|
+
* Controls the Splunk Observability Cloud default behavior for processing data from an AWS namespace. Splunk Observability Cloud ignores this property unless you specify the `filterAction` and `filterSource` properties. If you do specify them, use this property to control how Splunk Observability Cloud treats data that doesn't match the filter. The available actions are one of `"Include"` or `"Exclude"`.
|
|
1009
1035
|
*/
|
|
1010
1036
|
defaultAction?: string;
|
|
1011
1037
|
/**
|
|
1012
|
-
* Controls how Splunk Observability processes data from a custom AWS namespace. The available actions are one of "Include" or "Exclude"
|
|
1038
|
+
* Controls how Splunk Observability Cloud processes data from a custom AWS namespace. The available actions are one of `"Include"` or `"Exclude"`.
|
|
1013
1039
|
*/
|
|
1014
1040
|
filterAction?: string;
|
|
1015
1041
|
/**
|
|
1016
|
-
* Expression that selects the data that Splunk Observability should sync for the custom namespace associated with this sync rule. The expression uses the syntax defined for the SignalFlow `filter()` function; it can be any valid SignalFlow filter expression.
|
|
1042
|
+
* Expression that selects the data that Splunk Observability Cloud should sync for the custom namespace associated with this sync rule. The expression uses the syntax defined for the SignalFlow `filter()` function; it can be any valid SignalFlow filter expression.
|
|
1017
1043
|
*/
|
|
1018
1044
|
filterSource?: string;
|
|
1019
1045
|
/**
|
|
1020
|
-
* An AWS namespace having custom AWS metrics that you want to sync with Splunk Observability. See
|
|
1046
|
+
* An AWS custom namespace having custom AWS metrics that you want to sync with Splunk Observability Cloud. See `services` field description below for additional information.
|
|
1021
1047
|
*/
|
|
1022
1048
|
namespace: string;
|
|
1023
1049
|
}
|
|
@@ -1025,15 +1051,18 @@ export declare namespace aws {
|
|
|
1025
1051
|
export declare namespace azure {
|
|
1026
1052
|
interface IntegrationCustomNamespacesPerService {
|
|
1027
1053
|
/**
|
|
1028
|
-
* The namespaces
|
|
1054
|
+
* The additional namespaces.
|
|
1029
1055
|
*/
|
|
1030
1056
|
namespaces: string[];
|
|
1031
1057
|
/**
|
|
1032
|
-
* The name of the service
|
|
1058
|
+
* The name of the service.
|
|
1033
1059
|
*/
|
|
1034
1060
|
service: string;
|
|
1035
1061
|
}
|
|
1036
1062
|
interface IntegrationResourceFilterRule {
|
|
1063
|
+
/**
|
|
1064
|
+
* Expression that selects the data that Splunk Observability Cloud should sync for the resource associated with this sync rule. The expression uses the syntax defined for the SignalFlow `filter()` function. The source of each filter rule must be in the form filter('key', 'value'). You can join multiple filter statements using the and and or operators. Referenced keys are limited to tags and must start with the azure_tag_ prefix.
|
|
1065
|
+
*/
|
|
1037
1066
|
filterSource: string;
|
|
1038
1067
|
}
|
|
1039
1068
|
}
|
|
@@ -1046,7 +1075,7 @@ export declare namespace gcp {
|
|
|
1046
1075
|
export declare namespace log {
|
|
1047
1076
|
interface ViewColumn {
|
|
1048
1077
|
/**
|
|
1049
|
-
* Name of the
|
|
1078
|
+
* Name of the log view.
|
|
1050
1079
|
*/
|
|
1051
1080
|
name: string;
|
|
1052
1081
|
}
|