fluent/fluentd · error · Fluent::ConfigError
resolve_hostname must be true with source_hostname_key
Error message
resolve_hostname must be true with source_hostname_key
What it means
Error "resolve_hostname must be true with source_hostname_key" thrown in fluent/fluentd.
Source
Thrown at lib/fluent/plugin/in_syslog.rb:143
log.warn "priority_key is deprecated. Use severity_key instead"
end
@use_default = false
@parser = parser_create
@parser_parse_priority = @parser.respond_to?(:with_priority) && @parser.with_priority
if @include_source_host
if @source_address_key
raise Fluent::ConfigError, "specify either source_address_key or include_source_host"
end
@source_address_key = @source_host_key
end
if @source_hostname_key
if @resolve_hostname.nil?
@resolve_hostname = true
elsif !@resolve_hostname # user specifies "false" in config
raise Fluent::ConfigError, "resolve_hostname must be true with source_hostname_key"
end
end
@_event_loop_run_timeout = @blocking_timeout
protocol = @protocol_type || @transport_config.protocol
if @send_keepalive_packet && protocol == :udp
raise Fluent::ConfigError, "send_keepalive_packet is available for tcp/tls"
end
end
def multi_workers_ready?
true
end
def zero_downtime_restart_ready?
true
endView on GitHub (pinned to dd45c6e18d)
When it happens
Trigger: Thrown at lib/fluent/plugin/in_syslog.rb:143 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/b22fd8920f37b03f.
Report an issue: GitHub.