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

[Alerting] Include stack monitoring rules in import/export #103599

Open
ymao1 opened this issue Jun 29, 2021 · 5 comments
Open

[Alerting] Include stack monitoring rules in import/export #103599

ymao1 opened this issue Jun 29, 2021 · 5 comments
Labels
enhancement New value added to drive a business result estimate:small Small Estimated Level of Effort Feature:Alerting/RulesFramework Issues related to the Alerting Rules Framework Feature:Alerting NeededFor:Monitoring Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)

Comments

@ymao1
Copy link
Contributor

ymao1 commented Jun 29, 2021

We have enabled import/export of rules through the SO management UI via this PR but are currently excluding stack monitoring rules from being exported via this UI.

There are multiple issues open that need to be addressed before stack monitoring rules can be exportable via the framework export, so once those issues are resolved, we should make sure that stack monitoring rule export is enabled.

@ymao1 ymao1 added Feature:Alerting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) labels Jun 29, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-alerting-services (Team:Alerting Services)

@gmmorris gmmorris added Theme: rac label obsolete Project:ImproveAlertingManagementUX Alerting team project for improving the management experience of alerting. NeededFor:Monitoring Feature:Alerting/RulesFramework Issues related to the Alerting Rules Framework and removed Project:ImproveAlertingManagementUX Alerting team project for improving the management experience of alerting. labels Jun 30, 2021
@gmmorris gmmorris added loe:medium Medium Level of Effort and removed Theme: rac label obsolete labels Jul 6, 2021
@mikecote
Copy link
Contributor

@ymao1
Copy link
Contributor Author

ymao1 commented Aug 4, 2021

#106457 has been merged, which should unblock this issue. Should verify that with those changes, if stack monitoring rules are enabled for export, duplicate stack monitoring rules will not be created.

@mikecote mikecote removed the blocked label Aug 4, 2021
@ymao1
Copy link
Contributor Author

ymao1 commented Aug 4, 2021

@jasonrhodes With #106457, this is the potential behavior if stack monitoring rules are enabled for export via Saved Objects Management:

Scenario 1:
Kibana A -> has 8 OOTB stack monitoring rules created and other rules. No changes made to OOTB rules
Kibana B - > has 8 OOTB stack monitoring rules created

User exports all rules from Kibana A and imports them into Kibana B, default space

User sees 16 stack monitoring rules, with duplicate Rule names:
Screen Shot 2021-08-04 at 2 52 14 PM

Scenario 2:
Kibana A -> has 8 OOTB stack monitoring rules created in Default space

User goes to Different Space and tries to Create default rules. Nothing is created.
User exports all rules from Kibana A Default space and imports them into Kibana A Different Space.
User sees 8 stack monitoring rules in Different Space

Are these scenarios acceptable?

@gmmorris gmmorris added enhancement New value added to drive a business result estimate:small Small Estimated Level of Effort labels Aug 13, 2021
@gmmorris gmmorris removed the loe:medium Medium Level of Effort label Sep 2, 2021
@kobelb kobelb added the needs-team Issues missing a team label label Jan 31, 2022
@botelastic botelastic bot removed the needs-team Issues missing a team label label Jan 31, 2022
@bduong97
Copy link

Hi all, will this feature be revisited? We'd like to include all rule types in a saved object export if possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result estimate:small Small Estimated Level of Effort Feature:Alerting/RulesFramework Issues related to the Alerting Rules Framework Feature:Alerting NeededFor:Monitoring Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)
Projects
No open projects
Development

No branches or pull requests

6 participants