Expand description
The grok
library allows you to quickly parse and match potentially unstructured data
into a structed result. It is especially helpful when parsing logfiles of all kinds. This
Rust version is mainly a port from the
java version
which in drew inspiration from the original
ruby version.
Structs§
- Grok
- The basic structure to manage patterns, entry point for common usage.
- Matches
- The
Matches
represent matched results from aPattern
against text. - Matches
Iter - Pattern
- The
Pattern
represents a compiled regex, ready to be matched against arbitrary text.
Enums§
- Error
- An error that occurred when using this library.
Functions§
- patterns
- Return the default patterns.