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

Parsed log is getting duplicated or repeated content #78

Closed ankitashine132 closed 4 years ago

ankitashine132 commented 6 years ago

Hi,

While trying to parse a log, using basic grok exp like this (?(ERROR))(?(?m:.*))

The output above expression gives gets duplicated I have attached log file S3_Spark_Error.txt and log generated output.txt

Please help me on this.

output.txt S3_Spark_Error.txt

ottobackwards commented 6 years ago

Do you have a small sample of code that reproduces the problem?