Differences between revisions 4 and 5
Revision 4 as of 2022-05-20 04:59:10
Size: 531
Editor: PieterSmit
Comment: Extend to more generic aws log search
Revision 5 as of 2022-06-01 01:57:10
Size: 632
Editor: PieterSmit
Comment:
Deletions are marked like this. Additions are marked like this.
Line 17: Line 17:

== Links ==
 * https://automato.io/blog/finding-bad-guys-using-aws-cloudwatch-logs-insights.html

AWS/FlowLog

  • Find
    1. CloudWatch

    2. Logs > Logs Insights

    3. Search VPCFlowLogs
  • Flow logs is network packet flow logs, can be used for advanced troubleshooting and monitoring.
  • Once enabled, captured under CloudWatch vpc-flow-log/vpc-00123456-acct-name

    • e.g. filter for Logs Insights

      filter protocol == '6' and dstPort == 443 and substr(srcAddr, 0,6) != '10.20' | stats count() by srcAddr

AWS/CloudWatch/FlowLogsInsightsFilterPatterns (last edited 2022-06-01 01:57:10 by PieterSmit)