Skip to content

Commit

Permalink
Merge pull request #1778 from okkez/add-description-to-parser-regexp
Browse files Browse the repository at this point in the history
Add description to parser_regexp
  • Loading branch information
repeatedly authored Dec 6, 2017
2 parents 57468c1 + 0e73e09 commit 109b064
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/fluent/plugin/parser_regexp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ module Plugin
class RegexpParser < Parser
Plugin.register_parser("regexp", self)

desc 'Regular expression for matching logs'
config_param :expression, :string
desc 'Ignore case in matching'
config_param :ignorecase, :bool, default: false
desc 'Build regular expression as a multline mode'
config_param :multiline, :bool, default: false

config_set_default :time_key, 'time'
Expand Down

0 comments on commit 109b064

Please sign in to comment.