Commit graph

147 commits

Author SHA1 Message Date
István Zoltán Szabó
45646b78e2
[DOCS] Adds missing_bucket setting to transform APIs (#90111) 2022-09-19 15:22:48 +02:00
István Zoltán Szabó
a23c77ceaa
[DOCs] Orders transform API parameters in alphabetical order. (#89746) 2022-08-31 11:42:07 +02:00
István Zoltán Szabó
accf737145
[DOCS] Adds unattended setting to transforms API docs. (#89335) 2022-08-29 11:46:52 +02:00
eltomello
df7ea6afcd
[DOCS] Fix transform painless example syntax (#88364)
Corrects the syntax of an example for a scripted metric aggregation.
2022-07-21 08:05:17 -07:00
Lisa Cawley
4e18993f55
[DOCS] Add authorization info to get and update transform APIs (#87994) 2022-07-04 09:51:59 -07:00
István Zoltán Szabó
f09f2b2617
[DOCS] Fixes collapsible section title in preview transform API docs. (#88161) 2022-06-29 12:28:39 +02:00
István Zoltán Szabó
d48e1a2488
[DOCS] Adds section about how to use ingest timestamp to sync a transform (#87650)
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2022-06-15 15:00:44 +02:00
Przemysław Witek
8656a29675
[Transform] Implement per-transform num_failure_retries setting. (#87361) 2022-06-09 15:22:06 +02:00
István Zoltán Szabó
a71ad6e407
[DOCS] Expands AD and Transform alert docs with info on context for recovered alerts (#87118) 2022-06-02 09:52:47 +02:00
Leaf-Lin
ad0228fd2f
[DOCS] Adding Getting Help section to troubleshooting docs (#87095)
* Adding Getting Help section

Add getting help section in the troubleshooting guide to be pointed by health API when issues are too complicated to be addressed. 

This is taken from https://www.elastic.co/guide/en/cloud/current/ec-get-help.html, someone might want to elaborate it a bit more?

* Fix broken partintro, modify headings, and update wording

Co-authored-by: Adam Locke <adam.locke@elastic.co>
2022-05-25 15:58:41 -04:00
István Zoltán Szabó
2804ff49b6
[DOCS] Improves warning message in Update transform API docs (#86920)
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2022-05-23 10:10:03 +02:00
Lisa Cawley
adb391bd6d
[DOCS] Edits transform secondary auth header details (#86815) 2022-05-17 07:25:23 -07:00
Benjamin Trent
b90b3450a2
[ML] [Transforms] prefer secondary auth headers for transforms (#86757)
When creating and updating transforms, it is possible for clients to provide secondary headers.

When PUT, _preview, _update is called with secondary authorization headers, those are then used or stored with the transform.

closes: https://github.com/elastic/elasticsearch/issues/86731
2022-05-16 10:13:21 -04:00
Benjamin Trent
88a5da9560
[ML] [Transforms] fix transform _start permissions to use stored headers in the config (#86802)
It was previously required that the _start API caller required the same roles as the create API caller.

This does not make sense as when the transform is actually running (after _start) we rely solely on the roles of the caller who created the transform.

Consequently, this commit does the permission validations and various checks with the roles of user who created the transform, not the one calling _start
2022-05-16 09:10:01 -04:00
István Zoltán Szabó
15ea957df6
[DOCS] Expands transform setup page with info on spaces. (#86479) 2022-05-09 11:14:24 +02:00
István Zoltán Szabó
0c0c97070d
[DOCS] Adds limitation on deprecated painless scripts and edits limitation regarding spaces in Transform docs (#86397)
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2022-05-05 13:31:16 +02:00
Lisa Cawley
dd885e28fa
[DOCS] Add transform limitation for underscore field names (#86195) 2022-04-26 12:44:14 -07:00
Benjamin Trent
463a3bb41e
[ML] fix transform privilege requirements documentation (#85544)
This updates the privileges required when a retention_policy is configured.

See related PR: #85413
2022-03-31 09:41:26 -04:00
Benjamin Trent
5f03cab87e
[ML] correctly validate permissions when retention policy is configured (#85413)
When a transform has a `retention_policy` it needs to be able to delete documents in the destination index. 

`create_index` does not necessitate that we can delete documents from it. So, even if we create the index, we need to verify that we can delete documents given the `retention_policy` definition.

This is not a crucial bug as the transform will simply fail later. Its nicer to fail sooner.

closes https://github.com/elastic/elasticsearch/issues/85409
2022-03-29 07:54:31 -04:00
István Zoltán Szabó
614f089e82
[DOCS] Expands description of the reset transform API (#84270) 2022-02-24 10:01:28 +01:00
István Zoltán Szabó
030d87074b
[DOCS] Adds reference of transform reset option to the tutorial (#84194) 2022-02-23 10:00:44 +01:00
Lisa Cawley
5ae96e5f23
[DOCS] Add read_pipeline privilege to transform setup (#84151) 2022-02-22 07:47:44 -08:00
Lisa Cawley
f871bfc4ae
[DOCS] Clarify transform requirements (#83295) 2022-02-07 16:08:57 -08:00
Hendrik Muhs
f412ce486c
[Transform][Docs] Delete advise about group_by order (#82886)
Since 7.15 transform automatically optimizes the grouping part of the query. We therefore can delete group_by order advise in the transform at scale documentation so it gets simpler.
2022-01-25 10:22:33 +01:00
István Zoltán Szabó
2715db8103
[DOCS] Updates Painless transform examples (#82802) 2022-01-25 10:17:49 +01:00
Przemysław Witek
7be74a8046
Introduce deduce_mappings transform setting (#82256) 2022-01-18 09:01:23 +01:00
Lisa Cawley
4ed6e8ad3c
[DOCS] Adds missing timeout parameter to transform APIs (#81129) 2021-12-02 13:28:28 -08:00
Lisa Cawley
8ab03d021c
[DOCS] Edits reset transforms API (#81027) 2021-11-25 08:40:50 -08:00
James Rodewig
2c8840ee95
[DOCS] Fix subject-verb agreement typo (#80774) (#80783)
Co-authored-by: Chris Keele <christopher.l.keele@gmail.com>
2021-11-16 18:35:35 -05:00
Przemysław Witek
9b058da548
[Transform] Transform Reset API (#79828) 2021-11-09 10:21:57 +01:00
James Rodewig
f56a0f4b66
[DOCS] Remove testenv annotations from doc snippet tests (#80023)
Removes `testenv` annotations and related code. These annotations originally let you skip x-pack snippet tests in the docs. However, that's no longer possible.

Relates to #79309, #31619
2021-11-05 18:38:50 -04:00
István Zoltán Szabó
109a6e1722
[DOCS] Changes title of transform alert docs. (#80362) 2021-11-05 10:28:20 +01:00
István Zoltán Szabó
f7eae04e1c
[DOCS] Adds new transform limitation item and a note to the tutorial (#79479) 2021-10-26 10:14:58 +02:00
Lisa Cawley
c10bf9be84
[DOCS] Add transform breaking changes (#79531) 2021-10-25 08:08:18 -07:00
István Zoltán Szabó
8c262f0edf
[DOCS] Updates transforms upgrade API docs (#79608) 2021-10-21 19:03:01 +02:00
István Zoltán Szabó
f13912c1b3
[DOCS] Drafts docs for Upgrade Transforms API (#79139) 2021-10-19 16:03:54 +02:00
Przemysław Witek
1595d3a20f
[Transform] Add _meta field to TransformConfig (#79003) 2021-10-15 08:12:03 +02:00
Hendrik Muhs
939f81e557
[Transform] add transform upgrade endpoint (#77566)
Add an _upgrade endpoint to bulk upgrade transforms. _upgrade rewrites all transforms and its
artifacts into the latest format to the latest storage(index). If all transforms are upgraded old
indices and outdated documents get deleted. Using the dry_run option it is possible to check if
upgrades are necessary without applying changes.
2021-10-13 08:49:45 +02:00
Hendrik Muhs
df32157a99
[Transform][DOCS] remove 7.x related limitations (#78975)
remove 7.x related limitations from limitations documentation for 8.x
2021-10-12 14:01:25 +02:00
István Zoltán Szabó
1971bd4591
[DOCS] Adds Transform alerts docs (#78185) 2021-10-05 14:06:48 +02:00
Lisa Cawley
1575d34822
[DOCS] Fix formatting (#77567)
This PR fixes a missing backtick.
2021-09-10 09:33:32 -07:00
Przemysław Witek
676d4de3de
[Transform] Implement the ability to preview the existing transform (#76697) 2021-08-24 14:41:49 +02:00
Przemysław Witek
ec07e4213e
[Transform] Rename interim_results to align_checkpoints (#76609) 2021-08-18 13:58:50 +02:00
Hendrik Muhs
86df1b3aec
[DOCS] enhance transform example with range filter (#74284)
enhance transform example using range instead of terms for 5xx error codes
2021-06-21 10:37:11 +02:00
István Zoltán Szabó
e197577003
[DOCS] Fixes typo in transforms at scale page. (#73726) 2021-06-03 18:27:36 +02:00
Lisa Cawley
5273011f98
[DOCS] Update transforms tutorial with index mapping details (#73395) 2021-06-02 13:45:01 -07:00
István Zoltán Szabó
0bb41ba4f8
[DOCS] Adds screenshots to Transform examples (#72939)
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2021-05-26 12:06:54 +02:00
Felix Barnsteiner
a5e39ce086
Add missing word in data streams checkpoints docs (#73005) 2021-05-13 08:34:34 +02:00
István Zoltán Szabó
bbfe962cae
[DOCS] Adds top_metrics aggs examples to Transform docs (#72738)
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2021-05-10 14:41:51 +02:00
István Zoltán Szabó
090690d17a
[DOCS] Revises required privileges info in Transforms API docs (#72803) 2021-05-06 15:19:28 +02:00