aws-samples / aws-samples/amazon-ecs-firelens-examples

Firelens Multiple Output based on regex

Open
#85 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.