Commit Graph

73 Commits

Author SHA1 Message Date
Martijn van Groningen 639a1e0891
Revert "Emit deprecation warning when executing one of the rollup APIs (#112807)" (#113047)
This reverts commit 3d6e9a2850, because
the original change is causing xpack rest test failures in other
repositories.
2024-09-18 05:30:35 +10:00
Martijn van Groningen 3d6e9a2850
Emit deprecation warning when executing one of the rollup APIs (#112807)
Currently none of the rollup APIs deprecation warning. Only the reference docs indicate that rollup has been deprecated.

Relates to #112690
2024-09-17 19:23:22 +02:00
Martijn van Groningen 95855043a3
Disallow new rollup jobs in clusters with no rollup usage. (#108624)
This change will add logic to the put rollup api that fails if no rollup job is active and no rollup index exists in the cluster.

The logic first check whether there is an active rollup persistent task if there are no active rollup persistent tasks, then it checks whether any rollup index exists. The latter check is an expensive check, but assuming that it only runs as part of the put rollup job api and only when there are no rollup jobs, this should be ok.

All tests that invoke the put rollup job api will need to be adjusted to create a dummy index that has rollup mapping metadata. Otherwise, tests can't create a rollup job.

Closes #108381
2024-05-21 09:38:10 +02:00
James Rodewig 3a91763d27
[DOCS] Deprecate rollups (#101265) 2023-10-25 16:52:25 -04:00
David Kilfoyle 7722daa197
[DOCS] Add downsampling reference to rollup docs (#91295) 2022-11-08 10:02:17 -05: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
Yang Wang b7fc0ac7cf
Fix privileges for GetRollupIndexCapabilities API (#75614)
In addition to read, access to this API is now also granted by
view_index_metadata and manage.

Resolves: #74779
2021-07-29 11:57:42 +10:00
James Rodewig 693807a6d3
[DOCS] Fix double spaces (#71082) 2021-03-31 09:57:47 -04:00
James Rodewig 493741dd7f
[DOCS] Remove docs for rollup refactor (#70885) 2021-03-26 09:03:00 -04:00
James Rodewig d68b140679
[DOCS] Clarify supported rollup fields (#70045) 2021-03-09 12:13:58 -05:00
James Rodewig d6492c6392 [DOCS] Reword `terms` rollup config 2021-03-02 16:08:51 -05:00
James Rodewig 31fc59efdf
[DOCS] Fix capitalization for Query DSL (#69236) 2021-02-18 18:57:19 -05:00
James Rodewig adadf47819
[DOCS] Reuse ILM rollup action config (#68755) 2021-02-09 10:50:30 -05:00
James Rodewig e0935f658f
[DOCS] Note rollup metrics cannot be used in histogram (#68675) 2021-02-08 11:41:38 -05:00
James Rodewig 1b2fad47c4
[DOCS] Fix rollup V2 security docs (#68518) 2021-02-04 12:37:41 -05:00
James Rodewig fa8a49b8a7 [DOCS] Fix rollup API prereq wording 2021-01-28 11:12:55 -05:00
James Rodewig 63ad862f2a
[DOCS] Add xrefs to rollup overview (#68119) 2021-01-28 10:37:30 -05:00
James Rodewig bde13769c4 [DOCS] Reword rollup API reqs 2021-01-26 16:04:33 -05:00
James Rodewig 6b502abc6b [DOCS] Add rollup API prereqs 2021-01-25 13:39:01 -05:00
James Rodewig cf214f0acb
[DOCS] Fix metric requirements in rollup V2 API docs (#67922) 2021-01-25 11:51:57 -05:00
James Rodewig 6531bba866
[DOCS] Add test subs for rollover API docs (#67615) 2021-01-15 17:24:28 -05:00
James Rodewig fea769d69b
[DOCS] Minor reword (#67183) 2021-01-07 14:04:29 -05:00
James Rodewig 68a83473d3
[DOCS] Update rollup def (#66870) 2020-12-29 14:10:35 -05:00
James Rodewig 00837b3ffc
[DOCS] Add xref to agg metric double field type (#66831) 2020-12-28 09:45:09 -05:00
James Rodewig 6493e6575e
[DOCS] Update rollup xrefs (#66799) 2020-12-23 13:49:15 -05:00
James Rodewig 3f528945f0 [DOCS] Fix typo 2020-12-22 13:36:03 -05:00
James Rodewig d8d5b8c49a
[DOCS] Increment section blocks (#66751) 2020-12-22 10:29:11 -05:00
James Rodewig c24f9e125b
[DOCS] Minor rewording (#66744) 2020-12-22 09:24:04 -05:00
Tal Levy ea2145a797
move rollup_index param out of RollupActionConfig (#66139)
This commit moves the ownership of tracking the rollup_index from
the RollupActionConfig to the RollupAction.Request.

This is cleaner since the config should not be concerned with the
source and rollup indices.

relates #42720.

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
2020-12-14 10:34:12 -08:00
James Rodewig e285f45d9c
[DOCS] Add timeout param for rollup API (#65858) 2020-12-08 12:23:44 -05:00
James Rodewig 87c803c56d
[DOCS] Rollup V2: Fix rollup index def (#65770) 2020-12-08 12:22:07 -05:00
James Rodewig a1b6be045c
[DOCS] Fix docs integ tests for release builds (#65761) 2020-12-02 12:09:53 -05:00
James Rodewig eac210436b
[DOCS] Label legacy rollup APIs (#65518) 2020-12-01 09:00:45 -05:00
James Rodewig d3613ab1b5
[DOCS] Replace "time-series" with "time series" (#65620) 2020-11-30 12:39:24 -05:00
James Rodewig f727f8eb21
[DOCS] Clarify `metrics` is array of strings (#65611) 2020-11-30 09:46:51 -05:00
David Kyle be86dd5625
Mute rollup docs test (#65585)
For #65544
2020-11-30 10:43:13 +00:00
James Rodewig 427930d30a
[DOCS] Add rollup V2 security privileges (#65512) 2020-11-25 15:48:51 -05:00
James Rodewig a941c7147f
[DOCS] Add rollup V2 API docs (#65398)
Changes:

* Documents new `<index>/_rollup` API
* Updates rollup APIs overview page
* Enables rollups V2 in docs integ tests
2020-11-25 11:16:06 -05:00
James Rodewig 1ea83359bb
[DOCS] Fix case for 'Boolean' (#64299) 2020-10-29 09:04:43 -04:00
James Rodewig 80b674fb25
[DOCS] Reformat snippets to use two-space indents (#59973) 2020-07-21 12:24:26 -04:00
James Rodewig f292edb123
[DOCS] Add data streams to rollup APIs (#59423) 2020-07-13 16:35:18 -04:00
Lisa Cawley ab1d3eb69c
[DOCS] Adds collapsible sections to rollup APIs (#54690) 2020-04-02 17:40:53 -07:00
Hendrik Muhs da9273ab7b
[Transform][Rollup] add processing stats to record the time sp… (#53770)
add 2 additional stats: processing time and processing total which capture the
time spent for processing results and how often it ran. The 2 new stats
correspond to the existing indexing and search stats. Together with indexing
and search this now allows the user to see the full picture, all 3 stages.
2020-03-23 20:32:19 +01:00
Lisa Cawley a4efab6ab4
[DOCS] Merge rollup config details into API (#49412) 2019-11-22 08:31:30 -08:00
Lisa Cawley 468dff79f6
[DOCS] Reformat rollup API docs (#49397) 2019-11-20 10:43:53 -08:00
Lisa Cawley 4e4990c6a0
[DOCS] Cleans up links to security content (#47610) 2019-10-04 16:10:26 -07:00
James Rodewig 5c78f606c2
[DOCS] Change // CONSOLE comments to [source,console] (#46440) 2019-09-09 10:45:37 -04:00
James Rodewig e43be90e6c
[DOCS] [5 of 5] Change // TESTRESPONSE comments to [source,console-results] (#46449) 2019-09-06 14:05:36 -04:00
James Rodewig 466c59a4a7
[DOCS] Replace "// TESTRESPONSE" magic comments with "[source,console-result] (#46295) 2019-09-05 16:47:18 -04:00
James Rodewig 5d0e6b56ff
[DOCS] Replace placeholder anchors for create rollup job API docs. (#45712) 2019-08-20 10:36:42 -04:00