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

Add alert and action plugin console logging (ease of debugging) #49401

Closed
mikecote opened this issue Oct 25, 2019 · 2 comments · Fixed by #85149
Closed

Add alert and action plugin console logging (ease of debugging) #49401

mikecote opened this issue Oct 25, 2019 · 2 comments · Fixed by #85149
Assignees
Labels
Feature:Actions Feature:Alerting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)

Comments

@mikecote
Copy link
Contributor

mikecote commented Oct 25, 2019

We should do an audit of the debug logs we do for alerts and actions plugin. We should add logs in missing areas that would facilitate debugging issues on a remote install.

Some examples of visibility that logging should be providing (note some may already be done):

  • When did my alert run last?
  • Did my alert have any active instances when it ran?
  • What actions got fired from my alert execution?
  • Did any alert action get throttled?
  • Errors that happened during alert or action execution

NOTE:
This issue is in the same area as #62337 and could be worked on at the same time.

Original description

We currently don't have any console logging within the alerting plugins. We should add some debug logs to facilitate debugging issues on a remote install.

@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-stack-services (Team:Stack Services)

@bmcconaghy bmcconaghy added Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) and removed Team:Stack Services labels Dec 12, 2019
@mikecote
Copy link
Contributor Author

mikecote commented Sep 2, 2020

It's also hard to debug the output search query an alert uses. A debug log would be useful in some alert types.

@ymao1 ymao1 self-assigned this Nov 30, 2020
@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Actions Feature:Alerting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)
Projects
None yet
5 participants