pure-ruby grok hangs indefinitely on a particular pattern

Description

A particular grok pattern I'm using to parse postgres logs causes the pure-ruby grok in 1.1.0beta2 to hang for a seemingly indefinite time.

This configuration readily reproduces the problem:

Logstash config

When executed, the grok pattern will load and no output will show.

Gliffy Diagrams

Activity

Show:

Jordan Sissel December 17, 2012 at 7:58 PM

(also worth noting that many grok patterns have been improved since May 2012 to avoid these indefinite pattern match issues)

Richard Pijnenburg December 17, 2012 at 4:31 AM

Very old ticket.
If issue still persists with current version please open a new ticket.

Jordan Sissel May 8, 2012 at 2:29 AM

Can you include a sample input line that causes the hang? No worries if you can't.

Michael Leinartas May 8, 2012 at 1:39 AM

This looks like it may be the same or similar to

Fixed

Details

Assignee

Reporter

Fix versions

Created September 21, 2011 at 5:40 AM
Updated April 19, 2013 at 8:19 PM
Resolved December 17, 2012 at 4:31 AM