Skip to content

Conversation

edsavage
Copy link
Contributor

@edsavage edsavage commented Mar 6, 2025

  • Enable updating of custom rules
  • Correctly update filters (scoped rules)

These changes fix a bug whereby memory corruption was caused when updating filters for an open job. The bug had previously been masked by code that reset the job's analysis config to its original state after every config update - the downside of this was that custom rules could not be updated on the fly, only by stopping and restarting the job.

Backports #2821

* Enable updating of custom rules
* Correctly update filters (scoped rules)

These changes fix a bug whereby memory corruption was caused when updating filters for an open job. The bug had previously been masked by code that reset the job's analysis config to its original state after every config update - the downside of this was that custom rules could not be updated on the fly, only by stopping and restarting the job.
@edsavage edsavage merged commit 10e51f3 into elastic:8.17 Mar 6, 2025
13 checks passed
@edsavage edsavage deleted the 8_17_update_custom_rules branch March 20, 2025 03:42
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.

1 participant