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!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...