Commit graph

87 commits

Author SHA1 Message Date
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
Martijn van Groningen
d59ee6cb45
Add documentation around migration from rollup to downsampling (#107965)
This change also updated the deprecation warning on all rollup pages from Rollups will be removed in a future version. Use <<downsampling,downsampling>> instead. to Rollups will be removed in a future version. Please <<rollup-migrating-to-downsampling,migrate>> to <<downsampling,downsampling>> instead..
2024-05-01 08:59:44 +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
QY
cdcf238787
Remove unexpected meta param in agg's response (#89467)
Only output the `meta` param from aggs if it was sent in the request.
2022-08-26 15:57:51 -04: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
2883d37443
[DOCS] Add overview for rollup refactor (#70001) 2021-03-10 08:41:27 -05: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
9b88ae92e6
[DOCS] Fix typos for duplicate words (#69125) 2021-02-17 10:34:20 -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
Howard
af9e5aa652
[DOCS] Fix typo (#68129) 2021-01-28 17:07:01 -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
a488794063 [DOCS] Minor reword 2020-12-28 12:50:51 -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
Howard
acdbe02103
[DOCS] Fix rollup docs formatting (#66425) 2020-12-17 12:27:28 -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
167600c824 [DOCS] Remove rollup index ref 2020-11-25 17:29:13 -05: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
0bfde88b24
[DOCS] Fix typo in rollup groups docs (#62269) (#62315)
Co-authored-by: AndyHunt66 <andrew.hunt@elastic.co>
2020-09-14 10:42:47 -04:00
James Rodewig
2774cd6938
[DOCS] Swap [float] for [discrete] (#60124)
Changes instances of `[float]` in our docs for `[discrete]`.

Asciidoctor prefers the `[discrete]` tag for floating headings:
https://asciidoctor.org/docs/asciidoc-asciidoctor-diffs/#blocks
2020-07-23 11:48:22 -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