Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[docs] Update setup and export command. #12564

Closed
simitt opened this issue Jun 17, 2019 · 0 comments · Fixed by #12583
Closed

[docs] Update setup and export command. #12564

simitt opened this issue Jun 17, 2019 · 0 comments · Fixed by #12583
Assignees

Comments

@simitt
Copy link
Contributor

simitt commented Jun 17, 2019

It seems the setup and export cmd descriptions aren't fully up-to-date.

For 7.0 and 7.1 the option for --ilm-policy is missing.

From 7.2 on, the --template and --ilm-policy option will be deprecated in favor of --index-management, which combines setting up the templates and everything around ILM, in case ILM is enabled. This was introduced with #12132. The reason for combining to one option was that template and ilm policy and write alias setup are strongly coupled to each other and having two dedicated setup options can lead to unexpected behavior.

Furthermore 7.2 will introduce the option to configure a --dir for exporting the ilm-policy and the template to files instead of stdout.

@simitt simitt self-assigned this Jun 17, 2019
simitt added a commit to simitt/beats that referenced this issue Jun 17, 2019
Deprecating `setup template` and `setup ilm-policy` in favor of `setup
--index-management` in docs. Adding `--dir` option for `export` cmd.

closes elastic#12564
simitt added a commit that referenced this issue Jun 19, 2019
Update docs to reflect deprecation of `setup template` and `setup ilm-policy` in favor of `setup
--index-management`. Add `--dir` option for `export` cmd to docs.

closes #12564

Co-Authored-By: Brandon Morelli <bmorelli25@gmail.com>
simitt added a commit to simitt/beats that referenced this issue Jun 19, 2019
Update docs to reflect deprecation of `setup template` and `setup ilm-policy` in favor of `setup
--index-management`. Add `--dir` option for `export` cmd to docs.

closes elastic#12564

Co-Authored-By: Brandon Morelli <bmorelli25@gmail.com>
simitt added a commit that referenced this issue Jun 21, 2019
Update docs to reflect deprecation of `setup template` and `setup ilm-policy` in favor of `setup
--index-management`. Add `--dir` option for `export` cmd to docs.

closes #12564

Co-Authored-By: Brandon Morelli <bmorelli25@gmail.com>
leweafan pushed a commit to leweafan/beats that referenced this issue Apr 28, 2023
…#12613)

Update docs to reflect deprecation of `setup template` and `setup ilm-policy` in favor of `setup
--index-management`. Add `--dir` option for `export` cmd to docs.

closes elastic#12564

Co-Authored-By: Brandon Morelli <bmorelli25@gmail.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant