Splunk Search

Host Field is Using the Old Hostname

ibraheem
Explorer

Hi,

I'm facing an issue with 5 hosts, recently we change the hostname of these machines but it is not reflected in the host field, in the host field the old hostname is shown.

Below is a sample log:

"LogName=Security

EventCode=4673

EventType=0

ComputerName=A0310PMTHYCJH15.tnjhs.com.pk

host = A0310PMNIAMT05    source = WinEventLog:Security     sourcetype = WinEventLog "

We are receiving logs from these windows hosts through UF and I checked the apps deployed in these hosts and checked the inputs.conf, hostname field is not defined.

The new hostname is shown in the logs in the field ComputerName.

Any suggestions to this problem would be appreciated.

Labels (1)
0 Karma

ibraheem
Explorer

Logs are landing directly from UF to indexers

0 Karma

ibraheem
Explorer

In the newly ingested events, the old hostname is used in the host field, the new hostname is shown in the ComputerName field

0 Karma

PickleRick
SplunkTrust
SplunkTrust

That is indeed strange. Do you have TA_windows installed on your receiving end?

0 Karma

ibraheem
Explorer

Yes, we have TA_windows installed. I've checked this add-on for hostname/host field in inputs.conf, but this field does not exist

0 Karma

PickleRick
SplunkTrust
SplunkTrust

Are you sending directly from your UF to indexer(s)? Or do you have a HF somewhere in the middle?

0 Karma

PickleRick
SplunkTrust
SplunkTrust

Are you talking about the old events or the newly ingested ones?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...