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

Grok is truncating data after new line #77

Closed ankitashine132 closed 6 years ago

ankitashine132 commented 6 years ago

Hi I have a log like this 17/11/28 08:49:32 ERROR ApplicationMaster: User class threw exception: java.lang.reflect.InvocationTargetException java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)....

on running a test code using pattern (?(ERROR))(?(?m:.*))

Output is only 17/11/28 08:49:32 ERROR ApplicationMaster: User class threw exception: java.lang.reflect.InvocationTargetException

Expected output is complete log from ERROR.

Please help me on this.