grippo 0.3.0

Grok, regex, CEL and scrubbing on typed primitives. Up to 9 times faster than the stock Rust regex.
Documentation
1
2
3
4
5
# BIND logging timestamp: `dd-Mon-yyyy hh:mm:ss.mmm`.
BIND9_TIMESTAMP %{MONTHDAY}-%{MONTH}-%{YEAR} %{TIME}

# BIND query log (category queries): `client [@0xaddr] ip#port (qname): [view name: ]query: qname class type flags (local-ip)`. The flags are one token such as `+E(0)`.
BIND9 %{BIND9_TIMESTAMP:timestamp} queries: %{LOGLEVEL:loglevel}: client(?: @0x[0-9A-Fa-f]+)? %{IP:clientip}#%{POSINT:clientport} \(%{DATA:query}\): (?:view %{NOTSPACE}: )?query: %{NOTSPACE:query} %{NOTSPACE:queryclass} %{NOTSPACE:querytype} %{NOTSPACE:queryflags} \(%{IP:dns}\)