Signed-off-by: Erik Hollensbe <email@example.com>
|6 months ago|
|migrations||6 months ago|
|src||6 months ago|
|.env||6 months ago|
|.gitignore||6 months ago|
|Cargo.lock||6 months ago|
|Cargo.toml||6 months ago|
|LICENSE||6 months ago|
|README.md||6 months ago|
|diesel.toml||6 months ago|
|docker-compose.yml||6 months ago|
Kleene generates patterns composed from a group of log files that share common data. It can then use this data to then match against a larger set of log files to determine which of them matches the content.
Soon, you will be able to register your logs in a database for ongoing pattern revision. Additionally, further enhancements to the pattern generation algorithm are expected to come soon.
Get a copy of cargo, a tool to drive rust builds. Then,
cargo install --git https://code.hollensbe.org/erikh/kleene
There are currently two commands:
kleene train <files> > pattern_file, which emits a pattern over standard output;
kleenepatterns have null characters in them (
\0) so it is important they are not copy-pasted. Redirect standard output to a file.
kleene match <files> < pattern_fileaccepts a pattern over standard input and matches it against the files, terminating immediately on the first mismatch currently.
It should perform reasonably well on large files.
Erik Hollensbe firstname.lastname@example.org