-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Alerting][7.x] Add migration that copies existing rule saved object ids to another location in the saved object #108075
Comments
Pinging @elastic/kibana-alerting-services (Team:Alerting Services) |
I've started a PR (#108196) which creates a There is another question that comes to mind; what should we do with |
Good point! During export, we won't really know if the |
I do think this can be a valid scenario (if using pre-defined IDs). From a requirements perspective, I'm thinking it's not necessary to re-connect existing event log documents to a rule after importing it. Which makes me lean on the side of emptying out the |
++ agreed. I don't know how common this will be and I don't think it will result in a poor UX even if it did happen. |
Relates to #100067
To prepare for the upcoming saved object ID migration, we need to copy over the existing ID to a new location in the saved object for every rule.
Once the migration happens in 8.0, there is no way to determine the legacy ID given the new, migrated ID. This is a problem for our code that searches against the event log as the event log will contain references to legacy IDs and we need to start searching across both IDs.
See the PoC PR for more insight into how this might work.
The text was updated successfully, but these errors were encountered: