Last active
February 20, 2019 18:08
-
-
Save chilledornaments/067fecd5bd01080014f09c0d98d0c529 to your computer and use it in GitHub Desktop.
Graylog Regex Extractors for WatchGuard Logs
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
protocol: | |
(tcp|udp) | |
srcIP: | |
(?:tcp|udp)\s(\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}) | |
dstIP: | |
(?:\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}\s(\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3})) | |
insideInterface: | |
((\d{1,2}-([A-Z]|[a-z])[a-z]*)) | |
DestCountry: | |
(?:geo_dst="(\w{1,99})") | |
category: | |
(?:cats="(\w{1,99})") | |
AppName: | |
(?:app_name="((\w{1,99})(\s)?(\w{1,99})?))" | |
destinationSiteName: | |
(?:dstname="(\w{1,99}.\w{1,99}.\w{1,99})") | |
-- This one also has a Key=Value converter | |
# The order for these matters | |
dst_port: | |
(\d{1,99})(?:\smsg) | |
dst_port: | |
(\d{1,99})(?:\sapp_id) | |
dst_port: | |
(\d{1,99})(?:\sapp_name) | |
dst_port: | |
(\d{1,99})(?:\soffset) | |
SNI: | |
(?:sni="(.*?)") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment