forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set refresh according to stateful vs stateless when indexing alert do…
…cuments (elastic#201209) In this PR, I'm making the change so when Kibana is running with Elasticsearch stateful we set refresh to `wait_for` (instead of `true`) so we are not putting too much pressure on the Elasticsearch indices when under load. ## To verify Very using the Cloud deployment and Serverless project created from this PR 1. Create an always firing ES Query rule 2. Create an always firing security detection rule w/ alert suppression 3. Verify the ECH cluster logs and observe `*** Refresh value when indexing alerts: wait_for` and `*** Rule registry - refresh value when indexing alerts: wait_for` messages 4. Verify the serverless project logs on QA overview and observe `*** Refresh value when indexing alerts: true` and `*** Rule registry - refresh value when indexing alerts: true` messages ## To-Do - [x] Revert commit elastic@7c19b45 that was added for testing purposes --------- Co-authored-by: kibanamachine <[email protected]> (cherry picked from commit a4cb330) # Conflicts: # x-pack/plugins/alerting/kibana.jsonc # x-pack/plugins/alerting/server/plugin.ts
- Loading branch information
Showing
30 changed files
with
187 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.