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

show message counts #8

Closed
rogpeppe opened this issue Mar 2, 2015 · 3 comments
Closed

show message counts #8

rogpeppe opened this issue Mar 2, 2015 · 3 comments

Comments

@rogpeppe
Copy link

rogpeppe commented Mar 2, 2015

(First, thanks for this tool - it's potentially really useful)

When analysing a log file, it would be very useful to have
not only the patterns and the example line, but also the
number of lines in the log file that matched each pattern,
to get an idea for the prevalence of each pattern in the file.

@cryptix
Copy link

cryptix commented Mar 2, 2015

👍
I thought about something similar. My idea was letting the scanner return the line number of the rules file it matched against or maybe adding an identifier to the rules to group them together.

@zhenjl
Copy link
Collaborator

zhenjl commented Mar 3, 2015

Ack. I think someone else on reddit or HN also asked for something similar. Traveling last and this week (MWC) so won't be able to do much...but sounds like a good feature to have so will add.

@zhenjl zhenjl closed this as completed in b769371 Mar 7, 2015
@zhenjl
Copy link
Collaborator

zhenjl commented Mar 7, 2015

In the analyze output I've added a comment showing the # of messages matching that pattern. Let me know if that works.

I didn't list out every message that matches the pattern, but it's not hard to do if that's useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants