fluent/fluentd · error · Fluent::ConfigError
time_format parameter is ignored because time_key parameter
Error message
time_format parameter is ignored because time_key parameter is not set. at #{conf.inspect} What it means
Error "time_format parameter is ignored because time_key parameter is not set. at #{conf.inspect}" thrown in fluent/fluentd.
Source
Thrown at lib/fluent/compat/parser.rb:199
end
class ValuesParser < Parser
include Fluent::Compat::TypeConverter
config_param :keys, :array, default: []
config_param :time_key, :string, default: nil
config_param :null_value_pattern, :string, default: nil
config_param :null_empty_string, :bool, default: false
def configure(conf)
super
if @time_key && !@keys.include?(@time_key) && @estimate_current_event
raise Fluent::ConfigError, "time_key (#{@time_key.inspect}) is not included in keys (#{@keys.inspect})"
end
if @time_format && !@time_key
raise Fluent::ConfigError, "time_format parameter is ignored because time_key parameter is not set. at #{conf.inspect}"
end
@time_parser = time_parser_create
if @null_value_pattern
@null_value_pattern = Regexp.new(@null_value_pattern)
end
@mutex = Mutex.new
end
def values_map(values)
record = Hash[keys.zip(values.map { |value| convert_value_to_nil(value) })]
if @time_key
value = @keep_time_key ? record[@time_key] : record.delete(@time_key)
time = if value.nil?
if @estimate_current_eventView on GitHub (pinned to dd45c6e18d)
When it happens
Trigger: Thrown at lib/fluent/compat/parser.rb:199 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/8ec0d1e3c7acf9af.
Report an issue: GitHub.