@pulumi/signalfx 7.0.0 → 7.0.2
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 +37 -19
- package/alertMutingRule.js +22 -4
- package/alertMutingRule.js.map +1 -1
- package/aws/externalIntegration.d.ts +23 -11
- package/aws/externalIntegration.js +16 -4
- package/aws/externalIntegration.js.map +1 -1
- package/aws/integration.d.ts +141 -72
- package/aws/integration.js +41 -4
- package/aws/integration.js.map +1 -1
- package/aws/tokenIntegration.d.ts +18 -7
- package/aws/tokenIntegration.js +13 -2
- package/aws/tokenIntegration.js.map +1 -1
- package/azure/integration.d.ts +101 -45
- package/azure/integration.js +29 -3
- package/azure/integration.js.map +1 -1
- package/config/vars.d.ts +3 -3
- package/dashboard.d.ts +62 -62
- package/dashboardGroup.d.ts +62 -27
- package/dashboardGroup.js +41 -6
- package/dashboardGroup.js.map +1 -1
- package/dataLink.d.ts +52 -18
- package/dataLink.js +31 -3
- package/dataLink.js.map +1 -1
- package/detector.d.ts +133 -70
- package/detector.js +70 -15
- package/detector.js.map +1 -1
- package/eventFeedChart.d.ts +38 -20
- package/eventFeedChart.js +18 -0
- package/eventFeedChart.js.map +1 -1
- package/gcp/integration.d.ts +66 -35
- package/gcp/integration.js +24 -5
- package/gcp/integration.js.map +1 -1
- package/getDimensionValues.d.ts +18 -2
- package/getDimensionValues.js +18 -2
- package/getDimensionValues.js.map +1 -1
- package/heatmapChart.d.ts +80 -46
- package/heatmapChart.js +36 -2
- package/heatmapChart.js.map +1 -1
- package/jira/integration.d.ts +51 -24
- package/jira/integration.js +24 -3
- package/jira/integration.js.map +1 -1
- package/listChart.d.ts +111 -64
- package/listChart.js +46 -2
- package/listChart.js.map +1 -1
- package/log/timeline.d.ts +44 -24
- package/log/timeline.js +21 -1
- package/log/timeline.js.map +1 -1
- package/log/view.d.ts +54 -31
- package/log/view.js +25 -2
- package/log/view.js.map +1 -1
- package/metricRuleset.d.ts +33 -11
- package/metricRuleset.js +24 -2
- package/metricRuleset.js.map +1 -1
- package/opsgenie/integration.d.ts +28 -15
- package/opsgenie/integration.js +16 -3
- package/opsgenie/integration.js.map +1 -1
- package/orgToken.d.ts +50 -39
- package/orgToken.js +32 -3
- package/orgToken.js.map +1 -1
- package/package.json +2 -3
- package/package.json.bak +1 -2
- package/pagerduty/getIntegration.d.ts +22 -14
- package/pagerduty/getIntegration.js +22 -2
- package/pagerduty/getIntegration.js.map +1 -1
- package/pagerduty/integration.d.ts +23 -12
- package/pagerduty/integration.js +14 -3
- package/pagerduty/integration.js.map +1 -1
- package/provider.d.ts +6 -6
- package/servicenow/integration.d.ts +46 -17
- package/servicenow/integration.js +19 -2
- package/servicenow/integration.js.map +1 -1
- package/singleValueChart.d.ts +74 -39
- package/singleValueChart.js +36 -1
- package/singleValueChart.js.map +1 -1
- package/slack/integration.d.ts +24 -12
- package/slack/integration.js +15 -3
- package/slack/integration.js.map +1 -1
- package/tableChart.d.ts +32 -16
- package/tableChart.js +18 -2
- package/tableChart.js.map +1 -1
- package/team.d.ts +54 -33
- package/team.js +25 -4
- package/team.js.map +1 -1
- package/textChart.d.ts +27 -12
- package/textChart.js +16 -1
- package/textChart.js.map +1 -1
- package/timeChart.d.ts +148 -94
- package/timeChart.js +68 -2
- package/timeChart.js.map +1 -1
- package/types/input.d.ts +0 -577
- package/types/output.d.ts +0 -577
- package/utilities.d.ts +4 -0
- package/utilities.js +33 -1
- package/utilities.js.map +1 -1
- package/victorops/integration.d.ts +24 -12
- package/victorops/integration.js +15 -3
- package/victorops/integration.js.map +1 -1
- package/webhookIntegration.d.ts +31 -15
- package/webhookIntegration.js +19 -3
- package/webhookIntegration.js.map +1 -1
- package/scripts/install-pulumi-plugin.js +0 -21
package/log/timeline.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
3
|
* You can add logs data to your Observability Cloud dashboards without turning your logs into metrics first.
|
|
4
|
+
*
|
|
4
5
|
* A log timeline chart displays timeline visualization in a dashboard and shows you in detail what is happening and why.
|
|
5
6
|
*
|
|
6
|
-
* ## Example
|
|
7
|
+
* ## Example
|
|
7
8
|
*
|
|
8
9
|
* ```typescript
|
|
9
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -17,6 +18,25 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
17
18
|
* timeRange: 900,
|
|
18
19
|
* });
|
|
19
20
|
* ```
|
|
21
|
+
*
|
|
22
|
+
* ## Arguments
|
|
23
|
+
*
|
|
24
|
+
* The following arguments are supported in the resource block:
|
|
25
|
+
*
|
|
26
|
+
* * `name` - (Required) Name of the log timeline.
|
|
27
|
+
* * `programText` - (Required) Signalflow program text for the log timeline. More info at https://dev.splunk.com/observability/docs/.
|
|
28
|
+
* * `description` - (Optional) Description of the log timeline.
|
|
29
|
+
* * `timeRange` - (Optional) From when to display data. Splunk Observability Cloud time syntax (e.g. `"-5m"`, `"-1h"`). Conflicts with `startTime` and `endTime`.
|
|
30
|
+
* * `startTime` - (Optional) Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
|
|
31
|
+
* * `endTime` - (Optional) Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
|
|
32
|
+
* * `defaultConnection` - (Optional) The connection that the log timeline uses to fetch data. This could be Splunk Enterprise, Splunk Enterprise Cloud or Observability Cloud.
|
|
33
|
+
*
|
|
34
|
+
* ## Attributes
|
|
35
|
+
*
|
|
36
|
+
* In a addition to all arguments above, the following attributes are exported:
|
|
37
|
+
*
|
|
38
|
+
* * `id` - The ID of the log timeline.
|
|
39
|
+
* * `url` - The URL of the log timeline.
|
|
20
40
|
*/
|
|
21
41
|
export declare class Timeline extends pulumi.CustomResource {
|
|
22
42
|
/**
|
|
@@ -35,35 +55,35 @@ export declare class Timeline extends pulumi.CustomResource {
|
|
|
35
55
|
*/
|
|
36
56
|
static isInstance(obj: any): obj is Timeline;
|
|
37
57
|
/**
|
|
38
|
-
*
|
|
58
|
+
* default connection that the dashboard uses
|
|
39
59
|
*/
|
|
40
60
|
readonly defaultConnection: pulumi.Output<string | undefined>;
|
|
41
61
|
/**
|
|
42
|
-
* Description of the
|
|
62
|
+
* Description of the chart (Optional)
|
|
43
63
|
*/
|
|
44
64
|
readonly description: pulumi.Output<string | undefined>;
|
|
45
65
|
/**
|
|
46
|
-
* Seconds since epoch
|
|
66
|
+
* Seconds since epoch to end the visualization
|
|
47
67
|
*/
|
|
48
68
|
readonly endTime: pulumi.Output<number | undefined>;
|
|
49
69
|
/**
|
|
50
|
-
* Name of the
|
|
70
|
+
* Name of the chart
|
|
51
71
|
*/
|
|
52
72
|
readonly name: pulumi.Output<string>;
|
|
53
73
|
/**
|
|
54
|
-
* Signalflow program text for the
|
|
74
|
+
* Signalflow program text for the chart. More info at "https://developers.signalfx.com/docs/signalflow-overview"
|
|
55
75
|
*/
|
|
56
76
|
readonly programText: pulumi.Output<string>;
|
|
57
77
|
/**
|
|
58
|
-
* Seconds since epoch
|
|
78
|
+
* Seconds since epoch to start the visualization
|
|
59
79
|
*/
|
|
60
80
|
readonly startTime: pulumi.Output<number | undefined>;
|
|
61
81
|
/**
|
|
62
|
-
*
|
|
82
|
+
* Seconds to display in the visualization. This is a rolling range from the current time. Example: 3600 = `-1h`
|
|
63
83
|
*/
|
|
64
84
|
readonly timeRange: pulumi.Output<number | undefined>;
|
|
65
85
|
/**
|
|
66
|
-
*
|
|
86
|
+
* URL of the chart
|
|
67
87
|
*/
|
|
68
88
|
readonly url: pulumi.Output<string>;
|
|
69
89
|
/**
|
|
@@ -80,35 +100,35 @@ export declare class Timeline extends pulumi.CustomResource {
|
|
|
80
100
|
*/
|
|
81
101
|
export interface TimelineState {
|
|
82
102
|
/**
|
|
83
|
-
*
|
|
103
|
+
* default connection that the dashboard uses
|
|
84
104
|
*/
|
|
85
105
|
defaultConnection?: pulumi.Input<string>;
|
|
86
106
|
/**
|
|
87
|
-
* Description of the
|
|
107
|
+
* Description of the chart (Optional)
|
|
88
108
|
*/
|
|
89
109
|
description?: pulumi.Input<string>;
|
|
90
110
|
/**
|
|
91
|
-
* Seconds since epoch
|
|
111
|
+
* Seconds since epoch to end the visualization
|
|
92
112
|
*/
|
|
93
113
|
endTime?: pulumi.Input<number>;
|
|
94
114
|
/**
|
|
95
|
-
* Name of the
|
|
115
|
+
* Name of the chart
|
|
96
116
|
*/
|
|
97
117
|
name?: pulumi.Input<string>;
|
|
98
118
|
/**
|
|
99
|
-
* Signalflow program text for the
|
|
119
|
+
* Signalflow program text for the chart. More info at "https://developers.signalfx.com/docs/signalflow-overview"
|
|
100
120
|
*/
|
|
101
121
|
programText?: pulumi.Input<string>;
|
|
102
122
|
/**
|
|
103
|
-
* Seconds since epoch
|
|
123
|
+
* Seconds since epoch to start the visualization
|
|
104
124
|
*/
|
|
105
125
|
startTime?: pulumi.Input<number>;
|
|
106
126
|
/**
|
|
107
|
-
*
|
|
127
|
+
* Seconds to display in the visualization. This is a rolling range from the current time. Example: 3600 = `-1h`
|
|
108
128
|
*/
|
|
109
129
|
timeRange?: pulumi.Input<number>;
|
|
110
130
|
/**
|
|
111
|
-
*
|
|
131
|
+
* URL of the chart
|
|
112
132
|
*/
|
|
113
133
|
url?: pulumi.Input<string>;
|
|
114
134
|
}
|
|
@@ -117,31 +137,31 @@ export interface TimelineState {
|
|
|
117
137
|
*/
|
|
118
138
|
export interface TimelineArgs {
|
|
119
139
|
/**
|
|
120
|
-
*
|
|
140
|
+
* default connection that the dashboard uses
|
|
121
141
|
*/
|
|
122
142
|
defaultConnection?: pulumi.Input<string>;
|
|
123
143
|
/**
|
|
124
|
-
* Description of the
|
|
144
|
+
* Description of the chart (Optional)
|
|
125
145
|
*/
|
|
126
146
|
description?: pulumi.Input<string>;
|
|
127
147
|
/**
|
|
128
|
-
* Seconds since epoch
|
|
148
|
+
* Seconds since epoch to end the visualization
|
|
129
149
|
*/
|
|
130
150
|
endTime?: pulumi.Input<number>;
|
|
131
151
|
/**
|
|
132
|
-
* Name of the
|
|
152
|
+
* Name of the chart
|
|
133
153
|
*/
|
|
134
154
|
name?: pulumi.Input<string>;
|
|
135
155
|
/**
|
|
136
|
-
* Signalflow program text for the
|
|
156
|
+
* Signalflow program text for the chart. More info at "https://developers.signalfx.com/docs/signalflow-overview"
|
|
137
157
|
*/
|
|
138
158
|
programText: pulumi.Input<string>;
|
|
139
159
|
/**
|
|
140
|
-
* Seconds since epoch
|
|
160
|
+
* Seconds since epoch to start the visualization
|
|
141
161
|
*/
|
|
142
162
|
startTime?: pulumi.Input<number>;
|
|
143
163
|
/**
|
|
144
|
-
*
|
|
164
|
+
* Seconds to display in the visualization. This is a rolling range from the current time. Example: 3600 = `-1h`
|
|
145
165
|
*/
|
|
146
166
|
timeRange?: pulumi.Input<number>;
|
|
147
167
|
}
|
package/log/timeline.js
CHANGED
|
@@ -7,9 +7,10 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
9
|
* You can add logs data to your Observability Cloud dashboards without turning your logs into metrics first.
|
|
10
|
+
*
|
|
10
11
|
* A log timeline chart displays timeline visualization in a dashboard and shows you in detail what is happening and why.
|
|
11
12
|
*
|
|
12
|
-
* ## Example
|
|
13
|
+
* ## Example
|
|
13
14
|
*
|
|
14
15
|
* ```typescript
|
|
15
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -23,6 +24,25 @@ const utilities = require("../utilities");
|
|
|
23
24
|
* timeRange: 900,
|
|
24
25
|
* });
|
|
25
26
|
* ```
|
|
27
|
+
*
|
|
28
|
+
* ## Arguments
|
|
29
|
+
*
|
|
30
|
+
* The following arguments are supported in the resource block:
|
|
31
|
+
*
|
|
32
|
+
* * `name` - (Required) Name of the log timeline.
|
|
33
|
+
* * `programText` - (Required) Signalflow program text for the log timeline. More info at https://dev.splunk.com/observability/docs/.
|
|
34
|
+
* * `description` - (Optional) Description of the log timeline.
|
|
35
|
+
* * `timeRange` - (Optional) From when to display data. Splunk Observability Cloud time syntax (e.g. `"-5m"`, `"-1h"`). Conflicts with `startTime` and `endTime`.
|
|
36
|
+
* * `startTime` - (Optional) Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
|
|
37
|
+
* * `endTime` - (Optional) Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
|
|
38
|
+
* * `defaultConnection` - (Optional) The connection that the log timeline uses to fetch data. This could be Splunk Enterprise, Splunk Enterprise Cloud or Observability Cloud.
|
|
39
|
+
*
|
|
40
|
+
* ## Attributes
|
|
41
|
+
*
|
|
42
|
+
* In a addition to all arguments above, the following attributes are exported:
|
|
43
|
+
*
|
|
44
|
+
* * `id` - The ID of the log timeline.
|
|
45
|
+
* * `url` - The URL of the log timeline.
|
|
26
46
|
*/
|
|
27
47
|
class Timeline extends pulumi.CustomResource {
|
|
28
48
|
/**
|
package/log/timeline.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"timeline.js","sourceRoot":"","sources":["../../log/timeline.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"timeline.js","sourceRoot":"","sources":["../../log/timeline.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC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,CAAC;;AAlGL,4BAmGC;AArFG,gBAAgB;AACO,qBAAY,GAAG,gCAAgC,CAAC"}
|
package/log/view.d.ts
CHANGED
|
@@ -2,9 +2,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
4
|
/**
|
|
5
|
-
* You can add logs data to your Observability Cloud dashboards without turning your logs into metrics first.
|
|
5
|
+
* You can add logs data to your Observability Cloud dashboards without turning your logs into metrics first.
|
|
6
6
|
*
|
|
7
|
-
*
|
|
7
|
+
* A log view displays log lines in a table form in a dashboard and shows you in detail what is happening and why.
|
|
8
|
+
*
|
|
9
|
+
* ## Example
|
|
8
10
|
*
|
|
9
11
|
* ```typescript
|
|
10
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -42,6 +44,27 @@ import * as outputs from "../types/output";
|
|
|
42
44
|
* timeRange: 900,
|
|
43
45
|
* });
|
|
44
46
|
* ```
|
|
47
|
+
*
|
|
48
|
+
* ## Arguments
|
|
49
|
+
*
|
|
50
|
+
* The following arguments are supported in the resource block:
|
|
51
|
+
*
|
|
52
|
+
* * `name` - (Required) Name of the log view.
|
|
53
|
+
* * `programText` - (Required) Signalflow program text for the log view. More info at https://developers.signalfx.com/docs/signalflow-overview.
|
|
54
|
+
* * `description` - (Optional) Description of the log view.
|
|
55
|
+
* * `timeRange` - (Optional) From when to display data. Splunk Observability Cloud time syntax (e.g. `"-5m"`, `"-1h"`). Conflicts with `startTime` and `endTime`.
|
|
56
|
+
* * `startTime` - (Optional) Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
|
|
57
|
+
* * `endTime` - (Optional) Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
|
|
58
|
+
* * `columns` - (Optional) The column headers to show on the log view.
|
|
59
|
+
* * `sortOptions` - (Optional) The sorting options configuration to specify if the log view table needs to be sorted in a particular field.
|
|
60
|
+
* * `defaultConnection` - (Optional) The connection that the log view uses to fetch data. This could be Splunk Enterprise, Splunk Enterprise Cloud or Observability Cloud.
|
|
61
|
+
*
|
|
62
|
+
* ## Attributes
|
|
63
|
+
*
|
|
64
|
+
* In a addition to all arguments above, the following attributes are exported:
|
|
65
|
+
*
|
|
66
|
+
* * `id` - The ID of the log view.
|
|
67
|
+
* * `url` - The URL of the log view.
|
|
45
68
|
*/
|
|
46
69
|
export declare class View extends pulumi.CustomResource {
|
|
47
70
|
/**
|
|
@@ -60,43 +83,43 @@ export declare class View extends pulumi.CustomResource {
|
|
|
60
83
|
*/
|
|
61
84
|
static isInstance(obj: any): obj is View;
|
|
62
85
|
/**
|
|
63
|
-
*
|
|
86
|
+
* Column configuration
|
|
64
87
|
*/
|
|
65
88
|
readonly columns: pulumi.Output<outputs.log.ViewColumn[] | undefined>;
|
|
66
89
|
/**
|
|
67
|
-
*
|
|
90
|
+
* default connection that the dashboard uses
|
|
68
91
|
*/
|
|
69
92
|
readonly defaultConnection: pulumi.Output<string | undefined>;
|
|
70
93
|
/**
|
|
71
|
-
* Description of the
|
|
94
|
+
* Description of the chart (Optional)
|
|
72
95
|
*/
|
|
73
96
|
readonly description: pulumi.Output<string | undefined>;
|
|
74
97
|
/**
|
|
75
|
-
* Seconds since epoch
|
|
98
|
+
* Seconds since epoch to end the visualization
|
|
76
99
|
*/
|
|
77
100
|
readonly endTime: pulumi.Output<number | undefined>;
|
|
78
101
|
/**
|
|
79
|
-
* Name of the
|
|
102
|
+
* Name of the chart
|
|
80
103
|
*/
|
|
81
104
|
readonly name: pulumi.Output<string>;
|
|
82
105
|
/**
|
|
83
|
-
* Signalflow program text for the
|
|
106
|
+
* Signalflow program text for the chart. More info at "https://developers.signalfx.com/docs/signalflow-overview"
|
|
84
107
|
*/
|
|
85
108
|
readonly programText: pulumi.Output<string>;
|
|
86
109
|
/**
|
|
87
|
-
*
|
|
110
|
+
* Sorting options configuration
|
|
88
111
|
*/
|
|
89
112
|
readonly sortOptions: pulumi.Output<outputs.log.ViewSortOption[] | undefined>;
|
|
90
113
|
/**
|
|
91
|
-
* Seconds since epoch
|
|
114
|
+
* Seconds since epoch to start the visualization
|
|
92
115
|
*/
|
|
93
116
|
readonly startTime: pulumi.Output<number | undefined>;
|
|
94
117
|
/**
|
|
95
|
-
*
|
|
118
|
+
* Seconds to display in the visualization. This is a rolling range from the current time. Example: 3600 = `-1h`
|
|
96
119
|
*/
|
|
97
120
|
readonly timeRange: pulumi.Output<number | undefined>;
|
|
98
121
|
/**
|
|
99
|
-
*
|
|
122
|
+
* URL of the chart
|
|
100
123
|
*/
|
|
101
124
|
readonly url: pulumi.Output<string>;
|
|
102
125
|
/**
|
|
@@ -113,43 +136,43 @@ export declare class View extends pulumi.CustomResource {
|
|
|
113
136
|
*/
|
|
114
137
|
export interface ViewState {
|
|
115
138
|
/**
|
|
116
|
-
*
|
|
139
|
+
* Column configuration
|
|
117
140
|
*/
|
|
118
141
|
columns?: pulumi.Input<pulumi.Input<inputs.log.ViewColumn>[]>;
|
|
119
142
|
/**
|
|
120
|
-
*
|
|
143
|
+
* default connection that the dashboard uses
|
|
121
144
|
*/
|
|
122
145
|
defaultConnection?: pulumi.Input<string>;
|
|
123
146
|
/**
|
|
124
|
-
* Description of the
|
|
147
|
+
* Description of the chart (Optional)
|
|
125
148
|
*/
|
|
126
149
|
description?: pulumi.Input<string>;
|
|
127
150
|
/**
|
|
128
|
-
* Seconds since epoch
|
|
151
|
+
* Seconds since epoch to end the visualization
|
|
129
152
|
*/
|
|
130
153
|
endTime?: pulumi.Input<number>;
|
|
131
154
|
/**
|
|
132
|
-
* Name of the
|
|
155
|
+
* Name of the chart
|
|
133
156
|
*/
|
|
134
157
|
name?: pulumi.Input<string>;
|
|
135
158
|
/**
|
|
136
|
-
* Signalflow program text for the
|
|
159
|
+
* Signalflow program text for the chart. More info at "https://developers.signalfx.com/docs/signalflow-overview"
|
|
137
160
|
*/
|
|
138
161
|
programText?: pulumi.Input<string>;
|
|
139
162
|
/**
|
|
140
|
-
*
|
|
163
|
+
* Sorting options configuration
|
|
141
164
|
*/
|
|
142
165
|
sortOptions?: pulumi.Input<pulumi.Input<inputs.log.ViewSortOption>[]>;
|
|
143
166
|
/**
|
|
144
|
-
* Seconds since epoch
|
|
167
|
+
* Seconds since epoch to start the visualization
|
|
145
168
|
*/
|
|
146
169
|
startTime?: pulumi.Input<number>;
|
|
147
170
|
/**
|
|
148
|
-
*
|
|
171
|
+
* Seconds to display in the visualization. This is a rolling range from the current time. Example: 3600 = `-1h`
|
|
149
172
|
*/
|
|
150
173
|
timeRange?: pulumi.Input<number>;
|
|
151
174
|
/**
|
|
152
|
-
*
|
|
175
|
+
* URL of the chart
|
|
153
176
|
*/
|
|
154
177
|
url?: pulumi.Input<string>;
|
|
155
178
|
}
|
|
@@ -158,39 +181,39 @@ export interface ViewState {
|
|
|
158
181
|
*/
|
|
159
182
|
export interface ViewArgs {
|
|
160
183
|
/**
|
|
161
|
-
*
|
|
184
|
+
* Column configuration
|
|
162
185
|
*/
|
|
163
186
|
columns?: pulumi.Input<pulumi.Input<inputs.log.ViewColumn>[]>;
|
|
164
187
|
/**
|
|
165
|
-
*
|
|
188
|
+
* default connection that the dashboard uses
|
|
166
189
|
*/
|
|
167
190
|
defaultConnection?: pulumi.Input<string>;
|
|
168
191
|
/**
|
|
169
|
-
* Description of the
|
|
192
|
+
* Description of the chart (Optional)
|
|
170
193
|
*/
|
|
171
194
|
description?: pulumi.Input<string>;
|
|
172
195
|
/**
|
|
173
|
-
* Seconds since epoch
|
|
196
|
+
* Seconds since epoch to end the visualization
|
|
174
197
|
*/
|
|
175
198
|
endTime?: pulumi.Input<number>;
|
|
176
199
|
/**
|
|
177
|
-
* Name of the
|
|
200
|
+
* Name of the chart
|
|
178
201
|
*/
|
|
179
202
|
name?: pulumi.Input<string>;
|
|
180
203
|
/**
|
|
181
|
-
* Signalflow program text for the
|
|
204
|
+
* Signalflow program text for the chart. More info at "https://developers.signalfx.com/docs/signalflow-overview"
|
|
182
205
|
*/
|
|
183
206
|
programText: pulumi.Input<string>;
|
|
184
207
|
/**
|
|
185
|
-
*
|
|
208
|
+
* Sorting options configuration
|
|
186
209
|
*/
|
|
187
210
|
sortOptions?: pulumi.Input<pulumi.Input<inputs.log.ViewSortOption>[]>;
|
|
188
211
|
/**
|
|
189
|
-
* Seconds since epoch
|
|
212
|
+
* Seconds since epoch to start the visualization
|
|
190
213
|
*/
|
|
191
214
|
startTime?: pulumi.Input<number>;
|
|
192
215
|
/**
|
|
193
|
-
*
|
|
216
|
+
* Seconds to display in the visualization. This is a rolling range from the current time. Example: 3600 = `-1h`
|
|
194
217
|
*/
|
|
195
218
|
timeRange?: pulumi.Input<number>;
|
|
196
219
|
}
|
package/log/view.js
CHANGED
|
@@ -6,9 +6,11 @@ exports.View = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* You can add logs data to your Observability Cloud dashboards without turning your logs into metrics first.
|
|
9
|
+
* You can add logs data to your Observability Cloud dashboards without turning your logs into metrics first.
|
|
10
10
|
*
|
|
11
|
-
*
|
|
11
|
+
* A log view displays log lines in a table form in a dashboard and shows you in detail what is happening and why.
|
|
12
|
+
*
|
|
13
|
+
* ## Example
|
|
12
14
|
*
|
|
13
15
|
* ```typescript
|
|
14
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -46,6 +48,27 @@ const utilities = require("../utilities");
|
|
|
46
48
|
* timeRange: 900,
|
|
47
49
|
* });
|
|
48
50
|
* ```
|
|
51
|
+
*
|
|
52
|
+
* ## Arguments
|
|
53
|
+
*
|
|
54
|
+
* The following arguments are supported in the resource block:
|
|
55
|
+
*
|
|
56
|
+
* * `name` - (Required) Name of the log view.
|
|
57
|
+
* * `programText` - (Required) Signalflow program text for the log view. More info at https://developers.signalfx.com/docs/signalflow-overview.
|
|
58
|
+
* * `description` - (Optional) Description of the log view.
|
|
59
|
+
* * `timeRange` - (Optional) From when to display data. Splunk Observability Cloud time syntax (e.g. `"-5m"`, `"-1h"`). Conflicts with `startTime` and `endTime`.
|
|
60
|
+
* * `startTime` - (Optional) Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
|
|
61
|
+
* * `endTime` - (Optional) Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
|
|
62
|
+
* * `columns` - (Optional) The column headers to show on the log view.
|
|
63
|
+
* * `sortOptions` - (Optional) The sorting options configuration to specify if the log view table needs to be sorted in a particular field.
|
|
64
|
+
* * `defaultConnection` - (Optional) The connection that the log view uses to fetch data. This could be Splunk Enterprise, Splunk Enterprise Cloud or Observability Cloud.
|
|
65
|
+
*
|
|
66
|
+
* ## Attributes
|
|
67
|
+
*
|
|
68
|
+
* In a addition to all arguments above, the following attributes are exported:
|
|
69
|
+
*
|
|
70
|
+
* * `id` - The ID of the log view.
|
|
71
|
+
* * `url` - The URL of the log view.
|
|
49
72
|
*/
|
|
50
73
|
class View extends pulumi.CustomResource {
|
|
51
74
|
/**
|
package/log/view.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view.js","sourceRoot":"","sources":["../../log/view.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"view.js","sourceRoot":"","sources":["../../log/view.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,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CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,yBAAyB,EAAE,CAAC,EAAE,CAAC;QACrE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AAhHL,oBAiHC;AAnGG,gBAAgB;AACO,iBAAY,GAAG,wBAAwB,CAAC"}
|
package/metricRuleset.d.ts
CHANGED
|
@@ -2,9 +2,31 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* Provides an Observability Cloud resource for managing metric rulesets
|
|
5
|
+
* Provides an Observability Cloud resource for managing metric rulesets.
|
|
6
6
|
*
|
|
7
|
-
* > **NOTE** When managing metric rulesets to drop data use a session token for an administrator to authenticate the
|
|
7
|
+
* > **NOTE** When managing metric rulesets to drop data use a session token for an administrator to authenticate the Splunk Observability Cloud provider. See [Operations that require a session token for an administrator](https://dev.splunk.com/observability/docs/administration/authtokens#Operations-that-require-a-session-token-for-an-administrator). Otherwise you'll receive a 4xx error.
|
|
8
|
+
*
|
|
9
|
+
* ## Arguments
|
|
10
|
+
*
|
|
11
|
+
* The following arguments are supported in the resource block:
|
|
12
|
+
*
|
|
13
|
+
* * `metricName` - (Required) Name of the input metric
|
|
14
|
+
* * `aggregationRules` - (Optional) List of aggregation rules for the metric
|
|
15
|
+
* * `enabled` - (Required) When false, this rule will not generate aggregated MTSs
|
|
16
|
+
* * `name` - (Optional) name of the aggregation rule
|
|
17
|
+
* * `matcher` - (Required) Matcher object
|
|
18
|
+
* * `type` - (Required) Type of matcher. Must always be "dimension"
|
|
19
|
+
* * `filters` - (Optional) List of filters to filter the set of input MTSs
|
|
20
|
+
* * `property` - (Required) - Name of the dimension
|
|
21
|
+
* * `propertyValue` - (Required) - Value of the dimension
|
|
22
|
+
* * `not` - When true, this filter will match all values not matching the propertyValues
|
|
23
|
+
* * `aggregator` - (Required) - Aggregator object
|
|
24
|
+
* * `type` - (Required) Type of aggregator. Must always be "rollup"
|
|
25
|
+
* * `dimensions` - (Required) List of dimensions to either be kept or dropped in the new aggregated MTSs
|
|
26
|
+
* * `dropDimensions` - (Required) when true, the specified dimensions will be dropped from the aggregated MTSs
|
|
27
|
+
* * `outputName` - (Required) name of the new aggregated metric
|
|
28
|
+
* * `routingRule` - (Required) Routing Rule object
|
|
29
|
+
* * `destination` - (Required) - end destination of the input metric. Must be `RealTime` or `Drop`
|
|
8
30
|
*/
|
|
9
31
|
export declare class MetricRuleset extends pulumi.CustomResource {
|
|
10
32
|
/**
|
|
@@ -23,7 +45,7 @@ export declare class MetricRuleset extends pulumi.CustomResource {
|
|
|
23
45
|
*/
|
|
24
46
|
static isInstance(obj: any): obj is MetricRuleset;
|
|
25
47
|
/**
|
|
26
|
-
*
|
|
48
|
+
* Aggregation rules in the ruleset
|
|
27
49
|
*/
|
|
28
50
|
readonly aggregationRules: pulumi.Output<outputs.MetricRulesetAggregationRule[] | undefined>;
|
|
29
51
|
/**
|
|
@@ -47,11 +69,11 @@ export declare class MetricRuleset extends pulumi.CustomResource {
|
|
|
47
69
|
*/
|
|
48
70
|
readonly lastUpdatedByName: pulumi.Output<string>;
|
|
49
71
|
/**
|
|
50
|
-
* Name of the
|
|
72
|
+
* Name of the metric
|
|
51
73
|
*/
|
|
52
74
|
readonly metricName: pulumi.Output<string>;
|
|
53
75
|
/**
|
|
54
|
-
*
|
|
76
|
+
* Location to send the input metric
|
|
55
77
|
*/
|
|
56
78
|
readonly routingRules: pulumi.Output<outputs.MetricRulesetRoutingRule[]>;
|
|
57
79
|
/**
|
|
@@ -72,7 +94,7 @@ export declare class MetricRuleset extends pulumi.CustomResource {
|
|
|
72
94
|
*/
|
|
73
95
|
export interface MetricRulesetState {
|
|
74
96
|
/**
|
|
75
|
-
*
|
|
97
|
+
* Aggregation rules in the ruleset
|
|
76
98
|
*/
|
|
77
99
|
aggregationRules?: pulumi.Input<pulumi.Input<inputs.MetricRulesetAggregationRule>[]>;
|
|
78
100
|
/**
|
|
@@ -96,11 +118,11 @@ export interface MetricRulesetState {
|
|
|
96
118
|
*/
|
|
97
119
|
lastUpdatedByName?: pulumi.Input<string>;
|
|
98
120
|
/**
|
|
99
|
-
* Name of the
|
|
121
|
+
* Name of the metric
|
|
100
122
|
*/
|
|
101
123
|
metricName?: pulumi.Input<string>;
|
|
102
124
|
/**
|
|
103
|
-
*
|
|
125
|
+
* Location to send the input metric
|
|
104
126
|
*/
|
|
105
127
|
routingRules?: pulumi.Input<pulumi.Input<inputs.MetricRulesetRoutingRule>[]>;
|
|
106
128
|
/**
|
|
@@ -113,15 +135,15 @@ export interface MetricRulesetState {
|
|
|
113
135
|
*/
|
|
114
136
|
export interface MetricRulesetArgs {
|
|
115
137
|
/**
|
|
116
|
-
*
|
|
138
|
+
* Aggregation rules in the ruleset
|
|
117
139
|
*/
|
|
118
140
|
aggregationRules?: pulumi.Input<pulumi.Input<inputs.MetricRulesetAggregationRule>[]>;
|
|
119
141
|
/**
|
|
120
|
-
* Name of the
|
|
142
|
+
* Name of the metric
|
|
121
143
|
*/
|
|
122
144
|
metricName: pulumi.Input<string>;
|
|
123
145
|
/**
|
|
124
|
-
*
|
|
146
|
+
* Location to send the input metric
|
|
125
147
|
*/
|
|
126
148
|
routingRules: pulumi.Input<pulumi.Input<inputs.MetricRulesetRoutingRule>[]>;
|
|
127
149
|
}
|
package/metricRuleset.js
CHANGED
|
@@ -6,9 +6,31 @@ exports.MetricRuleset = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Provides an Observability Cloud resource for managing metric rulesets
|
|
9
|
+
* Provides an Observability Cloud resource for managing metric rulesets.
|
|
10
10
|
*
|
|
11
|
-
* > **NOTE** When managing metric rulesets to drop data use a session token for an administrator to authenticate the
|
|
11
|
+
* > **NOTE** When managing metric rulesets to drop data use a session token for an administrator to authenticate the Splunk Observability Cloud provider. See [Operations that require a session token for an administrator](https://dev.splunk.com/observability/docs/administration/authtokens#Operations-that-require-a-session-token-for-an-administrator). Otherwise you'll receive a 4xx error.
|
|
12
|
+
*
|
|
13
|
+
* ## Arguments
|
|
14
|
+
*
|
|
15
|
+
* The following arguments are supported in the resource block:
|
|
16
|
+
*
|
|
17
|
+
* * `metricName` - (Required) Name of the input metric
|
|
18
|
+
* * `aggregationRules` - (Optional) List of aggregation rules for the metric
|
|
19
|
+
* * `enabled` - (Required) When false, this rule will not generate aggregated MTSs
|
|
20
|
+
* * `name` - (Optional) name of the aggregation rule
|
|
21
|
+
* * `matcher` - (Required) Matcher object
|
|
22
|
+
* * `type` - (Required) Type of matcher. Must always be "dimension"
|
|
23
|
+
* * `filters` - (Optional) List of filters to filter the set of input MTSs
|
|
24
|
+
* * `property` - (Required) - Name of the dimension
|
|
25
|
+
* * `propertyValue` - (Required) - Value of the dimension
|
|
26
|
+
* * `not` - When true, this filter will match all values not matching the propertyValues
|
|
27
|
+
* * `aggregator` - (Required) - Aggregator object
|
|
28
|
+
* * `type` - (Required) Type of aggregator. Must always be "rollup"
|
|
29
|
+
* * `dimensions` - (Required) List of dimensions to either be kept or dropped in the new aggregated MTSs
|
|
30
|
+
* * `dropDimensions` - (Required) when true, the specified dimensions will be dropped from the aggregated MTSs
|
|
31
|
+
* * `outputName` - (Required) name of the new aggregated metric
|
|
32
|
+
* * `routingRule` - (Required) Routing Rule object
|
|
33
|
+
* * `destination` - (Required) - end destination of the input metric. Must be `RealTime` or `Drop`
|
|
12
34
|
*/
|
|
13
35
|
class MetricRuleset extends pulumi.CustomResource {
|
|
14
36
|
/**
|
package/metricRuleset.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metricRuleset.js","sourceRoot":"","sources":["../metricRuleset.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"metricRuleset.js","sourceRoot":"","sources":["../metricRuleset.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IA+CD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAA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