|
| 1 | +--- |
| 2 | +title: AWS VPC Flow Logs Integration Guide |
| 3 | +description: Stream AWS VPC Flow Logs to OpenObserve using Kinesis Firehose (no CloudWatch required). Direct setup for basic ingestion. |
| 4 | +--- |
| 5 | + |
| 6 | +# Integration with AWS VPC Flow Logs |
| 7 | +This guide explains how to stream VPC Flow Logs directly to OpenObserve using Amazon Kinesis Firehose. |
| 8 | + |
| 9 | +## Overview |
| 10 | +Capture and forward VPC Flow Logs to OpenObserve via Firehose for real-time network visibility. |
| 11 | + |
| 12 | +## Steps to Integrate |
| 13 | + |
| 14 | +??? "Prerequisites" |
| 15 | + - OpenObserve account ([Cloud](https://cloud.openobserve.ai/web/) or [Self-Hosted](../../../quickstart/#self-hosted-installation)) |
| 16 | + - AWS account with access to VPC and Firehose |
| 17 | + - S3 bucket for failed log backup (recommended) |
| 18 | + |
| 19 | +??? "Step 1: Get OpenObserve Ingestion URL and Access Key" |
| 20 | + |
| 21 | + 1. In OpenObserve: go to **Data Sources → Recommended → AWS** |
| 22 | + 2. Copy the ingestion URL and Access Key |
| 23 | + |
| 24 | +  |
| 25 | + |
| 26 | + > Update the URL to have the stream name of your choice: |
| 27 | + ``` |
| 28 | + https://<your-openobserve-domain>/aws/default/<stream_name>/_kinesis_firehose |
| 29 | + ``` |
| 30 | + |
| 31 | +??? "Step 2: Create Firehose Delivery Stream" |
| 32 | + |
| 33 | + 1. In AWS Kinesis Firehose, Create delivery stream with Source: `Direct PUT` and Destination: `HTTP Endpoint`. |
| 34 | + 2. Provide OpenObserve's HTTP Endpoint URL and Access Key, and set an S3 backup bucket. |
| 35 | + 3. Give the stream a meaningful name and Create it. |
| 36 | + |
| 37 | + {: style="height:800px"} |
| 38 | + |
| 39 | +??? "Step 3: Enable VPC Flow Logs" |
| 40 | + |
| 41 | + 1. Go to **VPC → Your VPC → Flow Logs → Create Flow Log** |
| 42 | + 2. Set: |
| 43 | + - Filter: `All` |
| 44 | + - Destination: `Kinesis Data Firehose` |
| 45 | + - Delivery stream: Select the stream you created in step 2 |
| 46 | + - Log format: `All fields` |
| 47 | + 3. Create the flow log |
| 48 | + |
| 49 | + {: style="height:800px"} |
| 50 | + |
| 51 | +??? "Step 4: Verify Logs in OpenObserve" |
| 52 | + |
| 53 | + 1. Go to **Logs** → select your log stream → Set time range → Click **Run Query** |
| 54 | + |
| 55 | +  |
| 56 | + |
| 57 | + |
| 58 | +??? "Troubleshooting" |
| 59 | + |
| 60 | + **No logs?** |
| 61 | + |
| 62 | + - Ensure Firehose is `ACTIVE` and logs are reaching it |
| 63 | + - Check S3 bucket for failed deliveries |
| 64 | + - Confirm URL and Access Key are correct |
| 65 | + |
| 66 | + |
0 commit comments