pulumi-splunk 1.3.0a1735837426__py3-none-any.whl → 1.3.0a1763793741__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_splunk/__init__.py +2 -1
- pulumi_splunk/_inputs.py +1275 -1275
- pulumi_splunk/_utilities.py +9 -5
- pulumi_splunk/admin_saml_groups.py +37 -36
- pulumi_splunk/apps_local.py +210 -209
- pulumi_splunk/authentication_users.py +156 -155
- pulumi_splunk/authorization_roles.py +224 -223
- pulumi_splunk/config/__init__.py +2 -1
- pulumi_splunk/config/__init__.pyi +3 -4
- pulumi_splunk/config/vars.py +9 -10
- pulumi_splunk/configs_conf.py +40 -39
- pulumi_splunk/data_ui_views.py +40 -39
- pulumi_splunk/generic_acl.py +23 -22
- pulumi_splunk/global_http_event_collector.py +122 -121
- pulumi_splunk/indexes.py +652 -651
- pulumi_splunk/inputs_http_event_collector.py +159 -158
- pulumi_splunk/inputs_monitor.py +261 -260
- pulumi_splunk/inputs_script.py +159 -158
- pulumi_splunk/inputs_tcp_cooked.py +91 -90
- pulumi_splunk/inputs_tcp_raw.py +176 -175
- pulumi_splunk/inputs_tcp_splunk_tcp_token.py +40 -39
- pulumi_splunk/inputs_tcp_ssl.py +88 -87
- pulumi_splunk/inputs_udp.py +193 -192
- pulumi_splunk/lookup_definition.py +40 -39
- pulumi_splunk/lookup_table_file.py +71 -70
- pulumi_splunk/outputs.py +857 -857
- pulumi_splunk/outputs_tcp_default.py +142 -141
- pulumi_splunk/outputs_tcp_group.py +176 -175
- pulumi_splunk/outputs_tcp_server.py +176 -175
- pulumi_splunk/outputs_tcp_syslog.py +125 -124
- pulumi_splunk/provider.py +94 -78
- pulumi_splunk/pulumi-plugin.json +1 -1
- pulumi_splunk/saved_searches.py +3099 -2886
- pulumi_splunk/sh_indexes_manager.py +74 -73
- {pulumi_splunk-1.3.0a1735837426.dist-info → pulumi_splunk-1.3.0a1763793741.dist-info}/METADATA +3 -3
- pulumi_splunk-1.3.0a1763793741.dist-info/RECORD +39 -0
- {pulumi_splunk-1.3.0a1735837426.dist-info → pulumi_splunk-1.3.0a1763793741.dist-info}/WHEEL +1 -1
- pulumi_splunk-1.3.0a1735837426.dist-info/RECORD +0 -39
- {pulumi_splunk-1.3.0a1735837426.dist-info → pulumi_splunk-1.3.0a1763793741.dist-info}/top_level.txt +0 -0
pulumi_splunk/inputs_monitor.py
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -22,39 +22,39 @@ __all__ = ['InputsMonitorArgs', 'InputsMonitor']
|
|
|
22
22
|
class InputsMonitorArgs:
|
|
23
23
|
def __init__(__self__, *,
|
|
24
24
|
acl: Optional[pulumi.Input['InputsMonitorAclArgs']] = None,
|
|
25
|
-
blacklist: Optional[pulumi.Input[str]] = None,
|
|
26
|
-
crc_salt: Optional[pulumi.Input[str]] = None,
|
|
27
|
-
disabled: Optional[pulumi.Input[bool]] = None,
|
|
28
|
-
follow_tail: Optional[pulumi.Input[bool]] = None,
|
|
29
|
-
host: Optional[pulumi.Input[str]] = None,
|
|
30
|
-
host_regex: Optional[pulumi.Input[str]] = None,
|
|
31
|
-
host_segment: Optional[pulumi.Input[int]] = None,
|
|
32
|
-
ignore_older_than: Optional[pulumi.Input[str]] = None,
|
|
33
|
-
index: Optional[pulumi.Input[str]] = None,
|
|
34
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
35
|
-
recursive: Optional[pulumi.Input[bool]] = None,
|
|
36
|
-
rename_source: Optional[pulumi.Input[str]] = None,
|
|
37
|
-
sourcetype: Optional[pulumi.Input[str]] = None,
|
|
38
|
-
time_before_close: Optional[pulumi.Input[int]] = None,
|
|
39
|
-
whitelist: Optional[pulumi.Input[str]] = None):
|
|
25
|
+
blacklist: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
|
+
crc_salt: Optional[pulumi.Input[_builtins.str]] = None,
|
|
27
|
+
disabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
28
|
+
follow_tail: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
29
|
+
host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
30
|
+
host_regex: Optional[pulumi.Input[_builtins.str]] = None,
|
|
31
|
+
host_segment: Optional[pulumi.Input[_builtins.int]] = None,
|
|
32
|
+
ignore_older_than: Optional[pulumi.Input[_builtins.str]] = None,
|
|
33
|
+
index: Optional[pulumi.Input[_builtins.str]] = None,
|
|
34
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
35
|
+
recursive: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
36
|
+
rename_source: Optional[pulumi.Input[_builtins.str]] = None,
|
|
37
|
+
sourcetype: Optional[pulumi.Input[_builtins.str]] = None,
|
|
38
|
+
time_before_close: Optional[pulumi.Input[_builtins.int]] = None,
|
|
39
|
+
whitelist: Optional[pulumi.Input[_builtins.str]] = None):
|
|
40
40
|
"""
|
|
41
41
|
The set of arguments for constructing a InputsMonitor resource.
|
|
42
42
|
:param pulumi.Input['InputsMonitorAclArgs'] acl: The app/user context that is the namespace for the resource
|
|
43
|
-
:param pulumi.Input[str] blacklist: Specify a regular expression for a file path. The file path that matches this regular expression is not indexed.
|
|
44
|
-
:param pulumi.Input[str] crc_salt: A string that modifies the file tracking identity for files in this input. The magic value <SOURCE> invokes special behavior.
|
|
45
|
-
:param pulumi.Input[bool] disabled: Indicates if input monitoring is disabled.
|
|
46
|
-
:param pulumi.Input[bool] follow_tail: If set to true, files that are seen for the first time is read from the end.
|
|
47
|
-
:param pulumi.Input[str] host: The value to populate in the host field for events from this data input.
|
|
48
|
-
:param pulumi.Input[str] host_regex: Specify a regular expression for a file path. If the path for a file matches this regular expression, the captured value is used to populate the host field for events from this data input. The regular expression must have one capture group.
|
|
49
|
-
:param pulumi.Input[int] host_segment: Use the specified slash-separate segment of the filepath as the host field value.
|
|
50
|
-
:param pulumi.Input[str] ignore_older_than: Specify a time value. If the modification time of a file being monitored falls outside of this rolling time window, the file is no longer being monitored.
|
|
51
|
-
:param pulumi.Input[str] index: Which index events from this input should be stored in. Defaults to default.
|
|
52
|
-
:param pulumi.Input[str] name: The file or directory path to monitor on the system.
|
|
53
|
-
:param pulumi.Input[bool] recursive: Setting this to false prevents monitoring of any subdirectories encountered within this data input.
|
|
54
|
-
:param pulumi.Input[str] rename_source: The value to populate in the source field for events from this data input. The same source should not be used for multiple data inputs.
|
|
55
|
-
:param pulumi.Input[str] sourcetype: The value to populate in the sourcetype field for incoming events.
|
|
56
|
-
:param pulumi.Input[int] time_before_close: When Splunk software reaches the end of a file that is being read, the file is kept open for a minimum of the number of seconds specified in this value. After this period has elapsed, the file is checked again for more data.
|
|
57
|
-
:param pulumi.Input[str] whitelist: Specify a regular expression for a file path. Only file paths that match this regular expression are indexed.
|
|
43
|
+
:param pulumi.Input[_builtins.str] blacklist: Specify a regular expression for a file path. The file path that matches this regular expression is not indexed.
|
|
44
|
+
:param pulumi.Input[_builtins.str] crc_salt: A string that modifies the file tracking identity for files in this input. The magic value <SOURCE> invokes special behavior.
|
|
45
|
+
:param pulumi.Input[_builtins.bool] disabled: Indicates if input monitoring is disabled.
|
|
46
|
+
:param pulumi.Input[_builtins.bool] follow_tail: If set to true, files that are seen for the first time is read from the end.
|
|
47
|
+
:param pulumi.Input[_builtins.str] host: The value to populate in the host field for events from this data input.
|
|
48
|
+
:param pulumi.Input[_builtins.str] host_regex: Specify a regular expression for a file path. If the path for a file matches this regular expression, the captured value is used to populate the host field for events from this data input. The regular expression must have one capture group.
|
|
49
|
+
:param pulumi.Input[_builtins.int] host_segment: Use the specified slash-separate segment of the filepath as the host field value.
|
|
50
|
+
:param pulumi.Input[_builtins.str] ignore_older_than: Specify a time value. If the modification time of a file being monitored falls outside of this rolling time window, the file is no longer being monitored.
|
|
51
|
+
:param pulumi.Input[_builtins.str] index: Which index events from this input should be stored in. Defaults to default.
|
|
52
|
+
:param pulumi.Input[_builtins.str] name: The file or directory path to monitor on the system.
|
|
53
|
+
:param pulumi.Input[_builtins.bool] recursive: Setting this to false prevents monitoring of any subdirectories encountered within this data input.
|
|
54
|
+
:param pulumi.Input[_builtins.str] rename_source: The value to populate in the source field for events from this data input. The same source should not be used for multiple data inputs.
|
|
55
|
+
:param pulumi.Input[_builtins.str] sourcetype: The value to populate in the sourcetype field for incoming events.
|
|
56
|
+
:param pulumi.Input[_builtins.int] time_before_close: When Splunk software reaches the end of a file that is being read, the file is kept open for a minimum of the number of seconds specified in this value. After this period has elapsed, the file is checked again for more data.
|
|
57
|
+
:param pulumi.Input[_builtins.str] whitelist: Specify a regular expression for a file path. Only file paths that match this regular expression are indexed.
|
|
58
58
|
"""
|
|
59
59
|
if acl is not None:
|
|
60
60
|
pulumi.set(__self__, "acl", acl)
|
|
@@ -89,7 +89,7 @@ class InputsMonitorArgs:
|
|
|
89
89
|
if whitelist is not None:
|
|
90
90
|
pulumi.set(__self__, "whitelist", whitelist)
|
|
91
91
|
|
|
92
|
-
@property
|
|
92
|
+
@_builtins.property
|
|
93
93
|
@pulumi.getter
|
|
94
94
|
def acl(self) -> Optional[pulumi.Input['InputsMonitorAclArgs']]:
|
|
95
95
|
"""
|
|
@@ -101,184 +101,184 @@ class InputsMonitorArgs:
|
|
|
101
101
|
def acl(self, value: Optional[pulumi.Input['InputsMonitorAclArgs']]):
|
|
102
102
|
pulumi.set(self, "acl", value)
|
|
103
103
|
|
|
104
|
-
@property
|
|
104
|
+
@_builtins.property
|
|
105
105
|
@pulumi.getter
|
|
106
|
-
def blacklist(self) -> Optional[pulumi.Input[str]]:
|
|
106
|
+
def blacklist(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
107
107
|
"""
|
|
108
108
|
Specify a regular expression for a file path. The file path that matches this regular expression is not indexed.
|
|
109
109
|
"""
|
|
110
110
|
return pulumi.get(self, "blacklist")
|
|
111
111
|
|
|
112
112
|
@blacklist.setter
|
|
113
|
-
def blacklist(self, value: Optional[pulumi.Input[str]]):
|
|
113
|
+
def blacklist(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
114
114
|
pulumi.set(self, "blacklist", value)
|
|
115
115
|
|
|
116
|
-
@property
|
|
116
|
+
@_builtins.property
|
|
117
117
|
@pulumi.getter(name="crcSalt")
|
|
118
|
-
def crc_salt(self) -> Optional[pulumi.Input[str]]:
|
|
118
|
+
def crc_salt(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
119
119
|
"""
|
|
120
120
|
A string that modifies the file tracking identity for files in this input. The magic value <SOURCE> invokes special behavior.
|
|
121
121
|
"""
|
|
122
122
|
return pulumi.get(self, "crc_salt")
|
|
123
123
|
|
|
124
124
|
@crc_salt.setter
|
|
125
|
-
def crc_salt(self, value: Optional[pulumi.Input[str]]):
|
|
125
|
+
def crc_salt(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
126
126
|
pulumi.set(self, "crc_salt", value)
|
|
127
127
|
|
|
128
|
-
@property
|
|
128
|
+
@_builtins.property
|
|
129
129
|
@pulumi.getter
|
|
130
|
-
def disabled(self) -> Optional[pulumi.Input[bool]]:
|
|
130
|
+
def disabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
131
131
|
"""
|
|
132
132
|
Indicates if input monitoring is disabled.
|
|
133
133
|
"""
|
|
134
134
|
return pulumi.get(self, "disabled")
|
|
135
135
|
|
|
136
136
|
@disabled.setter
|
|
137
|
-
def disabled(self, value: Optional[pulumi.Input[bool]]):
|
|
137
|
+
def disabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
138
138
|
pulumi.set(self, "disabled", value)
|
|
139
139
|
|
|
140
|
-
@property
|
|
140
|
+
@_builtins.property
|
|
141
141
|
@pulumi.getter(name="followTail")
|
|
142
|
-
def follow_tail(self) -> Optional[pulumi.Input[bool]]:
|
|
142
|
+
def follow_tail(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
143
143
|
"""
|
|
144
144
|
If set to true, files that are seen for the first time is read from the end.
|
|
145
145
|
"""
|
|
146
146
|
return pulumi.get(self, "follow_tail")
|
|
147
147
|
|
|
148
148
|
@follow_tail.setter
|
|
149
|
-
def follow_tail(self, value: Optional[pulumi.Input[bool]]):
|
|
149
|
+
def follow_tail(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
150
150
|
pulumi.set(self, "follow_tail", value)
|
|
151
151
|
|
|
152
|
-
@property
|
|
152
|
+
@_builtins.property
|
|
153
153
|
@pulumi.getter
|
|
154
|
-
def host(self) -> Optional[pulumi.Input[str]]:
|
|
154
|
+
def host(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
155
155
|
"""
|
|
156
156
|
The value to populate in the host field for events from this data input.
|
|
157
157
|
"""
|
|
158
158
|
return pulumi.get(self, "host")
|
|
159
159
|
|
|
160
160
|
@host.setter
|
|
161
|
-
def host(self, value: Optional[pulumi.Input[str]]):
|
|
161
|
+
def host(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
162
162
|
pulumi.set(self, "host", value)
|
|
163
163
|
|
|
164
|
-
@property
|
|
164
|
+
@_builtins.property
|
|
165
165
|
@pulumi.getter(name="hostRegex")
|
|
166
|
-
def host_regex(self) -> Optional[pulumi.Input[str]]:
|
|
166
|
+
def host_regex(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
167
167
|
"""
|
|
168
168
|
Specify a regular expression for a file path. If the path for a file matches this regular expression, the captured value is used to populate the host field for events from this data input. The regular expression must have one capture group.
|
|
169
169
|
"""
|
|
170
170
|
return pulumi.get(self, "host_regex")
|
|
171
171
|
|
|
172
172
|
@host_regex.setter
|
|
173
|
-
def host_regex(self, value: Optional[pulumi.Input[str]]):
|
|
173
|
+
def host_regex(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
174
174
|
pulumi.set(self, "host_regex", value)
|
|
175
175
|
|
|
176
|
-
@property
|
|
176
|
+
@_builtins.property
|
|
177
177
|
@pulumi.getter(name="hostSegment")
|
|
178
|
-
def host_segment(self) -> Optional[pulumi.Input[int]]:
|
|
178
|
+
def host_segment(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
179
179
|
"""
|
|
180
180
|
Use the specified slash-separate segment of the filepath as the host field value.
|
|
181
181
|
"""
|
|
182
182
|
return pulumi.get(self, "host_segment")
|
|
183
183
|
|
|
184
184
|
@host_segment.setter
|
|
185
|
-
def host_segment(self, value: Optional[pulumi.Input[int]]):
|
|
185
|
+
def host_segment(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
186
186
|
pulumi.set(self, "host_segment", value)
|
|
187
187
|
|
|
188
|
-
@property
|
|
188
|
+
@_builtins.property
|
|
189
189
|
@pulumi.getter(name="ignoreOlderThan")
|
|
190
|
-
def ignore_older_than(self) -> Optional[pulumi.Input[str]]:
|
|
190
|
+
def ignore_older_than(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
191
191
|
"""
|
|
192
192
|
Specify a time value. If the modification time of a file being monitored falls outside of this rolling time window, the file is no longer being monitored.
|
|
193
193
|
"""
|
|
194
194
|
return pulumi.get(self, "ignore_older_than")
|
|
195
195
|
|
|
196
196
|
@ignore_older_than.setter
|
|
197
|
-
def ignore_older_than(self, value: Optional[pulumi.Input[str]]):
|
|
197
|
+
def ignore_older_than(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
198
198
|
pulumi.set(self, "ignore_older_than", value)
|
|
199
199
|
|
|
200
|
-
@property
|
|
200
|
+
@_builtins.property
|
|
201
201
|
@pulumi.getter
|
|
202
|
-
def index(self) -> Optional[pulumi.Input[str]]:
|
|
202
|
+
def index(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
203
203
|
"""
|
|
204
204
|
Which index events from this input should be stored in. Defaults to default.
|
|
205
205
|
"""
|
|
206
206
|
return pulumi.get(self, "index")
|
|
207
207
|
|
|
208
208
|
@index.setter
|
|
209
|
-
def index(self, value: Optional[pulumi.Input[str]]):
|
|
209
|
+
def index(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
210
210
|
pulumi.set(self, "index", value)
|
|
211
211
|
|
|
212
|
-
@property
|
|
212
|
+
@_builtins.property
|
|
213
213
|
@pulumi.getter
|
|
214
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
214
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
215
215
|
"""
|
|
216
216
|
The file or directory path to monitor on the system.
|
|
217
217
|
"""
|
|
218
218
|
return pulumi.get(self, "name")
|
|
219
219
|
|
|
220
220
|
@name.setter
|
|
221
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
221
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
222
222
|
pulumi.set(self, "name", value)
|
|
223
223
|
|
|
224
|
-
@property
|
|
224
|
+
@_builtins.property
|
|
225
225
|
@pulumi.getter
|
|
226
|
-
def recursive(self) -> Optional[pulumi.Input[bool]]:
|
|
226
|
+
def recursive(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
227
227
|
"""
|
|
228
228
|
Setting this to false prevents monitoring of any subdirectories encountered within this data input.
|
|
229
229
|
"""
|
|
230
230
|
return pulumi.get(self, "recursive")
|
|
231
231
|
|
|
232
232
|
@recursive.setter
|
|
233
|
-
def recursive(self, value: Optional[pulumi.Input[bool]]):
|
|
233
|
+
def recursive(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
234
234
|
pulumi.set(self, "recursive", value)
|
|
235
235
|
|
|
236
|
-
@property
|
|
236
|
+
@_builtins.property
|
|
237
237
|
@pulumi.getter(name="renameSource")
|
|
238
|
-
def rename_source(self) -> Optional[pulumi.Input[str]]:
|
|
238
|
+
def rename_source(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
239
239
|
"""
|
|
240
240
|
The value to populate in the source field for events from this data input. The same source should not be used for multiple data inputs.
|
|
241
241
|
"""
|
|
242
242
|
return pulumi.get(self, "rename_source")
|
|
243
243
|
|
|
244
244
|
@rename_source.setter
|
|
245
|
-
def rename_source(self, value: Optional[pulumi.Input[str]]):
|
|
245
|
+
def rename_source(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
246
246
|
pulumi.set(self, "rename_source", value)
|
|
247
247
|
|
|
248
|
-
@property
|
|
248
|
+
@_builtins.property
|
|
249
249
|
@pulumi.getter
|
|
250
|
-
def sourcetype(self) -> Optional[pulumi.Input[str]]:
|
|
250
|
+
def sourcetype(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
251
251
|
"""
|
|
252
252
|
The value to populate in the sourcetype field for incoming events.
|
|
253
253
|
"""
|
|
254
254
|
return pulumi.get(self, "sourcetype")
|
|
255
255
|
|
|
256
256
|
@sourcetype.setter
|
|
257
|
-
def sourcetype(self, value: Optional[pulumi.Input[str]]):
|
|
257
|
+
def sourcetype(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
258
258
|
pulumi.set(self, "sourcetype", value)
|
|
259
259
|
|
|
260
|
-
@property
|
|
260
|
+
@_builtins.property
|
|
261
261
|
@pulumi.getter(name="timeBeforeClose")
|
|
262
|
-
def time_before_close(self) -> Optional[pulumi.Input[int]]:
|
|
262
|
+
def time_before_close(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
263
263
|
"""
|
|
264
264
|
When Splunk software reaches the end of a file that is being read, the file is kept open for a minimum of the number of seconds specified in this value. After this period has elapsed, the file is checked again for more data.
|
|
265
265
|
"""
|
|
266
266
|
return pulumi.get(self, "time_before_close")
|
|
267
267
|
|
|
268
268
|
@time_before_close.setter
|
|
269
|
-
def time_before_close(self, value: Optional[pulumi.Input[int]]):
|
|
269
|
+
def time_before_close(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
270
270
|
pulumi.set(self, "time_before_close", value)
|
|
271
271
|
|
|
272
|
-
@property
|
|
272
|
+
@_builtins.property
|
|
273
273
|
@pulumi.getter
|
|
274
|
-
def whitelist(self) -> Optional[pulumi.Input[str]]:
|
|
274
|
+
def whitelist(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
275
275
|
"""
|
|
276
276
|
Specify a regular expression for a file path. Only file paths that match this regular expression are indexed.
|
|
277
277
|
"""
|
|
278
278
|
return pulumi.get(self, "whitelist")
|
|
279
279
|
|
|
280
280
|
@whitelist.setter
|
|
281
|
-
def whitelist(self, value: Optional[pulumi.Input[str]]):
|
|
281
|
+
def whitelist(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
282
282
|
pulumi.set(self, "whitelist", value)
|
|
283
283
|
|
|
284
284
|
|
|
@@ -286,39 +286,39 @@ class InputsMonitorArgs:
|
|
|
286
286
|
class _InputsMonitorState:
|
|
287
287
|
def __init__(__self__, *,
|
|
288
288
|
acl: Optional[pulumi.Input['InputsMonitorAclArgs']] = None,
|
|
289
|
-
blacklist: Optional[pulumi.Input[str]] = None,
|
|
290
|
-
crc_salt: Optional[pulumi.Input[str]] = None,
|
|
291
|
-
disabled: Optional[pulumi.Input[bool]] = None,
|
|
292
|
-
follow_tail: Optional[pulumi.Input[bool]] = None,
|
|
293
|
-
host: Optional[pulumi.Input[str]] = None,
|
|
294
|
-
host_regex: Optional[pulumi.Input[str]] = None,
|
|
295
|
-
host_segment: Optional[pulumi.Input[int]] = None,
|
|
296
|
-
ignore_older_than: Optional[pulumi.Input[str]] = None,
|
|
297
|
-
index: Optional[pulumi.Input[str]] = None,
|
|
298
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
299
|
-
recursive: Optional[pulumi.Input[bool]] = None,
|
|
300
|
-
rename_source: Optional[pulumi.Input[str]] = None,
|
|
301
|
-
sourcetype: Optional[pulumi.Input[str]] = None,
|
|
302
|
-
time_before_close: Optional[pulumi.Input[int]] = None,
|
|
303
|
-
whitelist: Optional[pulumi.Input[str]] = None):
|
|
289
|
+
blacklist: Optional[pulumi.Input[_builtins.str]] = None,
|
|
290
|
+
crc_salt: Optional[pulumi.Input[_builtins.str]] = None,
|
|
291
|
+
disabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
292
|
+
follow_tail: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
293
|
+
host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
294
|
+
host_regex: Optional[pulumi.Input[_builtins.str]] = None,
|
|
295
|
+
host_segment: Optional[pulumi.Input[_builtins.int]] = None,
|
|
296
|
+
ignore_older_than: Optional[pulumi.Input[_builtins.str]] = None,
|
|
297
|
+
index: Optional[pulumi.Input[_builtins.str]] = None,
|
|
298
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
299
|
+
recursive: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
300
|
+
rename_source: Optional[pulumi.Input[_builtins.str]] = None,
|
|
301
|
+
sourcetype: Optional[pulumi.Input[_builtins.str]] = None,
|
|
302
|
+
time_before_close: Optional[pulumi.Input[_builtins.int]] = None,
|
|
303
|
+
whitelist: Optional[pulumi.Input[_builtins.str]] = None):
|
|
304
304
|
"""
|
|
305
305
|
Input properties used for looking up and filtering InputsMonitor resources.
|
|
306
306
|
:param pulumi.Input['InputsMonitorAclArgs'] acl: The app/user context that is the namespace for the resource
|
|
307
|
-
:param pulumi.Input[str] blacklist: Specify a regular expression for a file path. The file path that matches this regular expression is not indexed.
|
|
308
|
-
:param pulumi.Input[str] crc_salt: A string that modifies the file tracking identity for files in this input. The magic value <SOURCE> invokes special behavior.
|
|
309
|
-
:param pulumi.Input[bool] disabled: Indicates if input monitoring is disabled.
|
|
310
|
-
:param pulumi.Input[bool] follow_tail: If set to true, files that are seen for the first time is read from the end.
|
|
311
|
-
:param pulumi.Input[str] host: The value to populate in the host field for events from this data input.
|
|
312
|
-
:param pulumi.Input[str] host_regex: Specify a regular expression for a file path. If the path for a file matches this regular expression, the captured value is used to populate the host field for events from this data input. The regular expression must have one capture group.
|
|
313
|
-
:param pulumi.Input[int] host_segment: Use the specified slash-separate segment of the filepath as the host field value.
|
|
314
|
-
:param pulumi.Input[str] ignore_older_than: Specify a time value. If the modification time of a file being monitored falls outside of this rolling time window, the file is no longer being monitored.
|
|
315
|
-
:param pulumi.Input[str] index: Which index events from this input should be stored in. Defaults to default.
|
|
316
|
-
:param pulumi.Input[str] name: The file or directory path to monitor on the system.
|
|
317
|
-
:param pulumi.Input[bool] recursive: Setting this to false prevents monitoring of any subdirectories encountered within this data input.
|
|
318
|
-
:param pulumi.Input[str] rename_source: The value to populate in the source field for events from this data input. The same source should not be used for multiple data inputs.
|
|
319
|
-
:param pulumi.Input[str] sourcetype: The value to populate in the sourcetype field for incoming events.
|
|
320
|
-
:param pulumi.Input[int] time_before_close: When Splunk software reaches the end of a file that is being read, the file is kept open for a minimum of the number of seconds specified in this value. After this period has elapsed, the file is checked again for more data.
|
|
321
|
-
:param pulumi.Input[str] whitelist: Specify a regular expression for a file path. Only file paths that match this regular expression are indexed.
|
|
307
|
+
:param pulumi.Input[_builtins.str] blacklist: Specify a regular expression for a file path. The file path that matches this regular expression is not indexed.
|
|
308
|
+
:param pulumi.Input[_builtins.str] crc_salt: A string that modifies the file tracking identity for files in this input. The magic value <SOURCE> invokes special behavior.
|
|
309
|
+
:param pulumi.Input[_builtins.bool] disabled: Indicates if input monitoring is disabled.
|
|
310
|
+
:param pulumi.Input[_builtins.bool] follow_tail: If set to true, files that are seen for the first time is read from the end.
|
|
311
|
+
:param pulumi.Input[_builtins.str] host: The value to populate in the host field for events from this data input.
|
|
312
|
+
:param pulumi.Input[_builtins.str] host_regex: Specify a regular expression for a file path. If the path for a file matches this regular expression, the captured value is used to populate the host field for events from this data input. The regular expression must have one capture group.
|
|
313
|
+
:param pulumi.Input[_builtins.int] host_segment: Use the specified slash-separate segment of the filepath as the host field value.
|
|
314
|
+
:param pulumi.Input[_builtins.str] ignore_older_than: Specify a time value. If the modification time of a file being monitored falls outside of this rolling time window, the file is no longer being monitored.
|
|
315
|
+
:param pulumi.Input[_builtins.str] index: Which index events from this input should be stored in. Defaults to default.
|
|
316
|
+
:param pulumi.Input[_builtins.str] name: The file or directory path to monitor on the system.
|
|
317
|
+
:param pulumi.Input[_builtins.bool] recursive: Setting this to false prevents monitoring of any subdirectories encountered within this data input.
|
|
318
|
+
:param pulumi.Input[_builtins.str] rename_source: The value to populate in the source field for events from this data input. The same source should not be used for multiple data inputs.
|
|
319
|
+
:param pulumi.Input[_builtins.str] sourcetype: The value to populate in the sourcetype field for incoming events.
|
|
320
|
+
:param pulumi.Input[_builtins.int] time_before_close: When Splunk software reaches the end of a file that is being read, the file is kept open for a minimum of the number of seconds specified in this value. After this period has elapsed, the file is checked again for more data.
|
|
321
|
+
:param pulumi.Input[_builtins.str] whitelist: Specify a regular expression for a file path. Only file paths that match this regular expression are indexed.
|
|
322
322
|
"""
|
|
323
323
|
if acl is not None:
|
|
324
324
|
pulumi.set(__self__, "acl", acl)
|
|
@@ -353,7 +353,7 @@ class _InputsMonitorState:
|
|
|
353
353
|
if whitelist is not None:
|
|
354
354
|
pulumi.set(__self__, "whitelist", whitelist)
|
|
355
355
|
|
|
356
|
-
@property
|
|
356
|
+
@_builtins.property
|
|
357
357
|
@pulumi.getter
|
|
358
358
|
def acl(self) -> Optional[pulumi.Input['InputsMonitorAclArgs']]:
|
|
359
359
|
"""
|
|
@@ -365,208 +365,209 @@ class _InputsMonitorState:
|
|
|
365
365
|
def acl(self, value: Optional[pulumi.Input['InputsMonitorAclArgs']]):
|
|
366
366
|
pulumi.set(self, "acl", value)
|
|
367
367
|
|
|
368
|
-
@property
|
|
368
|
+
@_builtins.property
|
|
369
369
|
@pulumi.getter
|
|
370
|
-
def blacklist(self) -> Optional[pulumi.Input[str]]:
|
|
370
|
+
def blacklist(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
371
371
|
"""
|
|
372
372
|
Specify a regular expression for a file path. The file path that matches this regular expression is not indexed.
|
|
373
373
|
"""
|
|
374
374
|
return pulumi.get(self, "blacklist")
|
|
375
375
|
|
|
376
376
|
@blacklist.setter
|
|
377
|
-
def blacklist(self, value: Optional[pulumi.Input[str]]):
|
|
377
|
+
def blacklist(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
378
378
|
pulumi.set(self, "blacklist", value)
|
|
379
379
|
|
|
380
|
-
@property
|
|
380
|
+
@_builtins.property
|
|
381
381
|
@pulumi.getter(name="crcSalt")
|
|
382
|
-
def crc_salt(self) -> Optional[pulumi.Input[str]]:
|
|
382
|
+
def crc_salt(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
383
383
|
"""
|
|
384
384
|
A string that modifies the file tracking identity for files in this input. The magic value <SOURCE> invokes special behavior.
|
|
385
385
|
"""
|
|
386
386
|
return pulumi.get(self, "crc_salt")
|
|
387
387
|
|
|
388
388
|
@crc_salt.setter
|
|
389
|
-
def crc_salt(self, value: Optional[pulumi.Input[str]]):
|
|
389
|
+
def crc_salt(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
390
390
|
pulumi.set(self, "crc_salt", value)
|
|
391
391
|
|
|
392
|
-
@property
|
|
392
|
+
@_builtins.property
|
|
393
393
|
@pulumi.getter
|
|
394
|
-
def disabled(self) -> Optional[pulumi.Input[bool]]:
|
|
394
|
+
def disabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
395
395
|
"""
|
|
396
396
|
Indicates if input monitoring is disabled.
|
|
397
397
|
"""
|
|
398
398
|
return pulumi.get(self, "disabled")
|
|
399
399
|
|
|
400
400
|
@disabled.setter
|
|
401
|
-
def disabled(self, value: Optional[pulumi.Input[bool]]):
|
|
401
|
+
def disabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
402
402
|
pulumi.set(self, "disabled", value)
|
|
403
403
|
|
|
404
|
-
@property
|
|
404
|
+
@_builtins.property
|
|
405
405
|
@pulumi.getter(name="followTail")
|
|
406
|
-
def follow_tail(self) -> Optional[pulumi.Input[bool]]:
|
|
406
|
+
def follow_tail(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
407
407
|
"""
|
|
408
408
|
If set to true, files that are seen for the first time is read from the end.
|
|
409
409
|
"""
|
|
410
410
|
return pulumi.get(self, "follow_tail")
|
|
411
411
|
|
|
412
412
|
@follow_tail.setter
|
|
413
|
-
def follow_tail(self, value: Optional[pulumi.Input[bool]]):
|
|
413
|
+
def follow_tail(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
414
414
|
pulumi.set(self, "follow_tail", value)
|
|
415
415
|
|
|
416
|
-
@property
|
|
416
|
+
@_builtins.property
|
|
417
417
|
@pulumi.getter
|
|
418
|
-
def host(self) -> Optional[pulumi.Input[str]]:
|
|
418
|
+
def host(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
419
419
|
"""
|
|
420
420
|
The value to populate in the host field for events from this data input.
|
|
421
421
|
"""
|
|
422
422
|
return pulumi.get(self, "host")
|
|
423
423
|
|
|
424
424
|
@host.setter
|
|
425
|
-
def host(self, value: Optional[pulumi.Input[str]]):
|
|
425
|
+
def host(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
426
426
|
pulumi.set(self, "host", value)
|
|
427
427
|
|
|
428
|
-
@property
|
|
428
|
+
@_builtins.property
|
|
429
429
|
@pulumi.getter(name="hostRegex")
|
|
430
|
-
def host_regex(self) -> Optional[pulumi.Input[str]]:
|
|
430
|
+
def host_regex(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
431
431
|
"""
|
|
432
432
|
Specify a regular expression for a file path. If the path for a file matches this regular expression, the captured value is used to populate the host field for events from this data input. The regular expression must have one capture group.
|
|
433
433
|
"""
|
|
434
434
|
return pulumi.get(self, "host_regex")
|
|
435
435
|
|
|
436
436
|
@host_regex.setter
|
|
437
|
-
def host_regex(self, value: Optional[pulumi.Input[str]]):
|
|
437
|
+
def host_regex(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
438
438
|
pulumi.set(self, "host_regex", value)
|
|
439
439
|
|
|
440
|
-
@property
|
|
440
|
+
@_builtins.property
|
|
441
441
|
@pulumi.getter(name="hostSegment")
|
|
442
|
-
def host_segment(self) -> Optional[pulumi.Input[int]]:
|
|
442
|
+
def host_segment(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
443
443
|
"""
|
|
444
444
|
Use the specified slash-separate segment of the filepath as the host field value.
|
|
445
445
|
"""
|
|
446
446
|
return pulumi.get(self, "host_segment")
|
|
447
447
|
|
|
448
448
|
@host_segment.setter
|
|
449
|
-
def host_segment(self, value: Optional[pulumi.Input[int]]):
|
|
449
|
+
def host_segment(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
450
450
|
pulumi.set(self, "host_segment", value)
|
|
451
451
|
|
|
452
|
-
@property
|
|
452
|
+
@_builtins.property
|
|
453
453
|
@pulumi.getter(name="ignoreOlderThan")
|
|
454
|
-
def ignore_older_than(self) -> Optional[pulumi.Input[str]]:
|
|
454
|
+
def ignore_older_than(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
455
455
|
"""
|
|
456
456
|
Specify a time value. If the modification time of a file being monitored falls outside of this rolling time window, the file is no longer being monitored.
|
|
457
457
|
"""
|
|
458
458
|
return pulumi.get(self, "ignore_older_than")
|
|
459
459
|
|
|
460
460
|
@ignore_older_than.setter
|
|
461
|
-
def ignore_older_than(self, value: Optional[pulumi.Input[str]]):
|
|
461
|
+
def ignore_older_than(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
462
462
|
pulumi.set(self, "ignore_older_than", value)
|
|
463
463
|
|
|
464
|
-
@property
|
|
464
|
+
@_builtins.property
|
|
465
465
|
@pulumi.getter
|
|
466
|
-
def index(self) -> Optional[pulumi.Input[str]]:
|
|
466
|
+
def index(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
467
467
|
"""
|
|
468
468
|
Which index events from this input should be stored in. Defaults to default.
|
|
469
469
|
"""
|
|
470
470
|
return pulumi.get(self, "index")
|
|
471
471
|
|
|
472
472
|
@index.setter
|
|
473
|
-
def index(self, value: Optional[pulumi.Input[str]]):
|
|
473
|
+
def index(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
474
474
|
pulumi.set(self, "index", value)
|
|
475
475
|
|
|
476
|
-
@property
|
|
476
|
+
@_builtins.property
|
|
477
477
|
@pulumi.getter
|
|
478
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
478
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
479
479
|
"""
|
|
480
480
|
The file or directory path to monitor on the system.
|
|
481
481
|
"""
|
|
482
482
|
return pulumi.get(self, "name")
|
|
483
483
|
|
|
484
484
|
@name.setter
|
|
485
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
485
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
486
486
|
pulumi.set(self, "name", value)
|
|
487
487
|
|
|
488
|
-
@property
|
|
488
|
+
@_builtins.property
|
|
489
489
|
@pulumi.getter
|
|
490
|
-
def recursive(self) -> Optional[pulumi.Input[bool]]:
|
|
490
|
+
def recursive(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
491
491
|
"""
|
|
492
492
|
Setting this to false prevents monitoring of any subdirectories encountered within this data input.
|
|
493
493
|
"""
|
|
494
494
|
return pulumi.get(self, "recursive")
|
|
495
495
|
|
|
496
496
|
@recursive.setter
|
|
497
|
-
def recursive(self, value: Optional[pulumi.Input[bool]]):
|
|
497
|
+
def recursive(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
498
498
|
pulumi.set(self, "recursive", value)
|
|
499
499
|
|
|
500
|
-
@property
|
|
500
|
+
@_builtins.property
|
|
501
501
|
@pulumi.getter(name="renameSource")
|
|
502
|
-
def rename_source(self) -> Optional[pulumi.Input[str]]:
|
|
502
|
+
def rename_source(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
503
503
|
"""
|
|
504
504
|
The value to populate in the source field for events from this data input. The same source should not be used for multiple data inputs.
|
|
505
505
|
"""
|
|
506
506
|
return pulumi.get(self, "rename_source")
|
|
507
507
|
|
|
508
508
|
@rename_source.setter
|
|
509
|
-
def rename_source(self, value: Optional[pulumi.Input[str]]):
|
|
509
|
+
def rename_source(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
510
510
|
pulumi.set(self, "rename_source", value)
|
|
511
511
|
|
|
512
|
-
@property
|
|
512
|
+
@_builtins.property
|
|
513
513
|
@pulumi.getter
|
|
514
|
-
def sourcetype(self) -> Optional[pulumi.Input[str]]:
|
|
514
|
+
def sourcetype(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
515
515
|
"""
|
|
516
516
|
The value to populate in the sourcetype field for incoming events.
|
|
517
517
|
"""
|
|
518
518
|
return pulumi.get(self, "sourcetype")
|
|
519
519
|
|
|
520
520
|
@sourcetype.setter
|
|
521
|
-
def sourcetype(self, value: Optional[pulumi.Input[str]]):
|
|
521
|
+
def sourcetype(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
522
522
|
pulumi.set(self, "sourcetype", value)
|
|
523
523
|
|
|
524
|
-
@property
|
|
524
|
+
@_builtins.property
|
|
525
525
|
@pulumi.getter(name="timeBeforeClose")
|
|
526
|
-
def time_before_close(self) -> Optional[pulumi.Input[int]]:
|
|
526
|
+
def time_before_close(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
527
527
|
"""
|
|
528
528
|
When Splunk software reaches the end of a file that is being read, the file is kept open for a minimum of the number of seconds specified in this value. After this period has elapsed, the file is checked again for more data.
|
|
529
529
|
"""
|
|
530
530
|
return pulumi.get(self, "time_before_close")
|
|
531
531
|
|
|
532
532
|
@time_before_close.setter
|
|
533
|
-
def time_before_close(self, value: Optional[pulumi.Input[int]]):
|
|
533
|
+
def time_before_close(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
534
534
|
pulumi.set(self, "time_before_close", value)
|
|
535
535
|
|
|
536
|
-
@property
|
|
536
|
+
@_builtins.property
|
|
537
537
|
@pulumi.getter
|
|
538
|
-
def whitelist(self) -> Optional[pulumi.Input[str]]:
|
|
538
|
+
def whitelist(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
539
539
|
"""
|
|
540
540
|
Specify a regular expression for a file path. Only file paths that match this regular expression are indexed.
|
|
541
541
|
"""
|
|
542
542
|
return pulumi.get(self, "whitelist")
|
|
543
543
|
|
|
544
544
|
@whitelist.setter
|
|
545
|
-
def whitelist(self, value: Optional[pulumi.Input[str]]):
|
|
545
|
+
def whitelist(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
546
546
|
pulumi.set(self, "whitelist", value)
|
|
547
547
|
|
|
548
548
|
|
|
549
|
+
@pulumi.type_token("splunk:index/inputsMonitor:InputsMonitor")
|
|
549
550
|
class InputsMonitor(pulumi.CustomResource):
|
|
550
551
|
@overload
|
|
551
552
|
def __init__(__self__,
|
|
552
553
|
resource_name: str,
|
|
553
554
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
554
555
|
acl: Optional[pulumi.Input[Union['InputsMonitorAclArgs', 'InputsMonitorAclArgsDict']]] = None,
|
|
555
|
-
blacklist: Optional[pulumi.Input[str]] = None,
|
|
556
|
-
crc_salt: Optional[pulumi.Input[str]] = None,
|
|
557
|
-
disabled: Optional[pulumi.Input[bool]] = None,
|
|
558
|
-
follow_tail: Optional[pulumi.Input[bool]] = None,
|
|
559
|
-
host: Optional[pulumi.Input[str]] = None,
|
|
560
|
-
host_regex: Optional[pulumi.Input[str]] = None,
|
|
561
|
-
host_segment: Optional[pulumi.Input[int]] = None,
|
|
562
|
-
ignore_older_than: Optional[pulumi.Input[str]] = None,
|
|
563
|
-
index: Optional[pulumi.Input[str]] = None,
|
|
564
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
565
|
-
recursive: Optional[pulumi.Input[bool]] = None,
|
|
566
|
-
rename_source: Optional[pulumi.Input[str]] = None,
|
|
567
|
-
sourcetype: Optional[pulumi.Input[str]] = None,
|
|
568
|
-
time_before_close: Optional[pulumi.Input[int]] = None,
|
|
569
|
-
whitelist: Optional[pulumi.Input[str]] = None,
|
|
556
|
+
blacklist: Optional[pulumi.Input[_builtins.str]] = None,
|
|
557
|
+
crc_salt: Optional[pulumi.Input[_builtins.str]] = None,
|
|
558
|
+
disabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
559
|
+
follow_tail: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
560
|
+
host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
561
|
+
host_regex: Optional[pulumi.Input[_builtins.str]] = None,
|
|
562
|
+
host_segment: Optional[pulumi.Input[_builtins.int]] = None,
|
|
563
|
+
ignore_older_than: Optional[pulumi.Input[_builtins.str]] = None,
|
|
564
|
+
index: Optional[pulumi.Input[_builtins.str]] = None,
|
|
565
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
566
|
+
recursive: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
567
|
+
rename_source: Optional[pulumi.Input[_builtins.str]] = None,
|
|
568
|
+
sourcetype: Optional[pulumi.Input[_builtins.str]] = None,
|
|
569
|
+
time_before_close: Optional[pulumi.Input[_builtins.int]] = None,
|
|
570
|
+
whitelist: Optional[pulumi.Input[_builtins.str]] = None,
|
|
570
571
|
__props__=None):
|
|
571
572
|
"""
|
|
572
573
|
## # Resource: InputsMonitor
|
|
@@ -588,21 +589,21 @@ class InputsMonitor(pulumi.CustomResource):
|
|
|
588
589
|
:param str resource_name: The name of the resource.
|
|
589
590
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
590
591
|
:param pulumi.Input[Union['InputsMonitorAclArgs', 'InputsMonitorAclArgsDict']] acl: The app/user context that is the namespace for the resource
|
|
591
|
-
:param pulumi.Input[str] blacklist: Specify a regular expression for a file path. The file path that matches this regular expression is not indexed.
|
|
592
|
-
:param pulumi.Input[str] crc_salt: A string that modifies the file tracking identity for files in this input. The magic value <SOURCE> invokes special behavior.
|
|
593
|
-
:param pulumi.Input[bool] disabled: Indicates if input monitoring is disabled.
|
|
594
|
-
:param pulumi.Input[bool] follow_tail: If set to true, files that are seen for the first time is read from the end.
|
|
595
|
-
:param pulumi.Input[str] host: The value to populate in the host field for events from this data input.
|
|
596
|
-
:param pulumi.Input[str] host_regex: Specify a regular expression for a file path. If the path for a file matches this regular expression, the captured value is used to populate the host field for events from this data input. The regular expression must have one capture group.
|
|
597
|
-
:param pulumi.Input[int] host_segment: Use the specified slash-separate segment of the filepath as the host field value.
|
|
598
|
-
:param pulumi.Input[str] ignore_older_than: Specify a time value. If the modification time of a file being monitored falls outside of this rolling time window, the file is no longer being monitored.
|
|
599
|
-
:param pulumi.Input[str] index: Which index events from this input should be stored in. Defaults to default.
|
|
600
|
-
:param pulumi.Input[str] name: The file or directory path to monitor on the system.
|
|
601
|
-
:param pulumi.Input[bool] recursive: Setting this to false prevents monitoring of any subdirectories encountered within this data input.
|
|
602
|
-
:param pulumi.Input[str] rename_source: The value to populate in the source field for events from this data input. The same source should not be used for multiple data inputs.
|
|
603
|
-
:param pulumi.Input[str] sourcetype: The value to populate in the sourcetype field for incoming events.
|
|
604
|
-
:param pulumi.Input[int] time_before_close: When Splunk software reaches the end of a file that is being read, the file is kept open for a minimum of the number of seconds specified in this value. After this period has elapsed, the file is checked again for more data.
|
|
605
|
-
:param pulumi.Input[str] whitelist: Specify a regular expression for a file path. Only file paths that match this regular expression are indexed.
|
|
592
|
+
:param pulumi.Input[_builtins.str] blacklist: Specify a regular expression for a file path. The file path that matches this regular expression is not indexed.
|
|
593
|
+
:param pulumi.Input[_builtins.str] crc_salt: A string that modifies the file tracking identity for files in this input. The magic value <SOURCE> invokes special behavior.
|
|
594
|
+
:param pulumi.Input[_builtins.bool] disabled: Indicates if input monitoring is disabled.
|
|
595
|
+
:param pulumi.Input[_builtins.bool] follow_tail: If set to true, files that are seen for the first time is read from the end.
|
|
596
|
+
:param pulumi.Input[_builtins.str] host: The value to populate in the host field for events from this data input.
|
|
597
|
+
:param pulumi.Input[_builtins.str] host_regex: Specify a regular expression for a file path. If the path for a file matches this regular expression, the captured value is used to populate the host field for events from this data input. The regular expression must have one capture group.
|
|
598
|
+
:param pulumi.Input[_builtins.int] host_segment: Use the specified slash-separate segment of the filepath as the host field value.
|
|
599
|
+
:param pulumi.Input[_builtins.str] ignore_older_than: Specify a time value. If the modification time of a file being monitored falls outside of this rolling time window, the file is no longer being monitored.
|
|
600
|
+
:param pulumi.Input[_builtins.str] index: Which index events from this input should be stored in. Defaults to default.
|
|
601
|
+
:param pulumi.Input[_builtins.str] name: The file or directory path to monitor on the system.
|
|
602
|
+
:param pulumi.Input[_builtins.bool] recursive: Setting this to false prevents monitoring of any subdirectories encountered within this data input.
|
|
603
|
+
:param pulumi.Input[_builtins.str] rename_source: The value to populate in the source field for events from this data input. The same source should not be used for multiple data inputs.
|
|
604
|
+
:param pulumi.Input[_builtins.str] sourcetype: The value to populate in the sourcetype field for incoming events.
|
|
605
|
+
:param pulumi.Input[_builtins.int] time_before_close: When Splunk software reaches the end of a file that is being read, the file is kept open for a minimum of the number of seconds specified in this value. After this period has elapsed, the file is checked again for more data.
|
|
606
|
+
:param pulumi.Input[_builtins.str] whitelist: Specify a regular expression for a file path. Only file paths that match this regular expression are indexed.
|
|
606
607
|
"""
|
|
607
608
|
...
|
|
608
609
|
@overload
|
|
@@ -643,21 +644,21 @@ class InputsMonitor(pulumi.CustomResource):
|
|
|
643
644
|
resource_name: str,
|
|
644
645
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
645
646
|
acl: Optional[pulumi.Input[Union['InputsMonitorAclArgs', 'InputsMonitorAclArgsDict']]] = None,
|
|
646
|
-
blacklist: Optional[pulumi.Input[str]] = None,
|
|
647
|
-
crc_salt: Optional[pulumi.Input[str]] = None,
|
|
648
|
-
disabled: Optional[pulumi.Input[bool]] = None,
|
|
649
|
-
follow_tail: Optional[pulumi.Input[bool]] = None,
|
|
650
|
-
host: Optional[pulumi.Input[str]] = None,
|
|
651
|
-
host_regex: Optional[pulumi.Input[str]] = None,
|
|
652
|
-
host_segment: Optional[pulumi.Input[int]] = None,
|
|
653
|
-
ignore_older_than: Optional[pulumi.Input[str]] = None,
|
|
654
|
-
index: Optional[pulumi.Input[str]] = None,
|
|
655
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
656
|
-
recursive: Optional[pulumi.Input[bool]] = None,
|
|
657
|
-
rename_source: Optional[pulumi.Input[str]] = None,
|
|
658
|
-
sourcetype: Optional[pulumi.Input[str]] = None,
|
|
659
|
-
time_before_close: Optional[pulumi.Input[int]] = None,
|
|
660
|
-
whitelist: Optional[pulumi.Input[str]] = None,
|
|
647
|
+
blacklist: Optional[pulumi.Input[_builtins.str]] = None,
|
|
648
|
+
crc_salt: Optional[pulumi.Input[_builtins.str]] = None,
|
|
649
|
+
disabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
650
|
+
follow_tail: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
651
|
+
host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
652
|
+
host_regex: Optional[pulumi.Input[_builtins.str]] = None,
|
|
653
|
+
host_segment: Optional[pulumi.Input[_builtins.int]] = None,
|
|
654
|
+
ignore_older_than: Optional[pulumi.Input[_builtins.str]] = None,
|
|
655
|
+
index: Optional[pulumi.Input[_builtins.str]] = None,
|
|
656
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
657
|
+
recursive: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
658
|
+
rename_source: Optional[pulumi.Input[_builtins.str]] = None,
|
|
659
|
+
sourcetype: Optional[pulumi.Input[_builtins.str]] = None,
|
|
660
|
+
time_before_close: Optional[pulumi.Input[_builtins.int]] = None,
|
|
661
|
+
whitelist: Optional[pulumi.Input[_builtins.str]] = None,
|
|
661
662
|
__props__=None):
|
|
662
663
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
663
664
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -694,21 +695,21 @@ class InputsMonitor(pulumi.CustomResource):
|
|
|
694
695
|
id: pulumi.Input[str],
|
|
695
696
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
696
697
|
acl: Optional[pulumi.Input[Union['InputsMonitorAclArgs', 'InputsMonitorAclArgsDict']]] = None,
|
|
697
|
-
blacklist: Optional[pulumi.Input[str]] = None,
|
|
698
|
-
crc_salt: Optional[pulumi.Input[str]] = None,
|
|
699
|
-
disabled: Optional[pulumi.Input[bool]] = None,
|
|
700
|
-
follow_tail: Optional[pulumi.Input[bool]] = None,
|
|
701
|
-
host: Optional[pulumi.Input[str]] = None,
|
|
702
|
-
host_regex: Optional[pulumi.Input[str]] = None,
|
|
703
|
-
host_segment: Optional[pulumi.Input[int]] = None,
|
|
704
|
-
ignore_older_than: Optional[pulumi.Input[str]] = None,
|
|
705
|
-
index: Optional[pulumi.Input[str]] = None,
|
|
706
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
707
|
-
recursive: Optional[pulumi.Input[bool]] = None,
|
|
708
|
-
rename_source: Optional[pulumi.Input[str]] = None,
|
|
709
|
-
sourcetype: Optional[pulumi.Input[str]] = None,
|
|
710
|
-
time_before_close: Optional[pulumi.Input[int]] = None,
|
|
711
|
-
whitelist: Optional[pulumi.Input[str]] = None) -> 'InputsMonitor':
|
|
698
|
+
blacklist: Optional[pulumi.Input[_builtins.str]] = None,
|
|
699
|
+
crc_salt: Optional[pulumi.Input[_builtins.str]] = None,
|
|
700
|
+
disabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
701
|
+
follow_tail: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
702
|
+
host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
703
|
+
host_regex: Optional[pulumi.Input[_builtins.str]] = None,
|
|
704
|
+
host_segment: Optional[pulumi.Input[_builtins.int]] = None,
|
|
705
|
+
ignore_older_than: Optional[pulumi.Input[_builtins.str]] = None,
|
|
706
|
+
index: Optional[pulumi.Input[_builtins.str]] = None,
|
|
707
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
708
|
+
recursive: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
709
|
+
rename_source: Optional[pulumi.Input[_builtins.str]] = None,
|
|
710
|
+
sourcetype: Optional[pulumi.Input[_builtins.str]] = None,
|
|
711
|
+
time_before_close: Optional[pulumi.Input[_builtins.int]] = None,
|
|
712
|
+
whitelist: Optional[pulumi.Input[_builtins.str]] = None) -> 'InputsMonitor':
|
|
712
713
|
"""
|
|
713
714
|
Get an existing InputsMonitor resource's state with the given name, id, and optional extra
|
|
714
715
|
properties used to qualify the lookup.
|
|
@@ -717,21 +718,21 @@ class InputsMonitor(pulumi.CustomResource):
|
|
|
717
718
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
718
719
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
719
720
|
:param pulumi.Input[Union['InputsMonitorAclArgs', 'InputsMonitorAclArgsDict']] acl: The app/user context that is the namespace for the resource
|
|
720
|
-
:param pulumi.Input[str] blacklist: Specify a regular expression for a file path. The file path that matches this regular expression is not indexed.
|
|
721
|
-
:param pulumi.Input[str] crc_salt: A string that modifies the file tracking identity for files in this input. The magic value <SOURCE> invokes special behavior.
|
|
722
|
-
:param pulumi.Input[bool] disabled: Indicates if input monitoring is disabled.
|
|
723
|
-
:param pulumi.Input[bool] follow_tail: If set to true, files that are seen for the first time is read from the end.
|
|
724
|
-
:param pulumi.Input[str] host: The value to populate in the host field for events from this data input.
|
|
725
|
-
:param pulumi.Input[str] host_regex: Specify a regular expression for a file path. If the path for a file matches this regular expression, the captured value is used to populate the host field for events from this data input. The regular expression must have one capture group.
|
|
726
|
-
:param pulumi.Input[int] host_segment: Use the specified slash-separate segment of the filepath as the host field value.
|
|
727
|
-
:param pulumi.Input[str] ignore_older_than: Specify a time value. If the modification time of a file being monitored falls outside of this rolling time window, the file is no longer being monitored.
|
|
728
|
-
:param pulumi.Input[str] index: Which index events from this input should be stored in. Defaults to default.
|
|
729
|
-
:param pulumi.Input[str] name: The file or directory path to monitor on the system.
|
|
730
|
-
:param pulumi.Input[bool] recursive: Setting this to false prevents monitoring of any subdirectories encountered within this data input.
|
|
731
|
-
:param pulumi.Input[str] rename_source: The value to populate in the source field for events from this data input. The same source should not be used for multiple data inputs.
|
|
732
|
-
:param pulumi.Input[str] sourcetype: The value to populate in the sourcetype field for incoming events.
|
|
733
|
-
:param pulumi.Input[int] time_before_close: When Splunk software reaches the end of a file that is being read, the file is kept open for a minimum of the number of seconds specified in this value. After this period has elapsed, the file is checked again for more data.
|
|
734
|
-
:param pulumi.Input[str] whitelist: Specify a regular expression for a file path. Only file paths that match this regular expression are indexed.
|
|
721
|
+
:param pulumi.Input[_builtins.str] blacklist: Specify a regular expression for a file path. The file path that matches this regular expression is not indexed.
|
|
722
|
+
:param pulumi.Input[_builtins.str] crc_salt: A string that modifies the file tracking identity for files in this input. The magic value <SOURCE> invokes special behavior.
|
|
723
|
+
:param pulumi.Input[_builtins.bool] disabled: Indicates if input monitoring is disabled.
|
|
724
|
+
:param pulumi.Input[_builtins.bool] follow_tail: If set to true, files that are seen for the first time is read from the end.
|
|
725
|
+
:param pulumi.Input[_builtins.str] host: The value to populate in the host field for events from this data input.
|
|
726
|
+
:param pulumi.Input[_builtins.str] host_regex: Specify a regular expression for a file path. If the path for a file matches this regular expression, the captured value is used to populate the host field for events from this data input. The regular expression must have one capture group.
|
|
727
|
+
:param pulumi.Input[_builtins.int] host_segment: Use the specified slash-separate segment of the filepath as the host field value.
|
|
728
|
+
:param pulumi.Input[_builtins.str] ignore_older_than: Specify a time value. If the modification time of a file being monitored falls outside of this rolling time window, the file is no longer being monitored.
|
|
729
|
+
:param pulumi.Input[_builtins.str] index: Which index events from this input should be stored in. Defaults to default.
|
|
730
|
+
:param pulumi.Input[_builtins.str] name: The file or directory path to monitor on the system.
|
|
731
|
+
:param pulumi.Input[_builtins.bool] recursive: Setting this to false prevents monitoring of any subdirectories encountered within this data input.
|
|
732
|
+
:param pulumi.Input[_builtins.str] rename_source: The value to populate in the source field for events from this data input. The same source should not be used for multiple data inputs.
|
|
733
|
+
:param pulumi.Input[_builtins.str] sourcetype: The value to populate in the sourcetype field for incoming events.
|
|
734
|
+
:param pulumi.Input[_builtins.int] time_before_close: When Splunk software reaches the end of a file that is being read, the file is kept open for a minimum of the number of seconds specified in this value. After this period has elapsed, the file is checked again for more data.
|
|
735
|
+
:param pulumi.Input[_builtins.str] whitelist: Specify a regular expression for a file path. Only file paths that match this regular expression are indexed.
|
|
735
736
|
"""
|
|
736
737
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
737
738
|
|
|
@@ -755,7 +756,7 @@ class InputsMonitor(pulumi.CustomResource):
|
|
|
755
756
|
__props__.__dict__["whitelist"] = whitelist
|
|
756
757
|
return InputsMonitor(resource_name, opts=opts, __props__=__props__)
|
|
757
758
|
|
|
758
|
-
@property
|
|
759
|
+
@_builtins.property
|
|
759
760
|
@pulumi.getter
|
|
760
761
|
def acl(self) -> pulumi.Output['outputs.InputsMonitorAcl']:
|
|
761
762
|
"""
|
|
@@ -763,121 +764,121 @@ class InputsMonitor(pulumi.CustomResource):
|
|
|
763
764
|
"""
|
|
764
765
|
return pulumi.get(self, "acl")
|
|
765
766
|
|
|
766
|
-
@property
|
|
767
|
+
@_builtins.property
|
|
767
768
|
@pulumi.getter
|
|
768
|
-
def blacklist(self) -> pulumi.Output[str]:
|
|
769
|
+
def blacklist(self) -> pulumi.Output[_builtins.str]:
|
|
769
770
|
"""
|
|
770
771
|
Specify a regular expression for a file path. The file path that matches this regular expression is not indexed.
|
|
771
772
|
"""
|
|
772
773
|
return pulumi.get(self, "blacklist")
|
|
773
774
|
|
|
774
|
-
@property
|
|
775
|
+
@_builtins.property
|
|
775
776
|
@pulumi.getter(name="crcSalt")
|
|
776
|
-
def crc_salt(self) -> pulumi.Output[str]:
|
|
777
|
+
def crc_salt(self) -> pulumi.Output[_builtins.str]:
|
|
777
778
|
"""
|
|
778
779
|
A string that modifies the file tracking identity for files in this input. The magic value <SOURCE> invokes special behavior.
|
|
779
780
|
"""
|
|
780
781
|
return pulumi.get(self, "crc_salt")
|
|
781
782
|
|
|
782
|
-
@property
|
|
783
|
+
@_builtins.property
|
|
783
784
|
@pulumi.getter
|
|
784
|
-
def disabled(self) -> pulumi.Output[bool]:
|
|
785
|
+
def disabled(self) -> pulumi.Output[_builtins.bool]:
|
|
785
786
|
"""
|
|
786
787
|
Indicates if input monitoring is disabled.
|
|
787
788
|
"""
|
|
788
789
|
return pulumi.get(self, "disabled")
|
|
789
790
|
|
|
790
|
-
@property
|
|
791
|
+
@_builtins.property
|
|
791
792
|
@pulumi.getter(name="followTail")
|
|
792
|
-
def follow_tail(self) -> pulumi.Output[bool]:
|
|
793
|
+
def follow_tail(self) -> pulumi.Output[_builtins.bool]:
|
|
793
794
|
"""
|
|
794
795
|
If set to true, files that are seen for the first time is read from the end.
|
|
795
796
|
"""
|
|
796
797
|
return pulumi.get(self, "follow_tail")
|
|
797
798
|
|
|
798
|
-
@property
|
|
799
|
+
@_builtins.property
|
|
799
800
|
@pulumi.getter
|
|
800
|
-
def host(self) -> pulumi.Output[str]:
|
|
801
|
+
def host(self) -> pulumi.Output[_builtins.str]:
|
|
801
802
|
"""
|
|
802
803
|
The value to populate in the host field for events from this data input.
|
|
803
804
|
"""
|
|
804
805
|
return pulumi.get(self, "host")
|
|
805
806
|
|
|
806
|
-
@property
|
|
807
|
+
@_builtins.property
|
|
807
808
|
@pulumi.getter(name="hostRegex")
|
|
808
|
-
def host_regex(self) -> pulumi.Output[str]:
|
|
809
|
+
def host_regex(self) -> pulumi.Output[_builtins.str]:
|
|
809
810
|
"""
|
|
810
811
|
Specify a regular expression for a file path. If the path for a file matches this regular expression, the captured value is used to populate the host field for events from this data input. The regular expression must have one capture group.
|
|
811
812
|
"""
|
|
812
813
|
return pulumi.get(self, "host_regex")
|
|
813
814
|
|
|
814
|
-
@property
|
|
815
|
+
@_builtins.property
|
|
815
816
|
@pulumi.getter(name="hostSegment")
|
|
816
|
-
def host_segment(self) -> pulumi.Output[int]:
|
|
817
|
+
def host_segment(self) -> pulumi.Output[_builtins.int]:
|
|
817
818
|
"""
|
|
818
819
|
Use the specified slash-separate segment of the filepath as the host field value.
|
|
819
820
|
"""
|
|
820
821
|
return pulumi.get(self, "host_segment")
|
|
821
822
|
|
|
822
|
-
@property
|
|
823
|
+
@_builtins.property
|
|
823
824
|
@pulumi.getter(name="ignoreOlderThan")
|
|
824
|
-
def ignore_older_than(self) -> pulumi.Output[str]:
|
|
825
|
+
def ignore_older_than(self) -> pulumi.Output[_builtins.str]:
|
|
825
826
|
"""
|
|
826
827
|
Specify a time value. If the modification time of a file being monitored falls outside of this rolling time window, the file is no longer being monitored.
|
|
827
828
|
"""
|
|
828
829
|
return pulumi.get(self, "ignore_older_than")
|
|
829
830
|
|
|
830
|
-
@property
|
|
831
|
+
@_builtins.property
|
|
831
832
|
@pulumi.getter
|
|
832
|
-
def index(self) -> pulumi.Output[str]:
|
|
833
|
+
def index(self) -> pulumi.Output[_builtins.str]:
|
|
833
834
|
"""
|
|
834
835
|
Which index events from this input should be stored in. Defaults to default.
|
|
835
836
|
"""
|
|
836
837
|
return pulumi.get(self, "index")
|
|
837
838
|
|
|
838
|
-
@property
|
|
839
|
+
@_builtins.property
|
|
839
840
|
@pulumi.getter
|
|
840
|
-
def name(self) -> pulumi.Output[str]:
|
|
841
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
841
842
|
"""
|
|
842
843
|
The file or directory path to monitor on the system.
|
|
843
844
|
"""
|
|
844
845
|
return pulumi.get(self, "name")
|
|
845
846
|
|
|
846
|
-
@property
|
|
847
|
+
@_builtins.property
|
|
847
848
|
@pulumi.getter
|
|
848
|
-
def recursive(self) -> pulumi.Output[bool]:
|
|
849
|
+
def recursive(self) -> pulumi.Output[_builtins.bool]:
|
|
849
850
|
"""
|
|
850
851
|
Setting this to false prevents monitoring of any subdirectories encountered within this data input.
|
|
851
852
|
"""
|
|
852
853
|
return pulumi.get(self, "recursive")
|
|
853
854
|
|
|
854
|
-
@property
|
|
855
|
+
@_builtins.property
|
|
855
856
|
@pulumi.getter(name="renameSource")
|
|
856
|
-
def rename_source(self) -> pulumi.Output[str]:
|
|
857
|
+
def rename_source(self) -> pulumi.Output[_builtins.str]:
|
|
857
858
|
"""
|
|
858
859
|
The value to populate in the source field for events from this data input. The same source should not be used for multiple data inputs.
|
|
859
860
|
"""
|
|
860
861
|
return pulumi.get(self, "rename_source")
|
|
861
862
|
|
|
862
|
-
@property
|
|
863
|
+
@_builtins.property
|
|
863
864
|
@pulumi.getter
|
|
864
|
-
def sourcetype(self) -> pulumi.Output[str]:
|
|
865
|
+
def sourcetype(self) -> pulumi.Output[_builtins.str]:
|
|
865
866
|
"""
|
|
866
867
|
The value to populate in the sourcetype field for incoming events.
|
|
867
868
|
"""
|
|
868
869
|
return pulumi.get(self, "sourcetype")
|
|
869
870
|
|
|
870
|
-
@property
|
|
871
|
+
@_builtins.property
|
|
871
872
|
@pulumi.getter(name="timeBeforeClose")
|
|
872
|
-
def time_before_close(self) -> pulumi.Output[int]:
|
|
873
|
+
def time_before_close(self) -> pulumi.Output[_builtins.int]:
|
|
873
874
|
"""
|
|
874
875
|
When Splunk software reaches the end of a file that is being read, the file is kept open for a minimum of the number of seconds specified in this value. After this period has elapsed, the file is checked again for more data.
|
|
875
876
|
"""
|
|
876
877
|
return pulumi.get(self, "time_before_close")
|
|
877
878
|
|
|
878
|
-
@property
|
|
879
|
+
@_builtins.property
|
|
879
880
|
@pulumi.getter
|
|
880
|
-
def whitelist(self) -> pulumi.Output[str]:
|
|
881
|
+
def whitelist(self) -> pulumi.Output[_builtins.str]:
|
|
881
882
|
"""
|
|
882
883
|
Specify a regular expression for a file path. Only file paths that match this regular expression are indexed.
|
|
883
884
|
"""
|