Skip to content

Commit

Permalink
in_syslog: add desc to message_length_limit
Browse files Browse the repository at this point in the history
  • Loading branch information
repeatedly committed Mar 22, 2017
1 parent a1a9fe4 commit 1c2d5c7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/fluent/plugin/in_syslog.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,16 @@ class SyslogInput < Input
config_param :source_hostname_key, :string, default: nil
desc 'The field name of source address of sender.'
config_param :source_address_key, :string, default: nil

desc 'The field name of the priority.'
config_param :priority_key, :string, default: nil
desc 'The field name of the facility.'
config_param :facility_key, :string, default: nil

config_param :blocking_timeout, :time, default: 0.5
desc "The max bytes of message"
config_param :message_length_limit, :size, default: 2048

config_param :blocking_timeout, :time, default: 0.5

config_section :parse do
config_set_default :@type, DEFAULT_PARSER
config_param :with_priority, :bool, default: true
Expand Down

0 comments on commit 1c2d5c7

Please sign in to comment.