Skip to content

nickcarenza/logcounter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Log Counter

Usage example: tail -f error.log | logc error info debug This will display a table showing the counts of occurences in error.log of the patterns "error", "info" and "debug".

PATTERN COUNT
error   7    
info    10   
debug   0    

If you want to capture stderr as well as stdout: 2>&1

About

Counts regex matches in input

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages