Skip to content

AWS Site to Site VPN log is not generating in Cloudwatch log group

0

Help Post:

I am having a problem with the Site-to-site VPN tunnel not generating log to Cloud Watch Group. I have enabled the VPN tunnel log for both tunnels. First I got the log but after updating the tunnel option it is not generating any more

This is the error in the Cloudwatch logEnter image description here

1 Answer
1

Hello,

For the logging feature to function correctly, the IAM policy attached to the IAM principal used to configure the feature must include the following permissions as a minimum requirement: https://docs.aws.amazon.com/vpn/latest/s2svpn/monitoring-logs.html

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Action": [
        "logs:CreateLogDelivery",
        "logs:GetLogDelivery",
        "logs:UpdateLogDelivery",
        "logs:DeleteLogDelivery",
        "logs:ListLogDeliveries"
      ],
      "Resource": [
        "*"
      ],
      "Effect": "Allow",
      "Sid": "S2SVPNLogging"
    },
    {
      "Sid": "S2SVPNLoggingCWL",
      "Action": [
        "logs:PutResourcePolicy",
        "logs:DescribeResourcePolicies",
        "logs:DescribeLogGroups"
      ],
      "Resource": [
        "*"
      ],
      "Effect": "Allow"
    }
  ]
}  
EXPERT
answered 2 years ago
  • Thank you for your valuable guidance.

    I have added this policy to my IAM user. but still problem exists, no log generating for Cloudwatch log group

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.