Skip to content

Commit 18cd40a

Browse files
authored
added integration for VPC Flow logs (#98)
* added integration for VPC Flow logs * modifying image dimensions * made fixes for 404 errors --------- Co-authored-by: simranquirky <simranquirky>
1 parent 3cca881 commit 18cd40a

24 files changed

+104
-36
lines changed

docs/data-management/storage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ To use GCS for storing stream data, first create the bucket in GCS.
8888
| ZO_S3_FEATURE_HTTP1_ONLY | true | Required for compatibility |
8989
| ZO_S3_PROVIDER | s3 | Enables S3-compatible API |
9090

91-
Refer to [GCS AWS migration documentation]((https://cloud.google.com/storage/docs/aws-simple-migration)) for more information.
91+
Refer to [GCS AWS migration documentation](https://cloud.google.com/storage/docs/aws-simple-migration) for more information.
9292

9393
**Using GCS directly:**
9494

docs/ingestion/traces/go.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func InitTracerHTTP() *sdktrace.TracerProvider {
8282
```
8383
## Setup up credentials
8484

85-
- You will get `url` and `Authorization` key [here](cloud.openobserve.ai/web/ingestion/custom/traces/).
85+
- You will get `url` and `Authorization` key [here](https://cloud.openobserve.ai/web/ingestion/custom/traces/).
8686
- Replace the `url` and `Authorization` key in the `pkg/tel/otel_helper_http.go` file.
8787

8888
## Setup Service/Application

docs/integration/aws/.pages

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
nav:
22

33
- Amazon EC2 : ec2.md
4-
- Application Load Balancer(ALB) : alb.md
4+
- Application Load Balancer(ALB) : alb.md
5+
- Amazon Virtual Private Cloud : vpc-flow.md

docs/integration/aws/vpc-flow.md

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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+
![Get OpenObserve Ingestion URL and Access Key](../images/aws-integrations/vpc-flow/fetch-url.png)
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+
![Create Firehose Delivery Stream](../images/aws-integrations/vpc-flow/firehose-stream.png){: 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+
![Create Flow Log](../images/aws-integrations/vpc-flow/vpc-flowlog.png){: 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+
![Verify Logs in OpenObserve](../images/aws-integrations/vpc-flow/logs-stream.png)
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+
360 KB
Loading
403 KB
Loading
446 KB
Loading
734 KB
Loading
485 KB
Loading
695 KB
Loading

0 commit comments

Comments
 (0)