Skip to content

benwtrent/lg-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lg-rs

Command line utility for creating log groupings.

This is built on drain-rs

Usage:

Creating a new model

lg-rs HDFS_2k.log --log-pattern="%{NUMBER:date} %{NUMBER:time} %{NUMBER:proc} %{LOGLEVEL:level} %{DATA:component}: %{GREEDYDATA:content}" --filter-patterns="blk_(|-)[0-9]+,%{IPV4:ip_address},%{NUMBER:number}" --output-model=dump.json

Reading from an existing one

cat HDFS_2k.log | lg-rs --from-model=dump.json

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages