Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Adds settings to disable and delete history #143

Merged

Conversation

qreshi
Copy link
Contributor

@qreshi qreshi commented Jan 8, 2020

Issue #, if available:

Description of changes:
Adds settings for disabling alert history and deleting old history indices.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

lucaswin-amzn
lucaswin-amzn previously approved these changes Jan 9, 2020
Copy link
Contributor

@lucaswin-amzn lucaswin-amzn left a comment

Choose a reason for hiding this comment

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

lgtm, thanks for the change and answering my questions.

@qreshi qreshi requested a review from mihirsoni January 14, 2020 00:56
@dbbaughe dbbaughe merged commit 03ef00e into opendistro-for-elasticsearch:master Jan 14, 2020
tlfeng pushed a commit that referenced this pull request Feb 6, 2021
* Added retention period and disable alert history settings

* Added logic to delete old history indices

* Added integration tests for disabling history and history retention

* Reset historyIndexInitialized when history write index is deleted to allow for recreation when history is reenabled

* Fix bug where other history indices aren't deleted after iterating on the history write index
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants