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

Group "last message repeated N times" in syslog output for baselines #31

Open
noproto opened this issue Oct 14, 2021 · 0 comments
Open
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@noproto
Copy link
Collaborator

noproto commented Oct 14, 2021

The whitebeam --baseline output includes superfluous syslog artifacts.

Erroneous output:

| Detection: /usr/bin/apt wrote to /var/lib/apt/lists/partial/ (VerifyCanWrite)                                                                                                         | 10    |
| message repeated 2 times: [ Detection: /usr/bin/apt wrote to /var/lib/apt/lists/partial/ (VerifyCanWrite)]                                                                            | 1     |

Expected output:

| Detection: /usr/bin/apt wrote to /var/lib/apt/lists/partial/ (VerifyCanWrite)                                                                                                         | 12    |

If a line starts with "message repeated", it should be added to the total observed count of the relevant event.

@noproto noproto added bug Something isn't working good first issue Good for newcomers labels Oct 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant