One Observability Workshop v3.0.0
One Observability Workshop / constructs/opensearch-pipeline
constructs/opensearch-pipeline¶
OpenSearch Ingestion Pipeline construct for the One Observability Workshop.
Creates an Amazon OpenSearch Ingestion (OSIS) pipeline for log aggregation:
- HTTP source endpoint that receives logs from ECS FireLens sidecars
- OpenSearch sink that indexes logs into the serverless collection
- IAM role with least-privilege access to the collection
- CloudWatch Logs for pipeline execution monitoring
The pipeline acts as a managed log ingestion layer between the application containers and OpenSearch, handling buffering, transformation, and delivery.
Best practice: Using an ingestion pipeline decouples log producers from the search backend. This allows independent scaling and avoids direct OpenSearch API calls from application containers.