After upgrading a Windows Splunk Universal Forwarder (UF) from 9.4.x to 10.2.x, users observe that the host field changes casing from uppercase (e.g., WIN-FORWARDER01) to lowercase (e.g., win-forwarder01).
This casing discrepancy can cause production searches, reports, and dashboards with case-sensitive filters (e.g., host="WIN-FORWARDER01") to stop matching incoming events.
1. Verify configuration via btool:
Run the following commands on the affected forwarder:
"%SPLUNK_HOME%\bin\splunk" btool inputs list --debug"
"%SPLUNK_HOME%\bin\splunk" btool server list --debug"
Confirm that "inputs.conf" uses host = $decideOnStartup.
Confirm that hostnameOption is unset under [general] in "server.conf."
2. Inspect splunkd.log startup events:
Check "%SPLUNK_HOME%\var\log\splunk\splunkd.log" during startup:
In 9.4.x:
INFO ServerConfig - Found no hostname options in server.conf. Will attempt to use default for now.
INFO ServerConfig - Host name option is "".
INFO ServerConfig - My hostname is "WIN-FORWARDER01".
In 10.2.x:
INFO ServerConfig - My hostname is win-forwarder01, kvstore hostname is win-forwarder01
To restore the pre-10.2 behavior and have the forwarder resolve hostnames in uppercase via %COMPUTERNAME% without needing to hardcode server names:
1. Add hostnameOption = netbios under [general] in
%SPLUNK_HOME%\etc\system\local\server.conf
[general]
hostnameOption = netbios
2. Restart the Universal Forwarder service.
3. Verify in %SPLUNK_HOME%\var\log\splunk\splunkd.log that ServerConfig initializes the hostname in uppercase.
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
24-Nov-2026
|
Initial Release |