fluent/fluentd · error · ArgumentError
#{name}: unknown config_argument type `#{type}'
Error message
#{name}: unknown config_argument type `#{type}' What it means
Error "#{name}: unknown config_argument type `#{type}'" thrown in fluent/fluentd.
Source
Thrown at lib/fluent/config/configure_proxy.rb:267
def parameter_configuration(name, type = nil, **kwargs, &block)
config_parameter_option_validate!(name, type, **kwargs, &block)
name = name.to_sym
if block && type
raise ArgumentError, "#{name}: both of block and type cannot be specified"
elsif !block && !type
type = :string
end
opts = {}
opts[:type] = type
opts.merge!(kwargs)
begin
block ||= @type_lookup.call(type)
rescue ConfigError
# override error message
raise ArgumentError, "#{name}: unknown config_argument type `#{type}'"
end
# options for config_param
option_value_type!(name, opts, :desc, String)
option_value_type!(name, opts, :alias, Symbol)
option_value_type!(name, opts, :secret, type: :boolean)
option_value_type!(name, opts, :deprecated, String)
option_value_type!(name, opts, :obsoleted, String)
if type == :enum
if !opts.has_key?(:list) || !opts[:list].is_a?(Array) || opts[:list].empty? || !opts[:list].all?(Symbol)
raise ArgumentError, "#{name}: enum parameter requires :list of Symbols"
end
end
option_value_type!(name, opts, :symbolize_keys, type: :boolean)
option_value_type!(name, opts, :value_type, Symbol) # hash, array
option_value_type!(name, opts, :skip_accessor, type: :boolean)
if opts.has_key?(:default)View on GitHub (pinned to dd45c6e18d)
When it happens
Trigger: Thrown at lib/fluent/config/configure_proxy.rb:267 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of fluent/fluentd@dd45c6e18d (2026-08-21).
Data as JSON: /api/errors/1ff13e3a9143c3d3.
Report an issue: GitHub.