pulumi-signalfx 7.2.0a1709367777__py3-none-any.whl → 7.6.0a1736835428__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_signalfx/__init__.py +9 -0
- pulumi_signalfx/_inputs.py +1976 -339
- pulumi_signalfx/_utilities.py +41 -5
- pulumi_signalfx/alert_muting_rule.py +110 -86
- pulumi_signalfx/aws/_inputs.py +85 -16
- pulumi_signalfx/aws/external_integration.py +20 -275
- pulumi_signalfx/aws/integration.py +222 -367
- pulumi_signalfx/aws/outputs.py +21 -16
- pulumi_signalfx/aws/token_integration.py +46 -65
- pulumi_signalfx/azure/_inputs.py +41 -4
- pulumi_signalfx/azure/integration.py +144 -259
- pulumi_signalfx/azure/outputs.py +15 -4
- pulumi_signalfx/config/__init__.pyi +22 -0
- pulumi_signalfx/config/vars.py +28 -0
- pulumi_signalfx/dashboard.py +171 -186
- pulumi_signalfx/dashboard_group.py +131 -198
- pulumi_signalfx/data_link.py +76 -141
- pulumi_signalfx/detector.py +264 -369
- pulumi_signalfx/event_feed_chart.py +51 -82
- pulumi_signalfx/gcp/_inputs.py +51 -0
- pulumi_signalfx/gcp/integration.py +224 -192
- pulumi_signalfx/gcp/outputs.py +44 -0
- pulumi_signalfx/get_dimension_values.py +47 -24
- pulumi_signalfx/heatmap_chart.py +165 -228
- pulumi_signalfx/jira/integration.py +70 -119
- pulumi_signalfx/list_chart.py +219 -315
- pulumi_signalfx/log/_inputs.py +33 -2
- pulumi_signalfx/log/outputs.py +7 -2
- pulumi_signalfx/log/timeline.py +64 -99
- pulumi_signalfx/log/view.py +134 -173
- pulumi_signalfx/metric_ruleset.py +217 -70
- pulumi_signalfx/opsgenie/integration.py +41 -60
- pulumi_signalfx/org_token.py +97 -128
- pulumi_signalfx/outputs.py +661 -339
- pulumi_signalfx/pagerduty/get_integration.py +22 -21
- pulumi_signalfx/pagerduty/integration.py +34 -49
- pulumi_signalfx/provider.py +99 -0
- pulumi_signalfx/pulumi-plugin.json +2 -1
- pulumi_signalfx/servicenow/integration.py +52 -107
- pulumi_signalfx/single_value_chart.py +113 -178
- pulumi_signalfx/slack/integration.py +30 -47
- pulumi_signalfx/slo.py +99 -197
- pulumi_signalfx/slo_chart.py +197 -0
- pulumi_signalfx/table_chart.py +50 -75
- pulumi_signalfx/team.py +74 -109
- pulumi_signalfx/text_chart.py +64 -89
- pulumi_signalfx/time_chart.py +271 -400
- pulumi_signalfx/victorops/integration.py +30 -47
- pulumi_signalfx/webhook_integration.py +154 -75
- {pulumi_signalfx-7.2.0a1709367777.dist-info → pulumi_signalfx-7.6.0a1736835428.dist-info}/METADATA +7 -6
- pulumi_signalfx-7.6.0a1736835428.dist-info/RECORD +65 -0
- {pulumi_signalfx-7.2.0a1709367777.dist-info → pulumi_signalfx-7.6.0a1736835428.dist-info}/WHEEL +1 -1
- pulumi_signalfx-7.2.0a1709367777.dist-info/RECORD +0 -64
- {pulumi_signalfx-7.2.0a1709367777.dist-info → pulumi_signalfx-7.6.0a1736835428.dist-info}/top_level.txt +0 -0
pulumi_signalfx/log/_inputs.py
CHANGED
|
@@ -4,22 +4,40 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from .. import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = [
|
|
13
18
|
'ViewColumnArgs',
|
|
19
|
+
'ViewColumnArgsDict',
|
|
14
20
|
'ViewSortOptionArgs',
|
|
21
|
+
'ViewSortOptionArgsDict',
|
|
15
22
|
]
|
|
16
23
|
|
|
24
|
+
MYPY = False
|
|
25
|
+
|
|
26
|
+
if not MYPY:
|
|
27
|
+
class ViewColumnArgsDict(TypedDict):
|
|
28
|
+
name: pulumi.Input[str]
|
|
29
|
+
"""
|
|
30
|
+
Name of the log view.
|
|
31
|
+
"""
|
|
32
|
+
elif False:
|
|
33
|
+
ViewColumnArgsDict: TypeAlias = Mapping[str, Any]
|
|
34
|
+
|
|
17
35
|
@pulumi.input_type
|
|
18
36
|
class ViewColumnArgs:
|
|
19
37
|
def __init__(__self__, *,
|
|
20
38
|
name: pulumi.Input[str]):
|
|
21
39
|
"""
|
|
22
|
-
:param pulumi.Input[str] name: Name of the
|
|
40
|
+
:param pulumi.Input[str] name: Name of the log view.
|
|
23
41
|
"""
|
|
24
42
|
pulumi.set(__self__, "name", name)
|
|
25
43
|
|
|
@@ -27,7 +45,7 @@ class ViewColumnArgs:
|
|
|
27
45
|
@pulumi.getter
|
|
28
46
|
def name(self) -> pulumi.Input[str]:
|
|
29
47
|
"""
|
|
30
|
-
Name of the
|
|
48
|
+
Name of the log view.
|
|
31
49
|
"""
|
|
32
50
|
return pulumi.get(self, "name")
|
|
33
51
|
|
|
@@ -36,6 +54,19 @@ class ViewColumnArgs:
|
|
|
36
54
|
pulumi.set(self, "name", value)
|
|
37
55
|
|
|
38
56
|
|
|
57
|
+
if not MYPY:
|
|
58
|
+
class ViewSortOptionArgsDict(TypedDict):
|
|
59
|
+
descending: pulumi.Input[bool]
|
|
60
|
+
"""
|
|
61
|
+
Name of the column
|
|
62
|
+
"""
|
|
63
|
+
field: pulumi.Input[str]
|
|
64
|
+
"""
|
|
65
|
+
Name of the column
|
|
66
|
+
"""
|
|
67
|
+
elif False:
|
|
68
|
+
ViewSortOptionArgsDict: TypeAlias = Mapping[str, Any]
|
|
69
|
+
|
|
39
70
|
@pulumi.input_type
|
|
40
71
|
class ViewSortOptionArgs:
|
|
41
72
|
def __init__(__self__, *,
|
pulumi_signalfx/log/outputs.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from .. import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = [
|
|
@@ -19,7 +24,7 @@ class ViewColumn(dict):
|
|
|
19
24
|
def __init__(__self__, *,
|
|
20
25
|
name: str):
|
|
21
26
|
"""
|
|
22
|
-
:param str name: Name of the
|
|
27
|
+
:param str name: Name of the log view.
|
|
23
28
|
"""
|
|
24
29
|
pulumi.set(__self__, "name", name)
|
|
25
30
|
|
|
@@ -27,7 +32,7 @@ class ViewColumn(dict):
|
|
|
27
32
|
@pulumi.getter
|
|
28
33
|
def name(self) -> str:
|
|
29
34
|
"""
|
|
30
|
-
Name of the
|
|
35
|
+
Name of the log view.
|
|
31
36
|
"""
|
|
32
37
|
return pulumi.get(self, "name")
|
|
33
38
|
|
pulumi_signalfx/log/timeline.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from .. import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = ['TimelineArgs', 'Timeline']
|
|
@@ -23,13 +28,13 @@ class TimelineArgs:
|
|
|
23
28
|
time_range: Optional[pulumi.Input[int]] = None):
|
|
24
29
|
"""
|
|
25
30
|
The set of arguments for constructing a Timeline resource.
|
|
26
|
-
:param pulumi.Input[str] program_text: Signalflow program text for the
|
|
27
|
-
:param pulumi.Input[str] default_connection:
|
|
28
|
-
:param pulumi.Input[str] description: Description of the
|
|
29
|
-
:param pulumi.Input[int] end_time: Seconds since epoch
|
|
30
|
-
:param pulumi.Input[str] name: Name of the
|
|
31
|
-
:param pulumi.Input[int] start_time: Seconds since epoch
|
|
32
|
-
:param pulumi.Input[int] time_range:
|
|
31
|
+
:param pulumi.Input[str] program_text: Signalflow program text for the log timeline. More info at https://dev.splunk.com/observability/docs/.
|
|
32
|
+
:param pulumi.Input[str] default_connection: The connection that the log timeline uses to fetch data. This could be Splunk Enterprise, Splunk Enterprise Cloud or Observability Cloud.
|
|
33
|
+
:param pulumi.Input[str] description: Description of the log timeline.
|
|
34
|
+
:param pulumi.Input[int] end_time: Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
35
|
+
:param pulumi.Input[str] name: Name of the log timeline.
|
|
36
|
+
:param pulumi.Input[int] start_time: Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
37
|
+
:param pulumi.Input[int] time_range: From when to display data. Splunk Observability Cloud time syntax (e.g. `"-5m"`, `"-1h"`). Conflicts with `start_time` and `end_time`.
|
|
33
38
|
"""
|
|
34
39
|
pulumi.set(__self__, "program_text", program_text)
|
|
35
40
|
if default_connection is not None:
|
|
@@ -49,7 +54,7 @@ class TimelineArgs:
|
|
|
49
54
|
@pulumi.getter(name="programText")
|
|
50
55
|
def program_text(self) -> pulumi.Input[str]:
|
|
51
56
|
"""
|
|
52
|
-
Signalflow program text for the
|
|
57
|
+
Signalflow program text for the log timeline. More info at https://dev.splunk.com/observability/docs/.
|
|
53
58
|
"""
|
|
54
59
|
return pulumi.get(self, "program_text")
|
|
55
60
|
|
|
@@ -61,7 +66,7 @@ class TimelineArgs:
|
|
|
61
66
|
@pulumi.getter(name="defaultConnection")
|
|
62
67
|
def default_connection(self) -> Optional[pulumi.Input[str]]:
|
|
63
68
|
"""
|
|
64
|
-
|
|
69
|
+
The connection that the log timeline uses to fetch data. This could be Splunk Enterprise, Splunk Enterprise Cloud or Observability Cloud.
|
|
65
70
|
"""
|
|
66
71
|
return pulumi.get(self, "default_connection")
|
|
67
72
|
|
|
@@ -73,7 +78,7 @@ class TimelineArgs:
|
|
|
73
78
|
@pulumi.getter
|
|
74
79
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
75
80
|
"""
|
|
76
|
-
Description of the
|
|
81
|
+
Description of the log timeline.
|
|
77
82
|
"""
|
|
78
83
|
return pulumi.get(self, "description")
|
|
79
84
|
|
|
@@ -85,7 +90,7 @@ class TimelineArgs:
|
|
|
85
90
|
@pulumi.getter(name="endTime")
|
|
86
91
|
def end_time(self) -> Optional[pulumi.Input[int]]:
|
|
87
92
|
"""
|
|
88
|
-
Seconds since epoch
|
|
93
|
+
Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
89
94
|
"""
|
|
90
95
|
return pulumi.get(self, "end_time")
|
|
91
96
|
|
|
@@ -97,7 +102,7 @@ class TimelineArgs:
|
|
|
97
102
|
@pulumi.getter
|
|
98
103
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
99
104
|
"""
|
|
100
|
-
Name of the
|
|
105
|
+
Name of the log timeline.
|
|
101
106
|
"""
|
|
102
107
|
return pulumi.get(self, "name")
|
|
103
108
|
|
|
@@ -109,7 +114,7 @@ class TimelineArgs:
|
|
|
109
114
|
@pulumi.getter(name="startTime")
|
|
110
115
|
def start_time(self) -> Optional[pulumi.Input[int]]:
|
|
111
116
|
"""
|
|
112
|
-
Seconds since epoch
|
|
117
|
+
Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
113
118
|
"""
|
|
114
119
|
return pulumi.get(self, "start_time")
|
|
115
120
|
|
|
@@ -121,7 +126,7 @@ class TimelineArgs:
|
|
|
121
126
|
@pulumi.getter(name="timeRange")
|
|
122
127
|
def time_range(self) -> Optional[pulumi.Input[int]]:
|
|
123
128
|
"""
|
|
124
|
-
|
|
129
|
+
From when to display data. Splunk Observability Cloud time syntax (e.g. `"-5m"`, `"-1h"`). Conflicts with `start_time` and `end_time`.
|
|
125
130
|
"""
|
|
126
131
|
return pulumi.get(self, "time_range")
|
|
127
132
|
|
|
@@ -143,14 +148,14 @@ class _TimelineState:
|
|
|
143
148
|
url: Optional[pulumi.Input[str]] = None):
|
|
144
149
|
"""
|
|
145
150
|
Input properties used for looking up and filtering Timeline resources.
|
|
146
|
-
:param pulumi.Input[str] default_connection:
|
|
147
|
-
:param pulumi.Input[str] description: Description of the
|
|
148
|
-
:param pulumi.Input[int] end_time: Seconds since epoch
|
|
149
|
-
:param pulumi.Input[str] name: Name of the
|
|
150
|
-
:param pulumi.Input[str] program_text: Signalflow program text for the
|
|
151
|
-
:param pulumi.Input[int] start_time: Seconds since epoch
|
|
152
|
-
:param pulumi.Input[int] time_range:
|
|
153
|
-
:param pulumi.Input[str] url: URL of the
|
|
151
|
+
:param pulumi.Input[str] default_connection: The connection that the log timeline uses to fetch data. This could be Splunk Enterprise, Splunk Enterprise Cloud or Observability Cloud.
|
|
152
|
+
:param pulumi.Input[str] description: Description of the log timeline.
|
|
153
|
+
:param pulumi.Input[int] end_time: Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
154
|
+
:param pulumi.Input[str] name: Name of the log timeline.
|
|
155
|
+
:param pulumi.Input[str] program_text: Signalflow program text for the log timeline. More info at https://dev.splunk.com/observability/docs/.
|
|
156
|
+
:param pulumi.Input[int] start_time: Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
157
|
+
:param pulumi.Input[int] time_range: From when to display data. Splunk Observability Cloud time syntax (e.g. `"-5m"`, `"-1h"`). Conflicts with `start_time` and `end_time`.
|
|
158
|
+
:param pulumi.Input[str] url: The URL of the log timeline.
|
|
154
159
|
"""
|
|
155
160
|
if default_connection is not None:
|
|
156
161
|
pulumi.set(__self__, "default_connection", default_connection)
|
|
@@ -173,7 +178,7 @@ class _TimelineState:
|
|
|
173
178
|
@pulumi.getter(name="defaultConnection")
|
|
174
179
|
def default_connection(self) -> Optional[pulumi.Input[str]]:
|
|
175
180
|
"""
|
|
176
|
-
|
|
181
|
+
The connection that the log timeline uses to fetch data. This could be Splunk Enterprise, Splunk Enterprise Cloud or Observability Cloud.
|
|
177
182
|
"""
|
|
178
183
|
return pulumi.get(self, "default_connection")
|
|
179
184
|
|
|
@@ -185,7 +190,7 @@ class _TimelineState:
|
|
|
185
190
|
@pulumi.getter
|
|
186
191
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
187
192
|
"""
|
|
188
|
-
Description of the
|
|
193
|
+
Description of the log timeline.
|
|
189
194
|
"""
|
|
190
195
|
return pulumi.get(self, "description")
|
|
191
196
|
|
|
@@ -197,7 +202,7 @@ class _TimelineState:
|
|
|
197
202
|
@pulumi.getter(name="endTime")
|
|
198
203
|
def end_time(self) -> Optional[pulumi.Input[int]]:
|
|
199
204
|
"""
|
|
200
|
-
Seconds since epoch
|
|
205
|
+
Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
201
206
|
"""
|
|
202
207
|
return pulumi.get(self, "end_time")
|
|
203
208
|
|
|
@@ -209,7 +214,7 @@ class _TimelineState:
|
|
|
209
214
|
@pulumi.getter
|
|
210
215
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
211
216
|
"""
|
|
212
|
-
Name of the
|
|
217
|
+
Name of the log timeline.
|
|
213
218
|
"""
|
|
214
219
|
return pulumi.get(self, "name")
|
|
215
220
|
|
|
@@ -221,7 +226,7 @@ class _TimelineState:
|
|
|
221
226
|
@pulumi.getter(name="programText")
|
|
222
227
|
def program_text(self) -> Optional[pulumi.Input[str]]:
|
|
223
228
|
"""
|
|
224
|
-
Signalflow program text for the
|
|
229
|
+
Signalflow program text for the log timeline. More info at https://dev.splunk.com/observability/docs/.
|
|
225
230
|
"""
|
|
226
231
|
return pulumi.get(self, "program_text")
|
|
227
232
|
|
|
@@ -233,7 +238,7 @@ class _TimelineState:
|
|
|
233
238
|
@pulumi.getter(name="startTime")
|
|
234
239
|
def start_time(self) -> Optional[pulumi.Input[int]]:
|
|
235
240
|
"""
|
|
236
|
-
Seconds since epoch
|
|
241
|
+
Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
237
242
|
"""
|
|
238
243
|
return pulumi.get(self, "start_time")
|
|
239
244
|
|
|
@@ -245,7 +250,7 @@ class _TimelineState:
|
|
|
245
250
|
@pulumi.getter(name="timeRange")
|
|
246
251
|
def time_range(self) -> Optional[pulumi.Input[int]]:
|
|
247
252
|
"""
|
|
248
|
-
|
|
253
|
+
From when to display data. Splunk Observability Cloud time syntax (e.g. `"-5m"`, `"-1h"`). Conflicts with `start_time` and `end_time`.
|
|
249
254
|
"""
|
|
250
255
|
return pulumi.get(self, "time_range")
|
|
251
256
|
|
|
@@ -257,7 +262,7 @@ class _TimelineState:
|
|
|
257
262
|
@pulumi.getter
|
|
258
263
|
def url(self) -> Optional[pulumi.Input[str]]:
|
|
259
264
|
"""
|
|
260
|
-
URL of the
|
|
265
|
+
The URL of the log timeline.
|
|
261
266
|
"""
|
|
262
267
|
return pulumi.get(self, "url")
|
|
263
268
|
|
|
@@ -290,42 +295,22 @@ class Timeline(pulumi.CustomResource):
|
|
|
290
295
|
import pulumi
|
|
291
296
|
import pulumi_signalfx as signalfx
|
|
292
297
|
|
|
293
|
-
my_log_timeline = signalfx.log.Timeline("
|
|
298
|
+
my_log_timeline = signalfx.log.Timeline("my_log_timeline",
|
|
299
|
+
name="Sample Log Timeline",
|
|
294
300
|
description="Lorem ipsum dolor sit amet, laudem tibique iracundia at mea. Nam posse dolores ex, nec cu adhuc putent honestatis",
|
|
295
|
-
program_text
|
|
296
|
-
|
|
297
|
-
\"\"\",
|
|
301
|
+
program_text="logs(filter=field('message') == 'Transaction processed' and field('service.name') == 'paymentservice').publish()\\n",
|
|
298
302
|
time_range=900)
|
|
299
303
|
```
|
|
300
304
|
|
|
301
|
-
## Arguments
|
|
302
|
-
|
|
303
|
-
The following arguments are supported in the resource block:
|
|
304
|
-
|
|
305
|
-
* `name` - (Required) Name of the log timeline.
|
|
306
|
-
* `program_text` - (Required) Signalflow program text for the log timeline. More info at https://dev.splunk.com/observability/docs/.
|
|
307
|
-
* `description` - (Optional) Description of the log timeline.
|
|
308
|
-
* `time_range` - (Optional) From when to display data. Splunk Observability Cloud time syntax (e.g. `"-5m"`, `"-1h"`). Conflicts with `start_time` and `end_time`.
|
|
309
|
-
* `start_time` - (Optional) Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
310
|
-
* `end_time` - (Optional) Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
311
|
-
* `default_connection` - (Optional) The connection that the log timeline uses to fetch data. This could be Splunk Enterprise, Splunk Enterprise Cloud or Observability Cloud.
|
|
312
|
-
|
|
313
|
-
## Attributes
|
|
314
|
-
|
|
315
|
-
In a addition to all arguments above, the following attributes are exported:
|
|
316
|
-
|
|
317
|
-
* `id` - The ID of the log timeline.
|
|
318
|
-
* `url` - The URL of the log timeline.
|
|
319
|
-
|
|
320
305
|
:param str resource_name: The name of the resource.
|
|
321
306
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
322
|
-
:param pulumi.Input[str] default_connection:
|
|
323
|
-
:param pulumi.Input[str] description: Description of the
|
|
324
|
-
:param pulumi.Input[int] end_time: Seconds since epoch
|
|
325
|
-
:param pulumi.Input[str] name: Name of the
|
|
326
|
-
:param pulumi.Input[str] program_text: Signalflow program text for the
|
|
327
|
-
:param pulumi.Input[int] start_time: Seconds since epoch
|
|
328
|
-
:param pulumi.Input[int] time_range:
|
|
307
|
+
:param pulumi.Input[str] default_connection: The connection that the log timeline uses to fetch data. This could be Splunk Enterprise, Splunk Enterprise Cloud or Observability Cloud.
|
|
308
|
+
:param pulumi.Input[str] description: Description of the log timeline.
|
|
309
|
+
:param pulumi.Input[int] end_time: Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
310
|
+
:param pulumi.Input[str] name: Name of the log timeline.
|
|
311
|
+
:param pulumi.Input[str] program_text: Signalflow program text for the log timeline. More info at https://dev.splunk.com/observability/docs/.
|
|
312
|
+
:param pulumi.Input[int] start_time: Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
313
|
+
:param pulumi.Input[int] time_range: From when to display data. Splunk Observability Cloud time syntax (e.g. `"-5m"`, `"-1h"`). Conflicts with `start_time` and `end_time`.
|
|
329
314
|
"""
|
|
330
315
|
...
|
|
331
316
|
@overload
|
|
@@ -344,33 +329,13 @@ class Timeline(pulumi.CustomResource):
|
|
|
344
329
|
import pulumi
|
|
345
330
|
import pulumi_signalfx as signalfx
|
|
346
331
|
|
|
347
|
-
my_log_timeline = signalfx.log.Timeline("
|
|
332
|
+
my_log_timeline = signalfx.log.Timeline("my_log_timeline",
|
|
333
|
+
name="Sample Log Timeline",
|
|
348
334
|
description="Lorem ipsum dolor sit amet, laudem tibique iracundia at mea. Nam posse dolores ex, nec cu adhuc putent honestatis",
|
|
349
|
-
program_text
|
|
350
|
-
|
|
351
|
-
\"\"\",
|
|
335
|
+
program_text="logs(filter=field('message') == 'Transaction processed' and field('service.name') == 'paymentservice').publish()\\n",
|
|
352
336
|
time_range=900)
|
|
353
337
|
```
|
|
354
338
|
|
|
355
|
-
## Arguments
|
|
356
|
-
|
|
357
|
-
The following arguments are supported in the resource block:
|
|
358
|
-
|
|
359
|
-
* `name` - (Required) Name of the log timeline.
|
|
360
|
-
* `program_text` - (Required) Signalflow program text for the log timeline. More info at https://dev.splunk.com/observability/docs/.
|
|
361
|
-
* `description` - (Optional) Description of the log timeline.
|
|
362
|
-
* `time_range` - (Optional) From when to display data. Splunk Observability Cloud time syntax (e.g. `"-5m"`, `"-1h"`). Conflicts with `start_time` and `end_time`.
|
|
363
|
-
* `start_time` - (Optional) Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
364
|
-
* `end_time` - (Optional) Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
365
|
-
* `default_connection` - (Optional) The connection that the log timeline uses to fetch data. This could be Splunk Enterprise, Splunk Enterprise Cloud or Observability Cloud.
|
|
366
|
-
|
|
367
|
-
## Attributes
|
|
368
|
-
|
|
369
|
-
In a addition to all arguments above, the following attributes are exported:
|
|
370
|
-
|
|
371
|
-
* `id` - The ID of the log timeline.
|
|
372
|
-
* `url` - The URL of the log timeline.
|
|
373
|
-
|
|
374
339
|
:param str resource_name: The name of the resource.
|
|
375
340
|
:param TimelineArgs args: The arguments to use to populate this resource's properties.
|
|
376
341
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -437,14 +402,14 @@ class Timeline(pulumi.CustomResource):
|
|
|
437
402
|
:param str resource_name: The unique name of the resulting resource.
|
|
438
403
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
439
404
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
440
|
-
:param pulumi.Input[str] default_connection:
|
|
441
|
-
:param pulumi.Input[str] description: Description of the
|
|
442
|
-
:param pulumi.Input[int] end_time: Seconds since epoch
|
|
443
|
-
:param pulumi.Input[str] name: Name of the
|
|
444
|
-
:param pulumi.Input[str] program_text: Signalflow program text for the
|
|
445
|
-
:param pulumi.Input[int] start_time: Seconds since epoch
|
|
446
|
-
:param pulumi.Input[int] time_range:
|
|
447
|
-
:param pulumi.Input[str] url: URL of the
|
|
405
|
+
:param pulumi.Input[str] default_connection: The connection that the log timeline uses to fetch data. This could be Splunk Enterprise, Splunk Enterprise Cloud or Observability Cloud.
|
|
406
|
+
:param pulumi.Input[str] description: Description of the log timeline.
|
|
407
|
+
:param pulumi.Input[int] end_time: Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
408
|
+
:param pulumi.Input[str] name: Name of the log timeline.
|
|
409
|
+
:param pulumi.Input[str] program_text: Signalflow program text for the log timeline. More info at https://dev.splunk.com/observability/docs/.
|
|
410
|
+
:param pulumi.Input[int] start_time: Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
411
|
+
:param pulumi.Input[int] time_range: From when to display data. Splunk Observability Cloud time syntax (e.g. `"-5m"`, `"-1h"`). Conflicts with `start_time` and `end_time`.
|
|
412
|
+
:param pulumi.Input[str] url: The URL of the log timeline.
|
|
448
413
|
"""
|
|
449
414
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
450
415
|
|
|
@@ -464,7 +429,7 @@ class Timeline(pulumi.CustomResource):
|
|
|
464
429
|
@pulumi.getter(name="defaultConnection")
|
|
465
430
|
def default_connection(self) -> pulumi.Output[Optional[str]]:
|
|
466
431
|
"""
|
|
467
|
-
|
|
432
|
+
The connection that the log timeline uses to fetch data. This could be Splunk Enterprise, Splunk Enterprise Cloud or Observability Cloud.
|
|
468
433
|
"""
|
|
469
434
|
return pulumi.get(self, "default_connection")
|
|
470
435
|
|
|
@@ -472,7 +437,7 @@ class Timeline(pulumi.CustomResource):
|
|
|
472
437
|
@pulumi.getter
|
|
473
438
|
def description(self) -> pulumi.Output[Optional[str]]:
|
|
474
439
|
"""
|
|
475
|
-
Description of the
|
|
440
|
+
Description of the log timeline.
|
|
476
441
|
"""
|
|
477
442
|
return pulumi.get(self, "description")
|
|
478
443
|
|
|
@@ -480,7 +445,7 @@ class Timeline(pulumi.CustomResource):
|
|
|
480
445
|
@pulumi.getter(name="endTime")
|
|
481
446
|
def end_time(self) -> pulumi.Output[Optional[int]]:
|
|
482
447
|
"""
|
|
483
|
-
Seconds since epoch
|
|
448
|
+
Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
484
449
|
"""
|
|
485
450
|
return pulumi.get(self, "end_time")
|
|
486
451
|
|
|
@@ -488,7 +453,7 @@ class Timeline(pulumi.CustomResource):
|
|
|
488
453
|
@pulumi.getter
|
|
489
454
|
def name(self) -> pulumi.Output[str]:
|
|
490
455
|
"""
|
|
491
|
-
Name of the
|
|
456
|
+
Name of the log timeline.
|
|
492
457
|
"""
|
|
493
458
|
return pulumi.get(self, "name")
|
|
494
459
|
|
|
@@ -496,7 +461,7 @@ class Timeline(pulumi.CustomResource):
|
|
|
496
461
|
@pulumi.getter(name="programText")
|
|
497
462
|
def program_text(self) -> pulumi.Output[str]:
|
|
498
463
|
"""
|
|
499
|
-
Signalflow program text for the
|
|
464
|
+
Signalflow program text for the log timeline. More info at https://dev.splunk.com/observability/docs/.
|
|
500
465
|
"""
|
|
501
466
|
return pulumi.get(self, "program_text")
|
|
502
467
|
|
|
@@ -504,7 +469,7 @@ class Timeline(pulumi.CustomResource):
|
|
|
504
469
|
@pulumi.getter(name="startTime")
|
|
505
470
|
def start_time(self) -> pulumi.Output[Optional[int]]:
|
|
506
471
|
"""
|
|
507
|
-
Seconds since epoch
|
|
472
|
+
Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
508
473
|
"""
|
|
509
474
|
return pulumi.get(self, "start_time")
|
|
510
475
|
|
|
@@ -512,7 +477,7 @@ class Timeline(pulumi.CustomResource):
|
|
|
512
477
|
@pulumi.getter(name="timeRange")
|
|
513
478
|
def time_range(self) -> pulumi.Output[Optional[int]]:
|
|
514
479
|
"""
|
|
515
|
-
|
|
480
|
+
From when to display data. Splunk Observability Cloud time syntax (e.g. `"-5m"`, `"-1h"`). Conflicts with `start_time` and `end_time`.
|
|
516
481
|
"""
|
|
517
482
|
return pulumi.get(self, "time_range")
|
|
518
483
|
|
|
@@ -520,7 +485,7 @@ class Timeline(pulumi.CustomResource):
|
|
|
520
485
|
@pulumi.getter
|
|
521
486
|
def url(self) -> pulumi.Output[str]:
|
|
522
487
|
"""
|
|
523
|
-
URL of the
|
|
488
|
+
The URL of the log timeline.
|
|
524
489
|
"""
|
|
525
490
|
return pulumi.get(self, "url")
|
|
526
491
|
|