-
Notifications
You must be signed in to change notification settings - Fork 25.3k
[DOCS] Adds retention_policy to PUT Transform API docs #68656
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Pinging @elastic/ml-core (Team:ML) |
Pinging @elastic/es-docs (Team:Docs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 small typo to be fixed, otherwise LGTM
end::transform-retention-time[] | ||
|
||
tag::transform-retention-time-field[] | ||
The date filed that is used to calculate the age of the document. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
filed -> field
@elasticmachine update branch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Co-authored-by: lcawl <lcawley@elastic.co>
Overview
This PR adds the
retention_policy
property and its sub-properties to the PUT Transform API and update transform API docs. It also expands the example API call with the property in the PUT Transform API docs and the example response in the GET Transform stats API docs.Preview
Note
This PR depends on #67832
Update the branch after that PR is merged to pass the CI tests.