same app logs to multiple destination based on types #5737
-
I'm trying to identify how to route the same app logs messages to two different destination based on log message types. The app emits two types of logs.
I want to send the Structured logs to Kinesis stream and Unstructured logs to AWS CloudWatch. I'm using AWS Firelens with fluent-bit logDriver.I tried reading the docs but I don't seems find a good example to achieve this. Any help would be appreciate. Example Log:
I want to send the 1st and 2nd log message to Cloud watch and 3rd log message to Kinesis Stream. Any suggestion or example would be a great help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@seasuresh this looks like the same as I think what was answered here in Slack: https://fluent-all.slack.com/archives/C0CTQGHKJ/p1658309226994999?thread_ts=1658026401.198069&cid=C0CTQGHKJ Is that right? Be good to respond with a final config or similar for anyone finding this. EDIT: For those without Slack:
|
Beta Was this translation helpful? Give feedback.
@seasuresh this looks like the same as I think what was answered here in Slack: https://fluent-all.slack.com/archives/C0CTQGHKJ/p1658309226994999?thread_ts=1658026401.198069&cid=C0CTQGHKJ
Is that right? Be good to respond with a final config or similar for anyone finding this.
EDIT: For those without Slack: