Commit Graph

157 Commits

Author SHA1 Message Date
Przemysław Witek 2b70165ffd
[Transform] Allow specifying destination index aliases in the Transform's dest config (#94943) 2023-04-17 15:08:43 +02:00
Przemysław Witek a3f34a39c8
[Transform] Add `delete_dest_index` parameter to the `Delete Transform API` (#94162) 2023-03-10 13:02:19 +01:00
Lisa Cawley f49bb09503
[DOCS] Refresh screenshots for machine learning rules (#93805) 2023-02-15 15:43:30 -08:00
Lisa Cawley 2c4ef7c26a
[DOCS] Refresh screenshots for transform health rules (#93761) 2023-02-14 10:11:49 -08:00
István Zoltán Szabó a6f365c51c
[DOCS] Modifies schedule now transform API docs (#93519) 2023-02-08 17:16:59 +01:00
Przemysław Witek f60401a61c
[Transform] Transform `_schedule_now` API (#92948) 2023-02-02 19:03:16 +01:00
Przemysław Witek 40d32205db
[Transform] Add `from` parameter to Transform Start API (#91116) 2023-01-17 10:36:21 +01:00
István Zoltán Szabó 6561c47317
[DOCS] Adds example of better index resolve to transforms at scale (#92234)
Co-authored-by: Przemysław Witek <przemyslaw.witek@elastic.co>
2022-12-12 15:18:49 +01:00
István Zoltán Szabó e16bee0e72
[DOCS] Adds bullet points to the statuses of the health object in transform stats API docs (#91790) 2022-11-22 15:18:08 +01:00
Hendrik Muhs 82a71f6ef6
[Transform] add a health section to transform stats (#90760)
adds a health section to the transform stats endpoint and implements reporting assignment, indexing/search and persistence problems, together with a overall health state.
2022-10-25 09:01:21 +02:00
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