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 user-error tags to action logs #192715

Closed
doakalexi opened this issue Sep 12, 2024 · 1 comment · Fixed by #193066
Closed

Add user-error tags to action logs #192715

doakalexi opened this issue Sep 12, 2024 · 1 comment · Fixed by #193066
Assignees
Labels
Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)

Comments

@doakalexi
Copy link
Contributor

I was adding an ES query rule to help us track connector action failures, and I want to be able to filter out errors that have already been marked as user-errors. The alerting logs already have this tag.

@doakalexi doakalexi added the Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) label Sep 12, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

@doakalexi doakalexi self-assigned this Sep 16, 2024
doakalexi added a commit that referenced this issue Sep 17, 2024
Resolves #192715

## Summary

Adds user-error and framework-error tags to the action error logs


### Checklist

- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Sep 17, 2024
Resolves elastic#192715

## Summary

Adds user-error and framework-error tags to the action error logs

### Checklist

- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

(cherry picked from commit e47eff1)
kibanamachine referenced this issue Sep 17, 2024
…3212)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[ResponseOps] Add user-error tags to action logs
(#193066)](#193066)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Alexi
Doak","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-09-17T17:31:11Z","message":"[ResponseOps]
Add user-error tags to action logs (#193066)\n\nResolves
https://github.com/elastic/kibana/issues/192715\r\n\r\n##
Summary\r\n\r\nAdds user-error and framework-error tags to the action
error logs\r\n\r\n\r\n### Checklist\r\n\r\n- [ ] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"e47eff12204885a2c280d07e42fb8a96fa61c778","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","v9.0.0","backport:prev-minor","v8.16.0"],"title":"[ResponseOps]
Add user-error tags to action
logs","number":193066,"url":"https://github.com/elastic/kibana/pull/193066","mergeCommit":{"message":"[ResponseOps]
Add user-error tags to action logs (#193066)\n\nResolves
https://github.com/elastic/kibana/issues/192715\r\n\r\n##
Summary\r\n\r\nAdds user-error and framework-error tags to the action
error logs\r\n\r\n\r\n### Checklist\r\n\r\n- [ ] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"e47eff12204885a2c280d07e42fb8a96fa61c778"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/193066","number":193066,"mergeCommit":{"message":"[ResponseOps]
Add user-error tags to action logs (#193066)\n\nResolves
https://github.com/elastic/kibana/issues/192715\r\n\r\n##
Summary\r\n\r\nAdds user-error and framework-error tags to the action
error logs\r\n\r\n\r\n### Checklist\r\n\r\n- [ ] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"e47eff12204885a2c280d07e42fb8a96fa61c778"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Alexi Doak <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants