Commit Graph

136 Commits

Author SHA1 Message Date
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
Lisa Cawley 0074ba6d5a
[DOCS] Clarify update transform API (#72427) 2021-04-29 07:57:58 -07:00
István Zoltán Szabó 51fe73081d
[DOCS] Adds further details and an example to how transform checkpointing works (#71615) 2021-04-19 11:29:17 +02:00
James Rodewig 693807a6d3
[DOCS] Fix double spaces (#71082) 2021-03-31 09:57:47 -04:00
István Zoltán Szabó 178563c224
[DOCS] Reorganizes Transforms limitations (#70638) 2021-03-24 11:22:59 +01:00
István Zoltán Szabó c4a33f2413
[DOCS] Adds latest transform example to transform docs (#70562)
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2021-03-23 15:34:10 +01:00
Lisa Cawley 5eca57e9dd
[DOCS] Remove beta qualifier from transform tutorial (#70469) 2021-03-16 12:13:06 -07:00
James Rodewig 5c75d004fa
[DOCS] Replace `put` with `create or update` in API names (#70330)
Co-authored-by: debadair <debadair@elastic.co>
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2021-03-15 14:49:44 -04:00
James Rodewig 010a973018
[DOCS] Refactor ingest pipeline docs (#70253) 2021-03-15 12:22:57 -04:00
István Zoltán Szabó a3fdaceeb1
[DOCS] Expands transforms docs with CCS info (#70156)
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2021-03-10 15:54:31 +01:00
István Zoltán Szabó 300031b247
[DOCS] Removes beta from latest Transform docs. (#69964) 2021-03-04 16:36:47 +01:00
István Zoltán Szabó b4057d7c22
[DOCS] Adds new screenshot to Transform tutorial (#69194)
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2021-02-23 15:23:51 +01:00