Skip to content

Instantly share code, notes, and snippets.

@faststeak
Created November 3, 2017 16:37
Show Gist options
  • Save faststeak/6446828b64688d8aad211703024d619c to your computer and use it in GitHub Desktop.
Save faststeak/6446828b64688d8aad211703024d619c to your computer and use it in GitHub Desktop.
Splunk osquery search to get a list of ip to mac pairs
index=osquery sourcetype=osquery:interface* NOT address=127.0.0.1 NOT address="::1" NOT mac=00:00:00:00:00:00 | stats values(address) as address values(mac) as mac by host interface | mvexpand mac |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment