Skip to content

Commit

Permalink
update more lambda
Browse files Browse the repository at this point in the history
  • Loading branch information
8naama committed Aug 5, 2024
1 parent 8936305 commit cd450b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 3 additions & 6 deletions docs/shipping/AWS/aws-kinesis-firehose.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,15 @@ drop_filter: []

## Logs

:::important
The `services` and `customLogGroups` configurations do not work together. If you specify services, it will automatically send all logs from those services, regardless of any custom log groups you define. To collect logs only from specific log groups, do not use the `services` field. Instead, configure the desired log groups directly without adding services.
:::

This project deploys instrumentation that allows shipping Cloudwatch logs to Logz.io, with a Firehose Delivery Stream. It uses a Cloudformation template to create a Stack that deploys:

* Firehose Delivery Stream with Logz.io as the stream's destination.
* Lambda function that adds Subscription Filters to Cloudwatch Log Groups, as defined by user's input.
* Roles, log groups, and other resources that are necessary for this instrumentation.

:::important
This service sends all logs, regardless of custom log groups. When setting up a service, it automatically sends all logs from that service, even if you specify a particular log group. To solve this, directly configure the specific log group without adding a new service.

:::info
If you want to send logs from specific log groups, use `customLogGroups` instead of `services`. Since specifying `services` will automatically send all logs from those services, regardless of any custom log groups you define.
:::

##### Auto-deploy the Stack
Expand Down
2 changes: 1 addition & 1 deletion docs/shipping/AWS/aws-lambda-extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ Your lambda logs will appear under the type `lambda-extension-logs`.
#### Pre-Built content
Install the pre-built dashboard to enhance the observability of your logs.
Log in to your Logz.io account and navigate to the [current instructions page](https://app.logz.io/#/dashboard/integrations/Lambda-extensions) to install the pre-built dashboard to enhance the observability of your logs.
<!-- logzio-inject:install:grafana:dashboards ids=["4yDXMhmHwfDYvOO8o0SGon"] -->
Expand Down

0 comments on commit cd450b3

Please sign in to comment.