mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 23:27:25 -04:00
[DOCS] Extract the cron docs from Watcher docs and add to the API conventions. (#56313)
* [DOCS] Promote cron expressions info from Watcher to a separate topic. * Fix table error * Fixed xref * Apply suggestions from code review Co-authored-by: James Rodewig <james.rodewig@elastic.co> * Incorporated review feedback Co-authored-by: James Rodewig <james.rodewig@elastic.co>
This commit is contained in:
parent
cde5126620
commit
1412e80266
7 changed files with 224 additions and 201 deletions
|
@ -1,5 +1,3 @@
|
|||
[role="xpack"]
|
||||
[testenv="basic"]
|
||||
[[slm-api-put-policy]]
|
||||
=== Put snapshot lifecycle policy API
|
||||
++++
|
||||
|
@ -109,7 +107,7 @@ Minimum number of snapshots to retain, even if the snapshots have expired.
|
|||
====
|
||||
|
||||
`schedule`::
|
||||
(Required, <<schedule-cron,Cron scheduler configuration>>)
|
||||
(Required, <<cron-expressions,Cron syntax>>)
|
||||
Periodic or absolute schedule at which the policy creates snapshots and deletes
|
||||
expired snapshots. Schedule changes to existing policies are applied immediately.
|
||||
|
||||
|
@ -147,4 +145,4 @@ PUT /_slm/policy/daily-snapshots
|
|||
<6> Optional retention configuration
|
||||
<7> Keep snapshots for 30 days
|
||||
<8> Always keep at least 5 successful snapshots, even if they're more than 30 days old
|
||||
<9> Keep no more than 50 successful snapshots, even if they're less than 30 days old
|
||||
<9> Keep no more than 50 successful snapshots, even if they're less than 30 days old
|
Loading…
Add table
Add a link
Reference in a new issue