log-analysis (not complete)
Rust library designed for extracting relevant information from zeek logs.
Results returned in a BTreeMap for furth processing.
Installation
cargo add log-analysis
Usage
let params = default
.path_prefix
.start_date
.src_ip
.proto_type
.build
.unwrap;
let mut log = new;
let res = log.search; // Ok(())
assert_eq!);
assert_eq!
let serialized = to_string;
assert!;
Testing
Testing is straightforward. Tests located in tests/. Test-case addtions welcomed in PRs.
Performance
# Requires flamegraph and perf
# Repo: https://github.com/flamegraph-rs/flamegraph
Contributing
Contributions are welcome! Please submit pull requests or open issues to improve the library.
License
This project is licensed under the MIT License. See the LICENSE file for details.