Getting Data In

Running Batch Script for NetBios name resolution?

NateStreet
New Member

We currently have several logs that only capture the IP address of the asset performing the activity. A simple "nbtstat -a " will return the name of the asset within the windows command prompt. Is there a way we can automate this name resolution through automatically running a batch (.bat) file when it returns the first ten results (e.g. top 10)? Since the host names will depend on the current IP Address assignment it seems that this will need to be done as close to real time as possible.

Any suggestions or workarounds? Thank you!

Tags (1)
0 Karma

ahall_splunk
Splunk Employee
Splunk Employee

If you are using Windows DHCP then you can monitor that and as it gives out assignments, log that. You can read about the log file here: http://technet.microsoft.com/en-us/library/dd759178.aspx

Once you have the data, create a temporal lookup of _time,src_ip,src_host and use that. Read about temporal lookups here: http://docs.splunk.com/Documentation/Splunk/6.2.0/Knowledge/Addfieldsfromexternaldatasources#Set_up_...

0 Karma
Get Updates on the Splunk Community!

Manual Instrumentation with Splunk Observability Cloud: The What and Why

If you've ever worked with distributed systems, you’ve likely felt the pain of a frontend throwing errors, ...

Full-Stack Security in Financial Services: AppDynamics, Cisco Secure Application, and ...

Full-Stack Security in Financial Services: AppDynamics, Cisco Secure Application, and Splunk ES Protecting a ...

It's Customer Success Time at .conf25

Hello Splunkers,   Ready for .conf25? The customer success and experience team is and can’t wait to see you ...