A logging pipeline is a sequence of components that collects, routes, processes, stores, and presents log records. A containerized example sends ho11y logs through Fluentd and Fluent Bit into OpenSearch, where OpenSearch Dashboards supports querying and visualization. section 4.1.1
The example assigns distinct operational roles:
- ho11y generates log signals and exposes an HTTP API. section 4.1.1
- Fluentd provides the Docker logging driver and forwards records to Fluent Bit. section 4.1.1
- Fluent Bit receives records through its Forward input and routes matching records to OpenSearch. section 4.1.1
- OpenSearch stores logs, while OpenSearch Dashboards provides search, discovery, and visualization. section 4.1.1
Run and inspect the pipeline
Docker Compose starts the components with `docker-compose -f docker-compose.yaml up`. A loop repeatedly calls ho11y’s HTTP endpoint, generating records that can be selected through an OpenSearch index pattern and inspected in the Discover view. section 4.1.1
Trace the end-to-end path from the signal source through Fluentd and Fluent Bit to OpenSearch and its dashboard. section 4.1.1
