Rapid-fire: how do you query VPC flow logs for rejected traffic to one host?
IntermediateProductionRapid-Fire Commands
Answer
SELECT srcaddr, dstport, count(*) c FROM vpc_flow_logs
WHERE dstaddr='10.0.2.15' AND action='REJECT' GROUP BY 1,2 ORDER BY c DESC LIMIT 20;
More on Rapid-Fire Commands
Rapid-fire: how do you see which process listens on port 443?BeginnerRapid-fire: how do you check DNS resolution against a specific server?BeginnerRapid-fire: how do you measure where time goes in an HTTPS request?BeginnerRapid-fire: how do you find the route and source IP used to reach 10.1.2.3?BeginnerRapid-fire: how do you test TCP reachability without telnet?BeginnerRapid-fire: how do you show the TLS certificate expiry of a live site?Beginner