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!

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...

Turn Cisco Telemetry Into Action with Cisco Data Fabric, powered by the Splunk ...

The surge in machine data is already hitting enterprise budgets, and the agentic era will only intensify it. ...