aws-cdk-examples icon indicating copy to clipboard operation
aws-cdk-examples copied to clipboard

Add an example for ingesting CloudWatch logs into OpenSearch using OpenSearch Ingestion pipeline.

Open sb2k16 opened this issue 1 year ago • 0 comments
trafficstars

Fixes #1055

The purpose of this pull request is to provide an example on how OpenSearch Ingestion Pipeline could be used to ingest CloudWatch logs into Opensearch using a CloudWatch Lambda subscription filter.

This example creates the following resources:

  • OpenSearch Serverless collection in a VPC where the logs would eventually be written to by the OpenSearch Ingestion Pipeline sink.
  • OpenSearch Ingestion pipeline
  • CloudWatch Subscription Filter with Lambda function to call the OSI pipeline endpoint to push logs data received from an incoming log stream.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

sb2k16 avatar Jul 02 '24 14:07 sb2k16