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
The Grok
struct is the main entry point into using this library.
The Matches
represent matched results from a Pattern
against a provided text.
An Iterator
over all matches, accessible via Matches
.
The Pattern
represents a compiled regex, ready to be matched against arbitrary text.
Enums
Errors that can occur when using this library.
Functions
Returns the default patterns, also used by the default constructor of Grok
.