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

[➕ Feature]: Extraction and Mapping should expose logs #1818

Open
talboren opened this issue Sep 3, 2024 · 4 comments
Open

[➕ Feature]: Extraction and Mapping should expose logs #1818

talboren opened this issue Sep 3, 2024 · 4 comments
Labels
API API related issues Good First Issue Good for newcomers UI User interface related issues

Comments

@talboren
Copy link
Member

talboren commented Sep 3, 2024

As a user, I would like to be able to see the last X logs for every rule I've created, to understand why, for example, the rule did not match some alert I expected it to match.
As a user, I should be able to expand the rule row in the rules table and see X last logs for that specific rule with some indicative information.

@talboren talboren added Good First Issue Good for newcomers UI User interface related issues API API related issues labels Sep 3, 2024
@talboren talboren changed the title [➕ Feature]: Extraction and Mapping should have logs [➕ Feature]: Extraction and Mapping should expose logs Sep 3, 2024
@cu8code
Copy link

cu8code commented Sep 22, 2024

Has anyone picked up this issue, or assign it to me @talboren

@talboren
Copy link
Member Author

@cu8code not yet, it's up for grabs :)

@cu8code
Copy link

cu8code commented Sep 23, 2024

@talboren could you guild me a bit about which part of the codebase need to change and I should focus on

@talboren
Copy link
Member Author

@cu8code actually I don't have complete PRD for this. The motivation I had in mind is this: right now, when a user configures mapping/extraction rule, it's hard for him to know when it succeeded or when it failed and why (in the perspective of a single alert for example).

As a user, I push some alert in, I expect it to be enriched from mapping/extraction (or both), and it didn't happen - "now what?"

So the general idea here is to create some way for the user to know what happened. It can be via exposing logs that the user can query for mapping & extraction (enrichments_bl.py is probably the way to get started with it), or it can be via a "manual run" for mapping/extraction rule, where the user can select the alert he wants to test it against and see what happens in the process (we have something quite similar in workflow execution).

CleanShot.2024-09-24.at.11.42.44.mp4

Let me know if you have further questions, we can discuss it over Slack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API API related issues Good First Issue Good for newcomers UI User interface related issues
Projects
None yet
Development

No branches or pull requests

2 participants