fluent/fluentd · error · Fluent::ConfigError
Argument in <storage ARG> uses invalid characters: '#{sectio
Error message
Argument in <storage ARG> uses invalid characters: '#{section.usage}' What it means
Error "Argument in <storage ARG> uses invalid characters: '#{section.usage}'" thrown in fluent/fluentd.
Source
Thrown at lib/fluent/plugin_helper/storage.rb:105
def self.included(mod)
mod.include StorageParams
end
attr_reader :_storages # for tests
def initialize
super
@_storages_started = false
@_storages = {} # usage => storage_state
end
def configure(conf)
super
@storage_configs.each do |section|
if !section.usage.empty? && section.usage !~ /^[a-zA-Z][-_.a-zA-Z0-9]*$/
raise Fluent::ConfigError, "Argument in <storage ARG> uses invalid characters: '#{section.usage}'"
end
if @_storages[section.usage]
raise Fluent::ConfigError, "duplicated storages configured: #{section.usage}"
end
storage = Plugin.new_storage(section[:@type], parent: self)
storage.configure(section.corresponding_config_element)
@_storages[section.usage] = StorageState.new(wrap_instance(storage), false)
end
end
def start
super
@_storages_started = true
@_storages.each_pair do |usage, s|
s.storage.start
s.storage.load
View on GitHub (pinned to dd45c6e18d)
When it happens
Trigger: Thrown at lib/fluent/plugin_helper/storage.rb:105 when the library encounters an invalid state.
Common situations: See trigger scenarios.
Understand the failure class
- Parsing and encoding errors: unexpected token, malformed input — why parsers reject input and how to find the real culprit.
AI-assisted analysis of fluent/fluentd@dd45c6e18d (2026-08-21).
Data as JSON: /api/errors/3becb313ee22af9c.
Report an issue: GitHub.