Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parser_multiline.rb must require parser_regexp #1453

Merged

Commits on Feb 9, 2017

  1. parser_multiline.rb must require parser_regexp in order to use Fluent…

    …::Plugin::RegexpParser
    
    Because parser_multiline uses Fluent::Plugin::RegexpParser it must
    require parser_regexp, otherwise, you get error messages like this
    when using in_tail with format multiline:
    ```
    2017-02-09 02:02:25 +0000 [error]: #0 fluent/supervisor.rb:674:block in main_process: config error file="/etc/fluent/fluent.conf" error_class=Fluent::ConfigError error="Invalid regexp '^(?<time>\\S+\\s+\\S+\\s+\\S+)\\s+(?<host>\\S+)\\s+(?<ident>[\\w\\/\\.\\-]*)(?:\\[(?<pid>[0-9]+)\\])?[^\\:]*\\:\\s*(?<message>.*)$': uninitialized constant Fluent::Plugin::RegexpParser\nDid you mean?  RegexpError"
    ```
    richm committed Feb 9, 2017
    Configuration menu
    Copy the full SHA
    863309a View commit details
    Browse the repository at this point in the history