Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hapag-lloyd/fluent-bit-multiline
Fast and Lightweight Logs and Metrics processor for Linux, BSD, OSX and Windows.
https://github.com/hapag-lloyd/fluent-bit-multiline
cloudnative data-collector fluent-bit fluentd forwarder logging logs metrics opentelemetry stream-processing traces
Last synced: 3 months ago
JSON representation
Fast and Lightweight Logs and Metrics processor for Linux, BSD, OSX and Windows.
- Host: GitHub
- URL: https://github.com/hapag-lloyd/fluent-bit-multiline
- Owner: Hapag-Lloyd
- License: apache-2.0
- Created: 2024-03-12T07:30:18.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-05-22T19:26:18.000Z (8 months ago)
- Last Synced: 2024-05-22T20:36:28.164Z (8 months ago)
- Topics: cloudnative, data-collector, fluent-bit, fluentd, forwarder, logging, logs, metrics, opentelemetry, stream-processing, traces
- Language: Dockerfile
- Homepage:
- Size: 143 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# fluent-bit-multiline
Fast and Lightweight Logs and Metrics processor for Linux, BSD, OSX and Windows.
The main goal of this project is to extend the default aws-for-fluent-bit docker image
to support `partial_message` mode of fluent bit. Partial/Split container logs are then concatenated into one log.
This is useful if the logging destination expects logs to be single line or if you
log in JSON format (for ex. to Datadog or OpenSearch).For more information, see here: [Example from AWS](https://github.com/aws-samples/amazon-ecs-firelens-examples/tree/mainline/examples/fluent-bit/filter-multiline-partial-message-mode)
The config also configures the container to provide an endpoint for healthcheck data.
Go to the [FluentBit Documentation](https://docs.fluentbit.io/manual/administration/monitoring#health-check-for-fluent-bit) for more information.## Usage
Use this image inside of container definitions for AWS ECS Services. Make sure to reference the custom configuration
file!Note: Using the `edge` tag serves as an example here and is not recommended for productive use!
Just like with the `latest` tag, it is unknown what exact version will be used or is currently in use.
See [this blog post](https://vsupalov.com/docker-latest-tag/) for more details on this topic.Example:
```json
{
"image": "ghcr.io/hapag-lloyd/fluent-bit-multiline:edge",
"name": "log_router",
"memoryReservation": 50,
"healthCheck": {
"command": ["CMD-SHELL","curl -s http://127.0.0.1:2020/api/v1/health || exit 1"],
"interval": 30,
"timeout": 5,
"retries": 3
},
"firelensConfiguration": {
"type": "fluentbit",
"options": {
"config-file-type": "file",
"config-file-value": "/extra.conf"
}
}
}
```