VPC Flow Logs
Amazon VPC Flow Logs is a feature that provides the ability to capture information about IP network traffic as it enters or exits from network interface in your Amazon VPC (Amazon Virtual Private Cloud). VPC Flow Logs can help you with a number of tasks, such as:
- Diagnosing overly restrictive security group rules.
- Monitoring the traffic that is reaching your instance.
- Determining the direction of the traffic to and from the network interfaces.
The following table lists the data source offered by this integration.
||every packets passing through the AWS account are logged|
||AWS Flow Logs are Netflow-like|
||packets logged by Flow Logs|
||traffic analysis at levels 2/3/4|
VPC Flow Logs
As a prerequisite you need an existing VPC, subnet or network interface (Elastic Load Balancing, Amazon RDS, Amazon ElastiCache, Amazon Redshift, Amazon WorkSpaces, NAT gateways, Transit gateways) to create a flow log. If you create a flow log for a subnet or VPC, each network interface in that subnet or VPC is monitored.
In the AWS console, navigate to:
Services > VPC. From there, select the resource for which you want to capture information. The flow logs are available on the following resources: VPC, subnet, or network interfaces.
For VPC and subnet:
- Select the specific resource to monitor
- Go to the tab Flow logs
- Click on Create flow log
- Set up the flow log: we recommend to capture all traffic (accepted and rejected).
Create the intake
Go to the intake page and create a new intake from the format
Set up the module configuration with the AWS Access Key, the secret key and the region name. Set up the trigger configuration with the name of the S3 Bucket, hosting the Flowlogs records, and a prefix to select the objects (optional, e.g
At the end of the playbook, set up the action
Push events to intake with a SEKOIA.IO API key and the intake key, from the intake previously created.
Start the playbook and enjoy your events.