{"action":"opened","issue":{"url":"https://api.github.com/repos/kiyoto/fluent-plugin-grok-parser/issues/13","labels_url":"https://api.github.com/repos/kiyoto/fluent-plugin-grok-parser/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/kiyoto/fluent-plugin-grok-parser/issues/13/comments","events_url":"https://api.github.com/repos/kiyoto/fluent-plugin-grok-parser/issues/13/events","html_url":"https://github.com/kiyoto/fluent-plugin-grok-parser/issues/13","id":121259667,"number":13,"title":"uninitialized constant & multiline regex match issue","user":{"login":"Dutzu","id":2588646,"avatar_url":"https://avatars.githubusercontent.com/u/2588646?v=3","gravatar_id":"","url":"https://api.github.com/users/Dutzu","html_url":"https://github.com/Dutzu","followers_url":"https://api.github.com/users/Dutzu/followers","following_url":"https://api.github.com/users/Dutzu/following{/other_user}","gists_url":"https://api.github.com/users/Dutzu/gists{/gist_id}","starred_url":"https://api.github.com/users/Dutzu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dutzu/subscriptions","organizations_url":"https://api.github.com/users/Dutzu/orgs","repos_url":"https://api.github.com/users/Dutzu/repos","events_url":"https://api.github.com/users/Dutzu/events{/privacy}","received_events_url":"https://api.github.com/users/Dutzu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-09T14:50:06Z","updated_at":"2015-12-09T14:50:06Z","closed_at":null,"body":"Hello,\r\n\r\nWhen trying to use the plugin without multiline I always get this error:\r\n\r\n```ruby\r\n2015-12-09 16:36:03 +0200 [error]: unexpected error error=\"uninitialized constant Fluent::TextParser::MultilineGrokParser\"\r\n  2015-12-09 16:36:03 +0200 [error]: /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluent-plugin-grok-parser-0.0.3/lib/fluent/plugin/grok.rb:23:in `initialize'\r\n  2015-12-09 16:36:03 +0200 [error]: /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluent-plugin-grok-parser-0.0.3/lib/fluent/plugin/parser_grok.rb:21:in `new'\r\n  2015-12-09 16:36:03 +0200 [error]: /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluent-plugin-grok-parser-0.0.3/lib/fluent/plugin/parser_grok.rb:21:in `configure'\r\n```\r\n\r\nAnd when running in multiline mode, no matter how and what regex pattern I set for detecting a new log message I always get this error:\r\n\r\n`2015-12-09 16:39:26 +0200 [error]: empty range in char class: ` followed by the log line it had read.\r\nThe source seems to be the following:\r\n```ruby\r\n2015-12-09 16:39:26 +0200 [error]: /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluent-plugin-grok-parser-0.0.3/lib/fluent/plugin/parser_multiline_grok.rb:23:in `match'\r\n  2015-12-09 16:39:26 +0200 [error]: /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluent-plugin-grok-parser-0.0.3/lib/fluent/plugin/parser_multiline_grok.rb:23:in `firstline?'\r\n  2015-12-09 16:39:26 +0200 [error]: /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.12/lib/fluent/plugin/in_tail.rb:266:in `block in parse_multilines'\r\n```\r\n\r\nKeep in mind, running it without setting the `multiline_start_regexp` will work, of course without benefiting from the multiline aggregation functionality.\r\n\r\nAlso please fix the typo in the example config you have in the Readme because there you specify the parameter as being `multiline_start_regex`, without a `p` in the end, which basically makes the plugin run without the multi line detection.\r\n\r\nThanks\r\n\r\nP.S. - for reference:\r\n* td-agent v0.12.12\r\n* fluentd v0.12.17\r\n* fluent-plugin-grok-parser v0.0.3\r\n* ruby 1.9.3p484\r\n\r\nrunning on Linux Mint 17.2 (Ubuntu 14.04.2 LTS Trusty)\r\n"}}