Like the thread says, the two regex engines are wildly different, however.. you can increase the threads using -w option in grok to increase the threads.
Kevin On Wed, Jul 11, 2018 at 5:35 PM Muhammed Irshad <irshadkt....@gmail.com> wrote: > Hi All, > > I am trying to write Java custom parser for parsing AD logs. I am expecting > log flow of 10 million AD events per second. Is using Java regex to parse > benefit over using Grok parser in terms of performance ? Is there any > performance benchmark or insights regarding the same ? > > I found this stackoverflow > < > https://stackoverflow.com/questions/43222863/logstash-grok-filter-is-slower-than-java-regex-pattern-matching > > > question which inspired me for this post. > > -- > Muhammed Irshad K T > Senior Software Engineer > +919447946359 > irshadkt....@gmail.com > Skype : muhammed.irshad.k.t >