thekrakken / java-grok

Simple API that allows you to easily parse logs and other files
http://grok.nflabs.com/
Other
360 stars 151 forks source link

adding data-type conversion to grok patterns. #20

Closed semaifour closed 9 years ago

semaifour commented 9 years ago

for ex: COMMONAPACHELOG_DATATYPED %{IPORHOST:clientip} %{USER:ident;boolean} %{USER:auth} [%{HTTPDATE:timestamp;date;dd/MMM/yyyy:HH:mm:ss Z}] "(?:%{WORD:verb;string} %{NOTSPACE:request}(?: HTTP/%{NUMBER:httpversion;float})?|%{DATA:rawrequest})" %{NUMBER:response;int} (?:%{NUMBER:bytes;long}|-)

anthonycorbacho commented 9 years ago

Thats a nice feature! thanks for the PR, Let me take a look before merging it :)

semaifour commented 9 years ago

thanks.

semaifour commented 9 years ago

could you update maven repository with latest build?