aws-samples / aws-samples/amazon-ecs-firelens-examples
Firelens Multiple Output based on regex
- Dominant language
- No language data
- Stars
- 335
- Forks
- 99
- PR merge metrics
- No merged PRs in 30d
Description
Hi - I'm starting to use firelens/fluentbit and I'm trying to send my ECS task logs to different outputs (Opensearch index) based on some tag or string of the log. I saw the example of multiple destinations, and I was able to filter the logs by regex, but I didn't find any example of how to route based on a tag or string of the log to different OpenSearch index.
Contributor guide
Research direction
Start by reviewing the existing FireLens multiple-destinations example and its Fluent Bit regex filtering configuration. Determine how a tag or log string should select different OpenSearch indexes, then document or demonstrate the routing configuration and verify that logs reach the intended indexes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws
- Domain
- cloud, observability-sre
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100