Skip to content
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

Cherry-pick #7963 to 6.x: Add ILM support to Beats #9418

Merged
merged 3 commits into from
Dec 7, 2018

Conversation

ruflin
Copy link
Contributor

@ruflin ruflin commented Dec 6, 2018

Cherry-pick of PR #7963 to 6.x branch. Original message:

This adds support to Beats for index lifecycle management. With output.elasticsearch.ilm.enabled: true ilm can be enabled. It will overwrite the current index setting, automatically set up an alias with a write index and starting ingesting data to this alias. A default ILM template is provided with 30d / 50GB as rollover policy.

This adds support to Beats for index lifecycle management. With `output.elasticsearch.ilm.enabled: true` ilm can be enabled. It will overwrite the current index setting, automatically set up an alias with a write index and starting ingesting data to this alias. A default ILM template is provided with `30d / 50GB` as rollover policy.

(cherry picked from commit 9ebed25)
@@ -144,7 +144,12 @@ func loadConfigWithDefaults(config *ilmConfig, b *Beat) {
}

func checkElasticsearchVersionIlm(client *elasticsearch.Client) error {
esV := client.GetVersion()
esVer := client.GetVersion()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@urso @ph Had to do this fix after the backpart as I assume the version change is not in 6.x

@ruflin ruflin requested a review from ph December 6, 2018 15:22
@ph
Copy link
Contributor

ph commented Dec 6, 2018

Lets wait for beats-ci :)

@ruflin ruflin merged commit 297c3c6 into elastic:6.x Dec 7, 2018
@ruflin ruflin deleted the backport_7963_6.x branch December 7, 2018 06:24
DStape pushed a commit to DStape/beats that referenced this pull request Aug 20, 2019
* Add ILM support to Beats (elastic#7963)

This adds support to Beats for index lifecycle management. With `output.elasticsearch.ilm.enabled: true` ilm can be enabled. It will overwrite the current index setting, automatically set up an alias with a write index and starting ingesting data to this alias. A default ILM template is provided with `30d / 50GB` as rollover policy.

(cherry picked from commit 9ebed25)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants