Skip to content

Instantly share code, notes, and snippets.

@faststeak
Created October 31, 2017 18:11
Show Gist options
  • Save faststeak/e5c777e5610606286f4d66507f0f7e8b to your computer and use it in GitHub Desktop.
Save faststeak/e5c777e5610606286f4d66507f0f7e8b to your computer and use it in GitHub Desktop.
Splunk - Search to generate host|interface|ip|mac table with osquery data
index=osquery sourcetype="osquery:interface*" NOT interface=lo
| rename address AS ip
| stats values(*) as * by host
| stats count by host interface ip mac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment