Splunk Search

splunk search and changed domaincontroller name

ESIMatNeforce
Path Finder

Hello,
I have recently changed the computername of my Domaincontroller. When I make a splunk search with "failed password" I get the logs with some attributes of the old hostname and some of the new one:

dest_nt_host W2012R2SrvDC.splunktest.local

dvc WIN-2LUN2OJR0JR

dvc_nt_host WIN-2LUN2OJR0JR

host WIN-2LUN2OJR0JR

The new computername is W2012R2SrvDC. Why does Splunk still has the old computername in the found logs? (the logs are newly created) and how can I fix this issue?

Tags (1)
0 Karma

sdaniels
Splunk Employee
Splunk Employee

Sounds like on the initial setup of this host you have a constant value for the host field value in the Splunk configuration and you just need to change that.

In the inputs.conf do you have an entry assigning the hostname like this?

[monitor:///whatever/log1]
host = abc.mydomain.com

0 Karma

ESIMatNeforce
Path Finder

thanks, but thats not a solution to my problem
i have searched all config files on my splunk system, but there is nowhere a hardcoded "WIN-2LUN2OJR0JR" in it

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!

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...

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 ...