# AWS VPC Flow

Scanner supports AWS VPC flow logs, which contain data about the IP traffic moving between your network interfaces in AWS. In order for Scanner to see these logs, you can configure VPC to publish these logs to S3.

## Step 1: Publish flow logs to S3

You can follow the AWS documentation to configure VPC to write flow logs to an S3 bucket. For the best results, we recommend selecting the **Parquet** log file format. See: [Publish flow logs to Amazon S3](https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs-s3.html).

## Step 2: Ingest via Scanner Collect

In Scanner, navigate to the Index Rules tab, click the '+' icon to **Create New Index Rule**, select **From AWS S3** as your data source, and select **AWS: VPC Flow** as the source type.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/data-ingestion/sources/aws-vpc-flow.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
