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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...