elasticsearch 8.13.2__py3-none-any.whl → 8.15.0__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.
- elasticsearch/_async/client/__init__.py +204 -169
- elasticsearch/_async/client/async_search.py +35 -20
- elasticsearch/_async/client/autoscaling.py +4 -4
- elasticsearch/_async/client/cat.py +785 -180
- elasticsearch/_async/client/ccr.py +20 -32
- elasticsearch/_async/client/cluster.py +94 -88
- elasticsearch/_async/client/connector.py +1470 -0
- elasticsearch/_async/client/dangling_indices.py +7 -11
- elasticsearch/_async/client/enrich.py +8 -8
- elasticsearch/_async/client/eql.py +17 -16
- elasticsearch/_async/client/esql.py +2 -2
- elasticsearch/_async/client/features.py +2 -2
- elasticsearch/_async/client/fleet.py +18 -17
- elasticsearch/_async/client/graph.py +4 -4
- elasticsearch/_async/client/ilm.py +36 -44
- elasticsearch/_async/client/indices.py +401 -411
- elasticsearch/_async/client/inference.py +65 -39
- elasticsearch/_async/client/ingest.py +22 -23
- elasticsearch/_async/client/license.py +18 -10
- elasticsearch/_async/client/logstash.py +6 -6
- elasticsearch/_async/client/migration.py +3 -3
- elasticsearch/_async/client/ml.py +383 -176
- elasticsearch/_async/client/monitoring.py +2 -2
- elasticsearch/_async/client/nodes.py +32 -32
- elasticsearch/_async/client/query_rules.py +384 -0
- elasticsearch/_async/client/rollup.py +13 -13
- elasticsearch/_async/client/search_application.py +15 -10
- elasticsearch/_async/client/searchable_snapshots.py +9 -13
- elasticsearch/_async/client/security.py +587 -104
- elasticsearch/_async/client/shutdown.py +7 -7
- elasticsearch/_async/client/slm.py +11 -13
- elasticsearch/_async/client/snapshot.py +39 -52
- elasticsearch/_async/client/sql.py +12 -14
- elasticsearch/_async/client/ssl.py +1 -1
- elasticsearch/_async/client/synonyms.py +8 -8
- elasticsearch/_async/client/tasks.py +9 -10
- elasticsearch/_async/client/text_structure.py +3 -3
- elasticsearch/_async/client/transform.py +89 -34
- elasticsearch/_async/client/watcher.py +30 -15
- elasticsearch/_async/client/xpack.py +6 -7
- elasticsearch/_otel.py +2 -6
- elasticsearch/_sync/client/__init__.py +204 -169
- elasticsearch/_sync/client/async_search.py +35 -20
- elasticsearch/_sync/client/autoscaling.py +4 -4
- elasticsearch/_sync/client/cat.py +785 -180
- elasticsearch/_sync/client/ccr.py +20 -32
- elasticsearch/_sync/client/cluster.py +94 -88
- elasticsearch/_sync/client/connector.py +1470 -0
- elasticsearch/_sync/client/dangling_indices.py +7 -11
- elasticsearch/_sync/client/enrich.py +8 -8
- elasticsearch/_sync/client/eql.py +17 -16
- elasticsearch/_sync/client/esql.py +2 -2
- elasticsearch/_sync/client/features.py +2 -2
- elasticsearch/_sync/client/fleet.py +18 -17
- elasticsearch/_sync/client/graph.py +4 -4
- elasticsearch/_sync/client/ilm.py +36 -44
- elasticsearch/_sync/client/indices.py +401 -411
- elasticsearch/_sync/client/inference.py +65 -39
- elasticsearch/_sync/client/ingest.py +22 -23
- elasticsearch/_sync/client/license.py +18 -10
- elasticsearch/_sync/client/logstash.py +6 -6
- elasticsearch/_sync/client/migration.py +3 -3
- elasticsearch/_sync/client/ml.py +383 -176
- elasticsearch/_sync/client/monitoring.py +2 -2
- elasticsearch/_sync/client/nodes.py +32 -32
- elasticsearch/_sync/client/query_rules.py +384 -0
- elasticsearch/_sync/client/rollup.py +13 -13
- elasticsearch/_sync/client/search_application.py +15 -10
- elasticsearch/_sync/client/searchable_snapshots.py +9 -13
- elasticsearch/_sync/client/security.py +587 -104
- elasticsearch/_sync/client/shutdown.py +7 -7
- elasticsearch/_sync/client/slm.py +11 -13
- elasticsearch/_sync/client/snapshot.py +39 -52
- elasticsearch/_sync/client/sql.py +12 -14
- elasticsearch/_sync/client/ssl.py +1 -1
- elasticsearch/_sync/client/synonyms.py +8 -8
- elasticsearch/_sync/client/tasks.py +9 -10
- elasticsearch/_sync/client/text_structure.py +3 -3
- elasticsearch/_sync/client/transform.py +89 -34
- elasticsearch/_sync/client/watcher.py +30 -15
- elasticsearch/_sync/client/xpack.py +6 -7
- elasticsearch/_version.py +1 -1
- elasticsearch/client.py +3 -3
- elasticsearch/helpers/vectorstore/_async/vectorstore.py +36 -6
- elasticsearch/helpers/vectorstore/_sync/vectorstore.py +36 -6
- elasticsearch/serializer.py +34 -1
- elasticsearch-8.15.0.dist-info/METADATA +177 -0
- elasticsearch-8.15.0.dist-info/RECORD +117 -0
- {elasticsearch-8.13.2.dist-info → elasticsearch-8.15.0.dist-info}/WHEEL +1 -2
- elasticsearch/_async/client/query_ruleset.py +0 -205
- elasticsearch/_sync/client/query_ruleset.py +0 -205
- elasticsearch-8.13.2.dist-info/METADATA +0 -147
- elasticsearch-8.13.2.dist-info/RECORD +0 -116
- elasticsearch-8.13.2.dist-info/top_level.txt +0 -1
- {elasticsearch-8.13.2.dist-info → elasticsearch-8.15.0.dist-info/licenses}/LICENSE +0 -0
- {elasticsearch-8.13.2.dist-info → elasticsearch-8.15.0.dist-info/licenses}/NOTICE +0 -0
|
@@ -34,11 +34,11 @@ class ShutdownClient(NamespacedClient):
|
|
|
34
34
|
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
35
35
|
human: t.Optional[bool] = None,
|
|
36
36
|
master_timeout: t.Optional[
|
|
37
|
-
t.Union[
|
|
37
|
+
t.Union[str, t.Literal["d", "h", "m", "micros", "ms", "nanos", "s"]]
|
|
38
38
|
] = None,
|
|
39
39
|
pretty: t.Optional[bool] = None,
|
|
40
40
|
timeout: t.Optional[
|
|
41
|
-
t.Union[
|
|
41
|
+
t.Union[str, t.Literal["d", "h", "m", "micros", "ms", "nanos", "s"]]
|
|
42
42
|
] = None,
|
|
43
43
|
) -> ObjectApiResponse[t.Any]:
|
|
44
44
|
"""
|
|
@@ -90,11 +90,11 @@ class ShutdownClient(NamespacedClient):
|
|
|
90
90
|
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
91
91
|
human: t.Optional[bool] = None,
|
|
92
92
|
master_timeout: t.Optional[
|
|
93
|
-
t.Union[
|
|
93
|
+
t.Union[str, t.Literal["d", "h", "m", "micros", "ms", "nanos", "s"]]
|
|
94
94
|
] = None,
|
|
95
95
|
pretty: t.Optional[bool] = None,
|
|
96
96
|
timeout: t.Optional[
|
|
97
|
-
t.Union[
|
|
97
|
+
t.Union[str, t.Literal["d", "h", "m", "micros", "ms", "nanos", "s"]]
|
|
98
98
|
] = None,
|
|
99
99
|
) -> ObjectApiResponse[t.Any]:
|
|
100
100
|
"""
|
|
@@ -149,19 +149,19 @@ class ShutdownClient(NamespacedClient):
|
|
|
149
149
|
node_id: str,
|
|
150
150
|
reason: t.Optional[str] = None,
|
|
151
151
|
type: t.Optional[
|
|
152
|
-
t.Union[
|
|
152
|
+
t.Union[str, t.Literal["remove", "replace", "restart"]]
|
|
153
153
|
] = None,
|
|
154
154
|
allocation_delay: t.Optional[str] = None,
|
|
155
155
|
error_trace: t.Optional[bool] = None,
|
|
156
156
|
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
157
157
|
human: t.Optional[bool] = None,
|
|
158
158
|
master_timeout: t.Optional[
|
|
159
|
-
t.Union[
|
|
159
|
+
t.Union[str, t.Literal["d", "h", "m", "micros", "ms", "nanos", "s"]]
|
|
160
160
|
] = None,
|
|
161
161
|
pretty: t.Optional[bool] = None,
|
|
162
162
|
target_node_name: t.Optional[str] = None,
|
|
163
163
|
timeout: t.Optional[
|
|
164
|
-
t.Union[
|
|
164
|
+
t.Union[str, t.Literal["d", "h", "m", "micros", "ms", "nanos", "s"]]
|
|
165
165
|
] = None,
|
|
166
166
|
body: t.Optional[t.Dict[str, t.Any]] = None,
|
|
167
167
|
) -> ObjectApiResponse[t.Any]:
|
|
@@ -38,7 +38,7 @@ class SlmClient(NamespacedClient):
|
|
|
38
38
|
"""
|
|
39
39
|
Deletes an existing snapshot lifecycle policy.
|
|
40
40
|
|
|
41
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
41
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/slm-api-delete-policy.html>`_
|
|
42
42
|
|
|
43
43
|
:param policy_id: The id of the snapshot lifecycle policy to remove
|
|
44
44
|
"""
|
|
@@ -79,7 +79,7 @@ class SlmClient(NamespacedClient):
|
|
|
79
79
|
Immediately creates a snapshot according to the lifecycle policy, without waiting
|
|
80
80
|
for the scheduled time.
|
|
81
81
|
|
|
82
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
82
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/slm-api-execute-lifecycle.html>`_
|
|
83
83
|
|
|
84
84
|
:param policy_id: The id of the snapshot lifecycle policy to be executed
|
|
85
85
|
"""
|
|
@@ -118,7 +118,7 @@ class SlmClient(NamespacedClient):
|
|
|
118
118
|
"""
|
|
119
119
|
Deletes any snapshots that are expired according to the policy's retention rules.
|
|
120
120
|
|
|
121
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
121
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/slm-api-execute-retention.html>`_
|
|
122
122
|
"""
|
|
123
123
|
__path_parts: t.Dict[str, str] = {}
|
|
124
124
|
__path = "/_slm/_execute_retention"
|
|
@@ -155,7 +155,7 @@ class SlmClient(NamespacedClient):
|
|
|
155
155
|
Retrieves one or more snapshot lifecycle policy definitions and information about
|
|
156
156
|
the latest snapshot attempts.
|
|
157
157
|
|
|
158
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
158
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/slm-api-get-policy.html>`_
|
|
159
159
|
|
|
160
160
|
:param policy_id: Comma-separated list of snapshot lifecycle policies to retrieve
|
|
161
161
|
"""
|
|
@@ -198,7 +198,7 @@ class SlmClient(NamespacedClient):
|
|
|
198
198
|
Returns global and policy-level statistics about actions taken by snapshot lifecycle
|
|
199
199
|
management.
|
|
200
200
|
|
|
201
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
201
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/slm-api-get-stats.html>`_
|
|
202
202
|
"""
|
|
203
203
|
__path_parts: t.Dict[str, str] = {}
|
|
204
204
|
__path = "/_slm/stats"
|
|
@@ -233,7 +233,7 @@ class SlmClient(NamespacedClient):
|
|
|
233
233
|
"""
|
|
234
234
|
Retrieves the status of snapshot lifecycle management (SLM).
|
|
235
235
|
|
|
236
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
236
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/slm-api-get-status.html>`_
|
|
237
237
|
"""
|
|
238
238
|
__path_parts: t.Dict[str, str] = {}
|
|
239
239
|
__path = "/_slm/status"
|
|
@@ -267,21 +267,19 @@ class SlmClient(NamespacedClient):
|
|
|
267
267
|
error_trace: t.Optional[bool] = None,
|
|
268
268
|
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
269
269
|
human: t.Optional[bool] = None,
|
|
270
|
-
master_timeout: t.Optional[
|
|
271
|
-
t.Union["t.Literal[-1]", "t.Literal[0]", str]
|
|
272
|
-
] = None,
|
|
270
|
+
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
273
271
|
name: t.Optional[str] = None,
|
|
274
272
|
pretty: t.Optional[bool] = None,
|
|
275
273
|
repository: t.Optional[str] = None,
|
|
276
274
|
retention: t.Optional[t.Mapping[str, t.Any]] = None,
|
|
277
275
|
schedule: t.Optional[str] = None,
|
|
278
|
-
timeout: t.Optional[t.Union[
|
|
276
|
+
timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
279
277
|
body: t.Optional[t.Dict[str, t.Any]] = None,
|
|
280
278
|
) -> ObjectApiResponse[t.Any]:
|
|
281
279
|
"""
|
|
282
280
|
Creates or updates a snapshot lifecycle policy.
|
|
283
281
|
|
|
284
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
282
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/slm-api-put-policy.html>`_
|
|
285
283
|
|
|
286
284
|
:param policy_id: ID for the snapshot lifecycle policy you want to create or
|
|
287
285
|
update.
|
|
@@ -358,7 +356,7 @@ class SlmClient(NamespacedClient):
|
|
|
358
356
|
"""
|
|
359
357
|
Turns on snapshot lifecycle management (SLM).
|
|
360
358
|
|
|
361
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
359
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/slm-api-start.html>`_
|
|
362
360
|
"""
|
|
363
361
|
__path_parts: t.Dict[str, str] = {}
|
|
364
362
|
__path = "/_slm/start"
|
|
@@ -393,7 +391,7 @@ class SlmClient(NamespacedClient):
|
|
|
393
391
|
"""
|
|
394
392
|
Turns off snapshot lifecycle management (SLM).
|
|
395
393
|
|
|
396
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
394
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/slm-api-stop.html>`_
|
|
397
395
|
"""
|
|
398
396
|
__path_parts: t.Dict[str, str] = {}
|
|
399
397
|
__path = "/_slm/stop"
|
|
@@ -33,16 +33,15 @@ class SnapshotClient(NamespacedClient):
|
|
|
33
33
|
error_trace: t.Optional[bool] = None,
|
|
34
34
|
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
35
35
|
human: t.Optional[bool] = None,
|
|
36
|
-
master_timeout: t.Optional[
|
|
37
|
-
t.Union["t.Literal[-1]", "t.Literal[0]", str]
|
|
38
|
-
] = None,
|
|
36
|
+
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
39
37
|
pretty: t.Optional[bool] = None,
|
|
40
|
-
timeout: t.Optional[t.Union[
|
|
38
|
+
timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
41
39
|
) -> ObjectApiResponse[t.Any]:
|
|
42
40
|
"""
|
|
43
|
-
|
|
41
|
+
Triggers the review of a snapshot repository’s contents and deletes any stale
|
|
42
|
+
data not referenced by existing snapshots.
|
|
44
43
|
|
|
45
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
44
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/clean-up-snapshot-repo-api.html>`_
|
|
46
45
|
|
|
47
46
|
:param name: Snapshot repository to clean up.
|
|
48
47
|
:param master_timeout: Period to wait for a connection to the master node.
|
|
@@ -88,17 +87,15 @@ class SnapshotClient(NamespacedClient):
|
|
|
88
87
|
error_trace: t.Optional[bool] = None,
|
|
89
88
|
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
90
89
|
human: t.Optional[bool] = None,
|
|
91
|
-
master_timeout: t.Optional[
|
|
92
|
-
t.Union["t.Literal[-1]", "t.Literal[0]", str]
|
|
93
|
-
] = None,
|
|
90
|
+
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
94
91
|
pretty: t.Optional[bool] = None,
|
|
95
|
-
timeout: t.Optional[t.Union[
|
|
92
|
+
timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
96
93
|
body: t.Optional[t.Dict[str, t.Any]] = None,
|
|
97
94
|
) -> ObjectApiResponse[t.Any]:
|
|
98
95
|
"""
|
|
99
96
|
Clones indices from one snapshot into another snapshot in the same repository.
|
|
100
97
|
|
|
101
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
98
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/modules-snapshots.html>`_
|
|
102
99
|
|
|
103
100
|
:param repository: A repository name
|
|
104
101
|
:param snapshot: The name of the snapshot to clone from
|
|
@@ -171,9 +168,7 @@ class SnapshotClient(NamespacedClient):
|
|
|
171
168
|
ignore_unavailable: t.Optional[bool] = None,
|
|
172
169
|
include_global_state: t.Optional[bool] = None,
|
|
173
170
|
indices: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
174
|
-
master_timeout: t.Optional[
|
|
175
|
-
t.Union["t.Literal[-1]", "t.Literal[0]", str]
|
|
176
|
-
] = None,
|
|
171
|
+
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
177
172
|
metadata: t.Optional[t.Mapping[str, t.Any]] = None,
|
|
178
173
|
partial: t.Optional[bool] = None,
|
|
179
174
|
pretty: t.Optional[bool] = None,
|
|
@@ -183,7 +178,7 @@ class SnapshotClient(NamespacedClient):
|
|
|
183
178
|
"""
|
|
184
179
|
Creates a snapshot in a repository.
|
|
185
180
|
|
|
186
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
181
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/modules-snapshots.html>`_
|
|
187
182
|
|
|
188
183
|
:param repository: Repository for the snapshot.
|
|
189
184
|
:param snapshot: Name of the snapshot. Must be unique in the repository.
|
|
@@ -279,17 +274,15 @@ class SnapshotClient(NamespacedClient):
|
|
|
279
274
|
error_trace: t.Optional[bool] = None,
|
|
280
275
|
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
281
276
|
human: t.Optional[bool] = None,
|
|
282
|
-
master_timeout: t.Optional[
|
|
283
|
-
t.Union["t.Literal[-1]", "t.Literal[0]", str]
|
|
284
|
-
] = None,
|
|
277
|
+
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
285
278
|
pretty: t.Optional[bool] = None,
|
|
286
|
-
timeout: t.Optional[t.Union[
|
|
279
|
+
timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
287
280
|
verify: t.Optional[bool] = None,
|
|
288
281
|
) -> ObjectApiResponse[t.Any]:
|
|
289
282
|
"""
|
|
290
283
|
Creates a repository.
|
|
291
284
|
|
|
292
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
285
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/modules-snapshots.html>`_
|
|
293
286
|
|
|
294
287
|
:param name: A repository name
|
|
295
288
|
:param repository:
|
|
@@ -343,15 +336,13 @@ class SnapshotClient(NamespacedClient):
|
|
|
343
336
|
error_trace: t.Optional[bool] = None,
|
|
344
337
|
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
345
338
|
human: t.Optional[bool] = None,
|
|
346
|
-
master_timeout: t.Optional[
|
|
347
|
-
t.Union["t.Literal[-1]", "t.Literal[0]", str]
|
|
348
|
-
] = None,
|
|
339
|
+
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
349
340
|
pretty: t.Optional[bool] = None,
|
|
350
341
|
) -> ObjectApiResponse[t.Any]:
|
|
351
342
|
"""
|
|
352
343
|
Deletes one or more snapshots.
|
|
353
344
|
|
|
354
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
345
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/modules-snapshots.html>`_
|
|
355
346
|
|
|
356
347
|
:param repository: A repository name
|
|
357
348
|
:param snapshot: A comma-separated list of snapshot names
|
|
@@ -395,16 +386,14 @@ class SnapshotClient(NamespacedClient):
|
|
|
395
386
|
error_trace: t.Optional[bool] = None,
|
|
396
387
|
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
397
388
|
human: t.Optional[bool] = None,
|
|
398
|
-
master_timeout: t.Optional[
|
|
399
|
-
t.Union["t.Literal[-1]", "t.Literal[0]", str]
|
|
400
|
-
] = None,
|
|
389
|
+
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
401
390
|
pretty: t.Optional[bool] = None,
|
|
402
|
-
timeout: t.Optional[t.Union[
|
|
391
|
+
timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
403
392
|
) -> ObjectApiResponse[t.Any]:
|
|
404
393
|
"""
|
|
405
394
|
Deletes a repository.
|
|
406
395
|
|
|
407
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
396
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/modules-snapshots.html>`_
|
|
408
397
|
|
|
409
398
|
:param name: Name of the snapshot repository to unregister. Wildcard (`*`) patterns
|
|
410
399
|
are supported.
|
|
@@ -453,18 +442,24 @@ class SnapshotClient(NamespacedClient):
|
|
|
453
442
|
include_repository: t.Optional[bool] = None,
|
|
454
443
|
index_details: t.Optional[bool] = None,
|
|
455
444
|
index_names: t.Optional[bool] = None,
|
|
456
|
-
master_timeout: t.Optional[
|
|
457
|
-
t.Union["t.Literal[-1]", "t.Literal[0]", str]
|
|
458
|
-
] = None,
|
|
445
|
+
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
459
446
|
offset: t.Optional[int] = None,
|
|
460
|
-
order: t.Optional[t.Union[
|
|
447
|
+
order: t.Optional[t.Union[str, t.Literal["asc", "desc"]]] = None,
|
|
461
448
|
pretty: t.Optional[bool] = None,
|
|
462
449
|
size: t.Optional[int] = None,
|
|
463
450
|
slm_policy_filter: t.Optional[str] = None,
|
|
464
451
|
sort: t.Optional[
|
|
465
452
|
t.Union[
|
|
466
|
-
"t.Literal['duration', 'failed_shard_count', 'index_count', 'name', 'repository', 'shard_count', 'start_time']",
|
|
467
453
|
str,
|
|
454
|
+
t.Literal[
|
|
455
|
+
"duration",
|
|
456
|
+
"failed_shard_count",
|
|
457
|
+
"index_count",
|
|
458
|
+
"name",
|
|
459
|
+
"repository",
|
|
460
|
+
"shard_count",
|
|
461
|
+
"start_time",
|
|
462
|
+
],
|
|
468
463
|
]
|
|
469
464
|
] = None,
|
|
470
465
|
verbose: t.Optional[bool] = None,
|
|
@@ -472,7 +467,7 @@ class SnapshotClient(NamespacedClient):
|
|
|
472
467
|
"""
|
|
473
468
|
Returns information about a snapshot.
|
|
474
469
|
|
|
475
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
470
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/modules-snapshots.html>`_
|
|
476
471
|
|
|
477
472
|
:param repository: Comma-separated list of snapshot repository names used to
|
|
478
473
|
limit the request. Wildcard (*) expressions are supported.
|
|
@@ -578,15 +573,13 @@ class SnapshotClient(NamespacedClient):
|
|
|
578
573
|
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
579
574
|
human: t.Optional[bool] = None,
|
|
580
575
|
local: t.Optional[bool] = None,
|
|
581
|
-
master_timeout: t.Optional[
|
|
582
|
-
t.Union["t.Literal[-1]", "t.Literal[0]", str]
|
|
583
|
-
] = None,
|
|
576
|
+
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
584
577
|
pretty: t.Optional[bool] = None,
|
|
585
578
|
) -> ObjectApiResponse[t.Any]:
|
|
586
579
|
"""
|
|
587
580
|
Returns information about a repository.
|
|
588
581
|
|
|
589
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
582
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/modules-snapshots.html>`_
|
|
590
583
|
|
|
591
584
|
:param name: A comma-separated list of repository names
|
|
592
585
|
:param local: Return local information, do not retrieve the state from master
|
|
@@ -652,9 +645,7 @@ class SnapshotClient(NamespacedClient):
|
|
|
652
645
|
include_global_state: t.Optional[bool] = None,
|
|
653
646
|
index_settings: t.Optional[t.Mapping[str, t.Any]] = None,
|
|
654
647
|
indices: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
655
|
-
master_timeout: t.Optional[
|
|
656
|
-
t.Union["t.Literal[-1]", "t.Literal[0]", str]
|
|
657
|
-
] = None,
|
|
648
|
+
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
658
649
|
partial: t.Optional[bool] = None,
|
|
659
650
|
pretty: t.Optional[bool] = None,
|
|
660
651
|
rename_pattern: t.Optional[str] = None,
|
|
@@ -665,7 +656,7 @@ class SnapshotClient(NamespacedClient):
|
|
|
665
656
|
"""
|
|
666
657
|
Restores a snapshot.
|
|
667
658
|
|
|
668
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
659
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/modules-snapshots.html>`_
|
|
669
660
|
|
|
670
661
|
:param repository: A repository name
|
|
671
662
|
:param snapshot: A snapshot name
|
|
@@ -752,15 +743,13 @@ class SnapshotClient(NamespacedClient):
|
|
|
752
743
|
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
753
744
|
human: t.Optional[bool] = None,
|
|
754
745
|
ignore_unavailable: t.Optional[bool] = None,
|
|
755
|
-
master_timeout: t.Optional[
|
|
756
|
-
t.Union["t.Literal[-1]", "t.Literal[0]", str]
|
|
757
|
-
] = None,
|
|
746
|
+
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
758
747
|
pretty: t.Optional[bool] = None,
|
|
759
748
|
) -> ObjectApiResponse[t.Any]:
|
|
760
749
|
"""
|
|
761
750
|
Returns information about the status of a snapshot.
|
|
762
751
|
|
|
763
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
752
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/modules-snapshots.html>`_
|
|
764
753
|
|
|
765
754
|
:param repository: A repository name
|
|
766
755
|
:param snapshot: A comma-separated list of snapshot names
|
|
@@ -812,16 +801,14 @@ class SnapshotClient(NamespacedClient):
|
|
|
812
801
|
error_trace: t.Optional[bool] = None,
|
|
813
802
|
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
814
803
|
human: t.Optional[bool] = None,
|
|
815
|
-
master_timeout: t.Optional[
|
|
816
|
-
t.Union["t.Literal[-1]", "t.Literal[0]", str]
|
|
817
|
-
] = None,
|
|
804
|
+
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
818
805
|
pretty: t.Optional[bool] = None,
|
|
819
|
-
timeout: t.Optional[t.Union[
|
|
806
|
+
timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
820
807
|
) -> ObjectApiResponse[t.Any]:
|
|
821
808
|
"""
|
|
822
809
|
Verifies a repository.
|
|
823
810
|
|
|
824
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
811
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/modules-snapshots.html>`_
|
|
825
812
|
|
|
826
813
|
:param name: A repository name
|
|
827
814
|
:param master_timeout: Explicit operation timeout for connection to master node
|
|
@@ -41,7 +41,7 @@ class SqlClient(NamespacedClient):
|
|
|
41
41
|
"""
|
|
42
42
|
Clears the SQL cursor
|
|
43
43
|
|
|
44
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
44
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/clear-sql-cursor-api.html>`_
|
|
45
45
|
|
|
46
46
|
:param cursor: Cursor to clear.
|
|
47
47
|
"""
|
|
@@ -87,7 +87,7 @@ class SqlClient(NamespacedClient):
|
|
|
87
87
|
Deletes an async SQL search or a stored synchronous SQL search. If the search
|
|
88
88
|
is still running, the API cancels it.
|
|
89
89
|
|
|
90
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
90
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/delete-async-sql-search-api.html>`_
|
|
91
91
|
|
|
92
92
|
:param id: Identifier for the search.
|
|
93
93
|
"""
|
|
@@ -124,17 +124,17 @@ class SqlClient(NamespacedClient):
|
|
|
124
124
|
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
125
125
|
format: t.Optional[str] = None,
|
|
126
126
|
human: t.Optional[bool] = None,
|
|
127
|
-
keep_alive: t.Optional[t.Union[
|
|
127
|
+
keep_alive: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
128
128
|
pretty: t.Optional[bool] = None,
|
|
129
129
|
wait_for_completion_timeout: t.Optional[
|
|
130
|
-
t.Union[
|
|
130
|
+
t.Union[str, t.Literal[-1], t.Literal[0]]
|
|
131
131
|
] = None,
|
|
132
132
|
) -> ObjectApiResponse[t.Any]:
|
|
133
133
|
"""
|
|
134
134
|
Returns the current status and available results for an async SQL search or stored
|
|
135
135
|
synchronous SQL search
|
|
136
136
|
|
|
137
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
137
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/get-async-sql-search-api.html>`_
|
|
138
138
|
|
|
139
139
|
:param id: Identifier for the search.
|
|
140
140
|
:param delimiter: Separator for CSV results. The API only supports this parameter
|
|
@@ -192,7 +192,7 @@ class SqlClient(NamespacedClient):
|
|
|
192
192
|
Returns the current status of an async SQL search or a stored synchronous SQL
|
|
193
193
|
search
|
|
194
194
|
|
|
195
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
195
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/get-async-sql-search-status-api.html>`_
|
|
196
196
|
|
|
197
197
|
:param id: Identifier for the search.
|
|
198
198
|
"""
|
|
@@ -254,26 +254,24 @@ class SqlClient(NamespacedClient):
|
|
|
254
254
|
format: t.Optional[str] = None,
|
|
255
255
|
human: t.Optional[bool] = None,
|
|
256
256
|
index_using_frozen: t.Optional[bool] = None,
|
|
257
|
-
keep_alive: t.Optional[t.Union[
|
|
257
|
+
keep_alive: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
258
258
|
keep_on_completion: t.Optional[bool] = None,
|
|
259
|
-
page_timeout: t.Optional[t.Union[
|
|
259
|
+
page_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
260
260
|
params: t.Optional[t.Mapping[str, t.Any]] = None,
|
|
261
261
|
pretty: t.Optional[bool] = None,
|
|
262
262
|
query: t.Optional[str] = None,
|
|
263
|
-
request_timeout: t.Optional[
|
|
264
|
-
t.Union["t.Literal[-1]", "t.Literal[0]", str]
|
|
265
|
-
] = None,
|
|
263
|
+
request_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
266
264
|
runtime_mappings: t.Optional[t.Mapping[str, t.Mapping[str, t.Any]]] = None,
|
|
267
265
|
time_zone: t.Optional[str] = None,
|
|
268
266
|
wait_for_completion_timeout: t.Optional[
|
|
269
|
-
t.Union[
|
|
267
|
+
t.Union[str, t.Literal[-1], t.Literal[0]]
|
|
270
268
|
] = None,
|
|
271
269
|
body: t.Optional[t.Dict[str, t.Any]] = None,
|
|
272
270
|
) -> ObjectApiResponse[t.Any]:
|
|
273
271
|
"""
|
|
274
272
|
Executes a SQL request
|
|
275
273
|
|
|
276
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
274
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/sql-search-api.html>`_
|
|
277
275
|
|
|
278
276
|
:param catalog: Default catalog (cluster) for queries. If unspecified, the queries
|
|
279
277
|
execute on the data in the local cluster only.
|
|
@@ -383,7 +381,7 @@ class SqlClient(NamespacedClient):
|
|
|
383
381
|
"""
|
|
384
382
|
Translates SQL into Elasticsearch queries
|
|
385
383
|
|
|
386
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
384
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/sql-translate-api.html>`_
|
|
387
385
|
|
|
388
386
|
:param query: SQL query to run.
|
|
389
387
|
:param fetch_size: The maximum number of rows (or entries) to return in one response.
|
|
@@ -38,7 +38,7 @@ class SslClient(NamespacedClient):
|
|
|
38
38
|
Retrieves information about the X.509 certificates used to encrypt communications
|
|
39
39
|
in the cluster.
|
|
40
40
|
|
|
41
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
41
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/security-api-ssl.html>`_
|
|
42
42
|
"""
|
|
43
43
|
__path_parts: t.Dict[str, str] = {}
|
|
44
44
|
__path = "/_ssl/certificates"
|
|
@@ -38,7 +38,7 @@ class SynonymsClient(NamespacedClient):
|
|
|
38
38
|
"""
|
|
39
39
|
Deletes a synonym set
|
|
40
40
|
|
|
41
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
41
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/delete-synonyms-set.html>`_
|
|
42
42
|
|
|
43
43
|
:param id: The id of the synonyms set to be deleted
|
|
44
44
|
"""
|
|
@@ -79,7 +79,7 @@ class SynonymsClient(NamespacedClient):
|
|
|
79
79
|
"""
|
|
80
80
|
Deletes a synonym rule in a synonym set
|
|
81
81
|
|
|
82
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
82
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/delete-synonym-rule.html>`_
|
|
83
83
|
|
|
84
84
|
:param set_id: The id of the synonym set to be updated
|
|
85
85
|
:param rule_id: The id of the synonym rule to be deleted
|
|
@@ -129,7 +129,7 @@ class SynonymsClient(NamespacedClient):
|
|
|
129
129
|
"""
|
|
130
130
|
Retrieves a synonym set
|
|
131
131
|
|
|
132
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
132
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/get-synonyms-set.html>`_
|
|
133
133
|
|
|
134
134
|
:param id: "The id of the synonyms set to be retrieved
|
|
135
135
|
:param from_: Starting offset for query rules to be retrieved
|
|
@@ -176,7 +176,7 @@ class SynonymsClient(NamespacedClient):
|
|
|
176
176
|
"""
|
|
177
177
|
Retrieves a synonym rule from a synonym set
|
|
178
178
|
|
|
179
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
179
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/get-synonym-rule.html>`_
|
|
180
180
|
|
|
181
181
|
:param set_id: The id of the synonym set to retrieve the synonym rule from
|
|
182
182
|
:param rule_id: The id of the synonym rule to retrieve
|
|
@@ -225,7 +225,7 @@ class SynonymsClient(NamespacedClient):
|
|
|
225
225
|
"""
|
|
226
226
|
Retrieves a summary of all defined synonym sets
|
|
227
227
|
|
|
228
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
228
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/list-synonyms-sets.html>`_
|
|
229
229
|
|
|
230
230
|
:param from_: Starting offset
|
|
231
231
|
:param size: specifies a max number of results to get
|
|
@@ -270,9 +270,9 @@ class SynonymsClient(NamespacedClient):
|
|
|
270
270
|
body: t.Optional[t.Dict[str, t.Any]] = None,
|
|
271
271
|
) -> ObjectApiResponse[t.Any]:
|
|
272
272
|
"""
|
|
273
|
-
Creates or updates a
|
|
273
|
+
Creates or updates a synonym set.
|
|
274
274
|
|
|
275
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
275
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/put-synonyms-set.html>`_
|
|
276
276
|
|
|
277
277
|
:param id: The id of the synonyms set to be created or updated
|
|
278
278
|
:param synonyms_set: The synonym set information to update
|
|
@@ -325,7 +325,7 @@ class SynonymsClient(NamespacedClient):
|
|
|
325
325
|
"""
|
|
326
326
|
Creates or updates a synonym rule in a synonym set
|
|
327
327
|
|
|
328
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
328
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/put-synonym-rule.html>`_
|
|
329
329
|
|
|
330
330
|
:param set_id: The id of the synonym set to be updated with the synonym rule
|
|
331
331
|
:param rule_id: The id of the synonym rule to be updated or created
|
|
@@ -42,7 +42,7 @@ class TasksClient(NamespacedClient):
|
|
|
42
42
|
"""
|
|
43
43
|
Cancels a task, if it can be cancelled through an API.
|
|
44
44
|
|
|
45
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
45
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/tasks.html>`_
|
|
46
46
|
|
|
47
47
|
:param task_id: ID of the task.
|
|
48
48
|
:param actions: Comma-separated list or wildcard expression of actions used to
|
|
@@ -95,13 +95,13 @@ class TasksClient(NamespacedClient):
|
|
|
95
95
|
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
96
96
|
human: t.Optional[bool] = None,
|
|
97
97
|
pretty: t.Optional[bool] = None,
|
|
98
|
-
timeout: t.Optional[t.Union[
|
|
98
|
+
timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
99
99
|
wait_for_completion: t.Optional[bool] = None,
|
|
100
100
|
) -> ObjectApiResponse[t.Any]:
|
|
101
101
|
"""
|
|
102
102
|
Returns information about a task.
|
|
103
103
|
|
|
104
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
104
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/tasks.html>`_
|
|
105
105
|
|
|
106
106
|
:param task_id: ID of the task.
|
|
107
107
|
:param timeout: Period to wait for a response. If no response is received before
|
|
@@ -145,22 +145,21 @@ class TasksClient(NamespacedClient):
|
|
|
145
145
|
error_trace: t.Optional[bool] = None,
|
|
146
146
|
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
147
147
|
group_by: t.Optional[
|
|
148
|
-
t.Union[
|
|
148
|
+
t.Union[str, t.Literal["nodes", "none", "parents"]]
|
|
149
149
|
] = None,
|
|
150
150
|
human: t.Optional[bool] = None,
|
|
151
|
-
master_timeout: t.Optional[
|
|
152
|
-
t.Union["t.Literal[-1]", "t.Literal[0]", str]
|
|
153
|
-
] = None,
|
|
151
|
+
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
154
152
|
node_id: t.Optional[t.Sequence[str]] = None,
|
|
155
153
|
parent_task_id: t.Optional[str] = None,
|
|
156
154
|
pretty: t.Optional[bool] = None,
|
|
157
|
-
timeout: t.Optional[t.Union[
|
|
155
|
+
timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
158
156
|
wait_for_completion: t.Optional[bool] = None,
|
|
159
157
|
) -> ObjectApiResponse[t.Any]:
|
|
160
158
|
"""
|
|
161
|
-
|
|
159
|
+
The task management API returns information about tasks currently executing on
|
|
160
|
+
one or more nodes in the cluster.
|
|
162
161
|
|
|
163
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
162
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/tasks.html>`_
|
|
164
163
|
|
|
165
164
|
:param actions: Comma-separated list or wildcard expression of actions used to
|
|
166
165
|
limit the request.
|
|
@@ -45,7 +45,7 @@ class TextStructureClient(NamespacedClient):
|
|
|
45
45
|
lines_to_sample: t.Optional[int] = None,
|
|
46
46
|
quote: t.Optional[str] = None,
|
|
47
47
|
should_trim_fields: t.Optional[bool] = None,
|
|
48
|
-
timeout: t.Optional[t.Union[
|
|
48
|
+
timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
49
49
|
timestamp_field: t.Optional[str] = None,
|
|
50
50
|
timestamp_format: t.Optional[str] = None,
|
|
51
51
|
) -> ObjectApiResponse[t.Any]:
|
|
@@ -53,7 +53,7 @@ class TextStructureClient(NamespacedClient):
|
|
|
53
53
|
Finds the structure of a text file. The text file must contain data that is suitable
|
|
54
54
|
to be ingested into Elasticsearch.
|
|
55
55
|
|
|
56
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
56
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/find-structure.html>`_
|
|
57
57
|
|
|
58
58
|
:param text_files:
|
|
59
59
|
:param charset: The text’s character set. It must be a character set that is
|
|
@@ -193,7 +193,7 @@ class TextStructureClient(NamespacedClient):
|
|
|
193
193
|
"""
|
|
194
194
|
Tests a Grok pattern on some text.
|
|
195
195
|
|
|
196
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
196
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/test-grok-pattern.html>`_
|
|
197
197
|
|
|
198
198
|
:param grok_pattern: Grok pattern to run on the text.
|
|
199
199
|
:param text: Lines of text to run the Grok pattern on.
|