Skip to content

Commit

Permalink
add to cloudwatch readme, supports for localstack (#1462)
Browse files Browse the repository at this point in the history
* add to cloudwatch readme, supports for localstack

Signed-off-by: Honglin Cao <[email protected]>

* Update pipeline/outputs/cloudwatch.md

Co-authored-by: esmerel <[email protected]>
Signed-off-by: V2arK <[email protected]>
Signed-off-by: Honglin Cao <[email protected]>

---------

Signed-off-by: Honglin Cao <[email protected]>
Signed-off-by: V2arK <[email protected]>
Co-authored-by: esmerel <[email protected]>
  • Loading branch information
V2arK and esmerel authored Sep 18, 2024
1 parent 6aa2f2b commit 173c92c
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion pipeline/outputs/cloudwatch.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,16 @@ In your main configuration file append the following _Output_ section:
log_stream_prefix from-fluent-bit-
auto_create_group On
```
#### Intergration with Localstack (Cloudwatch Logs)

For an instance of Localstack running at `http://localhost:4566`, the following configuration needs to be added to the `[OUTPUT]` section:

```text
endpoint localhost
port 4566
```

Any testing credentials can be exported as local variables, such as `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`.

### Permissions

Expand Down Expand Up @@ -250,4 +260,4 @@ You can use our SSM Public Parameters to find the Amazon ECR image URI in your r
aws ssm get-parameters-by-path --path /aws/service/aws-for-fluent-bit/
```

For more see [the AWS for Fluent Bit github repo](https:/aws/aws-for-fluent-bit#public-images).
For more see [the AWS for Fluent Bit github repo](https:/aws/aws-for-fluent-bit#public-images).

0 comments on commit 173c92c

Please sign in to comment.