[Response Ops] API to retrieve execution log entries from event log.#127339
Merged
ymao1 merged 68 commits intoelastic:mainfrom Mar 18, 2022
Merged
[Response Ops] API to retrieve execution log entries from event log.#127339ymao1 merged 68 commits intoelastic:mainfrom
ymao1 merged 68 commits intoelastic:mainfrom
Conversation
…g/event-log-aggregate
…g/event-log-aggregate
…g/event-log-aggregate
…g/event-log-aggregate
This reverts commit 939340e.
This reverts commit 40a93a4.
…g/event-log-aggregate
…g/event-log-aggregate
…o1/kibana into alerting/event-log-aggregate
mikecote
approved these changes
Mar 17, 2022
Contributor
mikecote
left a comment
There was a problem hiding this comment.
Changes LGTM! Pulled down locally and saw the API return logs for a given rule 👍
Contributor
Author
|
@elasticmachine merge upstream |
spong
reviewed
Mar 18, 2022
…/kibana into alerting/execution-log-api
Contributor
Author
|
@elasticmachine merge upstream |
Contributor
Author
|
@elasticmachine merge upstream |
Contributor
Author
|
@elasticmachine merge upstream |
…/kibana into alerting/execution-log-api
💚 Build SucceededMetrics [docs]Public APIs missing exports
History
To update your PR or re-run it, just comment with: cc @ymao1 |
This was referenced Mar 29, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #126837
Summary
Adds new HTTP API to retrieve execution log information.
To Verify
https://localhost:5601/internal/alerting/rule/<rule_id>/_execution_log?date_start=<ISO date string>and see entries for the execution log. Onlydate_startquery parameter is required, all others have default values. Defaults to sorting by descending timestamp order with 10 results per page.Checklist