thekrakken / java-grok

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

Match.toMap() to get match in java Map. #1

Closed Leemoonsoo closed 11 years ago

Leemoonsoo commented 11 years ago

currently only Match.toJson() is available to get match.

Match.toMap() returns match in Map. which is good for some case (unit testing, java application embedding grok-java, etc)

also i have added the most basic unit test class.