Created
November 18, 2024 08:47
-
-
Save huynhbaoan/d7a72490b87e874fdfb089024509f655 to your computer and use it in GitHub Desktop.
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
parse @message /^.*eni-\w+\s+(?<srcAddr>\d+\.\d+\.\d+\.\d+)\s+(?<destAddr>\d+\.\d+\.\d+\.\d+)\s+(?<srcPort>\d+)\s+(?<destPort>\d+)\s+(?<protocol>\d+)\s+(?<tcpFlag>\d+)\s+\d+\s+\d+\s+\d+\s+\d+\s+\d+\s+(?<action>\w+)\s+OK/ | |
| filter destPort="993" and isIpv4InSubnet(destAddr, "10.154.113.89/32") | |
| display srcAddr, destAddr, srcPort, destPort, tcpFlag, action |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment