Created
June 16, 2022 16:03
-
-
Save Shivammalaviya/d0bfc8c2af4504973366fdc867f99bd1 to your computer and use it in GitHub Desktop.
This file contains 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
externaldata(RemoteIP: string, RemotePort: int, Status: string) | |
[ | |
"https://feodotracker.abuse.ch/downloads/ipblocklist_recommended.json" | |
] | |
with(format="MultiJSON", ingestionMapping='[{"Column":"RemoteIP","Properties":{"Path":"$.ip_address"}}, {"Column":"RemotePort","Properties":{"Path":"$.port"}}, {"Column":"Status","Properties":{"Path":"$.status"}}]') | |
| where Status == "online" | |
| join kind=inner DeviceNetworkEvents on RemoteIP, RemotePort |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment