From 1c2d5c724c08dd7c17ece7207c6e4cc438c3c4e6 Mon Sep 17 00:00:00 2001 From: Masahiro Nakagawa Date: Wed, 22 Mar 2017 23:40:22 +0900 Subject: [PATCH] in_syslog: add desc to message_length_limit --- lib/fluent/plugin/in_syslog.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/fluent/plugin/in_syslog.rb b/lib/fluent/plugin/in_syslog.rb index bb46209294..dfb26ef8f2 100644 --- a/lib/fluent/plugin/in_syslog.rb +++ b/lib/fluent/plugin/in_syslog.rb @@ -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