grippo 0.2.0

Parse, match and scrub data faster and more efficiently.
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}\)