# How to Collect and Analyse AWS VPC Flow Logs | ntop

> Amazon Virtual Private Cloud (VPC) flow logs and in essence text-based Netflow-like logs consisting of fields that describe the traffic flow. They are often c

[Blog](https://www.ntop.org/blog/)[nProbe](https://www.ntop.org/category/nprobe/)

# How to Collect and Analyse AWS VPC Flow Logs

July 12, 20212 min read

[Amazon Virtual Private Cloud (VPC) flow logs](https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html) and in essence text-based Netflow-like logs consisting of fields that describe the traffic flow. They are often collected on disk and published to [S3 buckets](https://en.wikipedia.org/wiki/Amazon_S3) or [CloudWatch](https://aws.amazon.com/cloudwatch/) for an AWS-centric monitoring infrastructure ([extra AWS charge is necessary](https://aws.amazon.com/cloudwatch/pricing/)).

Now suppose that you want to use this information to monitor your VPC using ntop tools or turn these logs in industry standard NetFlow/IPFIX flows that can be ingested in any monitoring application unable to understand this proprietary log format. In this case you can use nProbe to process these flow logs and send them to ntopng or your favourite flow collection application, not to mention the ability to deliver them to Elastic or Kafka-based consumers. The setup for VPC logs processing is similar to what you have with flow collection, with the exception that nProbe is not receiving flows via UDP (as it happens with sFlow/NetFlow/IPFIX) but it is monitoring a directory where VPC logs are stored.

For this purpose we have extended the format for the collection port parameter to support these logs. In essence nProbe:

-   Watches a directory where flows are stored.
-   Uses the VPC flow logs to fill up the flow cache, similar to what happens when collecting flows via UDP.
-   Exports them to collectors (e.g. ntopng in the above example) using the standard nProbe features.
-   Deletes the VPC log file, after processing.

Below you can find a couple of examples where you collect flows and send them to a local ntopng instance for realtime traffic visualisation and analysis.

-   Collect sFlow/NetFlow/IPFIX flows on port 2055:  
    `` `nprobe -3 2055 --zmq tcp://127.0.0.1:1234` ``
-   Collect AWS VPC flows on directory /data/vpc:  
    `` `nprobe -3 /data/vpc --zmq tcp://127.0.0.1:1234` ``
-   Run ntopng to collect flows from nProbe:  
    `ntopng -i tcp://127.0.0.1:1234`

Using nProbe you can now transform your proprietary VPC logs into industry-standard NetFlow/IPFX flows and process them with your existing monitoring infrastructure without using proprietary formats or tools. Note that VPC logs do not include information such as DPI, so that nProbe can only guess application protocol with nDPI port/address-based heuristics. Remember that nProbe can run on AWS for full traffic visibility in case you need advanced monitoring information.

This extension is present in the current nProbe nightly build (all versions, Pro and Enterprise) and it will be integrated in the next stable release.

Enjoy!

## Keep reading

AnnounceSep 9, 2026

### [nProbe 11.2: BGP/BMP Support, OT Protocols, Faster Flow Collection](https://www.ntop.org/nprobe-11-2-bgp-bmp-support-ot-protocols-faster-flow-collection/)

We are pleased to announce the release of nProbe 11.2, bringing major new capabilities for network visibility, routing intelligence, flow analysis, and OT monitoring. This release significantly expands nProbe beyond traditional flow…

nProbeAug 12, 2026

### [HowTo Collect Flows: the Case of Palo Alto and Fortinet](https://www.ntop.org/howto-collect-flows-the-case-of-palo-alto-and-fortigate/)

Network devices export flow data in many flavors. Some vendors stick closely to the NetFlow/IPFIX standard, so collecting their flows is essentially plug-and-play. Others extend the standard with proprietary Information Elements (IEs)…

nProbeJun 4, 2026

### [Observability: Enabling High-Resolution Timeseries in ntopng](https://www.ntop.org/observability-enabling-high-resolution-timeseries-in-ntopng/)

Modern observability platforms are expected to answer questions that traditional monitoring systems were never designed to handle: What exactly happened during that 20-second congestion spike? Which application caused the transient burst? Why…

## Try it on your own network

Download the free Community edition and see your first flows in five minutes.

[Download ntopng free](https://www.ntop.org/support/documentation/software-installation/)[Talk to an engineer](https://www.ntop.org/support/need-help/contacts/)
Source: https://www.ntop.org/how-to-collect-and-analyse-aws-vpc-flow-logs/