Skip to content

Instantly share code, notes, and snippets.

@jonjenkins
Created June 21, 2020 22:18
Show Gist options
  • Save jonjenkins/800854d80ba95f6c16295cbac4ea2584 to your computer and use it in GitHub Desktop.
Save jonjenkins/800854d80ba95f6c16295cbac4ea2584 to your computer and use it in GitHub Desktop.
get IP overlap for recently used accounts fraud ip addresses spunk
index=main event=apicall (userid=5903382
OR userid=6469763
OR userid=16043531
OR userid=17055208
OR userid=17078331
OR userid=17098428
OR userid=17098849) | rex field=ip "(?<firstthree>\d+\.\d+\.\d+)\.\d+" | dedup firstthree, userid | table firstthree, userid | mvcombine delim="," userid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment