Last active
October 31, 2017 16:26
-
-
Save faststeak/00fe3e2819d9a99cd20155f10ca3dc10 to your computer and use it in GitHub Desktop.
Splunk - Create a list of host to mac pairs and output to a csv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
index=windows sourcetype=WinHostMon source=networkadapter | |
| stats count by host MACAddress | |
| rename MACAddress as mac host as hostname | |
| outputlookup windows_mac_addresses.csv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This assumes that you have the WinHostMon input enabled and configured to pull network adapter information.