Aria Operations for Networks shows error on GUI "AWS VPC Flows Logs are not being exported to Cloudwatch." when submitting AWS as datasource
search cancel

Aria Operations for Networks shows error on GUI "AWS VPC Flows Logs are not being exported to Cloudwatch." when submitting AWS as datasource

book

Article ID: 373263

calendar_today

Updated On:

Products

VMware Aria Operations for Networks

Issue/Introduction

  • Aria Operations for Networks shows error on GUI "AWS VPC Flows Logs are not being exported to Cloudwatch." when submitting AWS as datasource 
  • When executing the following commands, the output seen is not what is expected:

    aws ec2 describe-flow-logs

    Output:

    {
        "FlowLogs": []
            {
    }

    Expected output:

    {
        "FlowLogs": [
            {
                "CreationTime": "2022-08-24T12:42:01.027000+00:00",
                "DeliverLogsStatus": "SUCCESS",
                "FlowLogId": "fl-############",
                "FlowLogStatus": "ACTIVE",
                "ResourceId": "vpc-############",
                "TrafficType": "ALL",
                "LogDestinationType": "s3",
                "LogDestination": "arn:aws:s3:::psingh5",
                "LogFormat": "${version} ${account-id} ${interface-id} ${srcaddr} ${dstaddr} ${srcport} ${dstport} ${protocol} ${packets} ${bytes} ${start} ${end} ${action} ${log-status}",
                "Tags": [
                    {
                        "Key": "Value",
                        "Value": "vpc-############"
                    },
                    {
                        "Key": "Key",
                        "Value": "Name"
                    }
                ],
                "MaxAggregationInterval": 600,
                "DestinationOptions": {
                    "FileFormat": "plain-text",
                    "HiveCompatiblePartitions": false,
                    "PerHourPartition": false
                }
            }
        ]
    }

Environment

Aria Operations for Networks 6.10.0
Aria Operations for Networks 6.11.0
Aria Operations for Networks 6.12.0
Aria Operations for Networks 6.13.0

 

 

Cause

AWS VPC Flows Logs not configured on AWS Side before adding AWS as datasource in Aria Operations for Networks GUI.

Resolution

To resolve this issue:

  1. Configured AWS VPC Flows Logs as per steps available in public facing documentation:

    Create AWS VPC Flow Log

  2. Add datasource in Aria Operations for Networks GUI and submit the datasource using steps documentation at Add Amazon Web Services