Skip to content

same app logs to multiple destination based on types #5737

Answered by patrick-stephens
seasuresh asked this question in Q&A
Discussion options

You must be logged in to vote

@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:

Here is full config. We split our logs to land on two different destinations
1. Unstructured logs to CloudWatch with multi line support
2. Structured logs to Kinesis

[SERVICE]
    parsers_file parser.conf
    Flush 1
[FILTER]
    Name                  multiline
    Match                 myApp*
    multiline.parser      java
    multiline.key_content log
[FILTER]
    Name              …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@seasuresh
Comment options

Answer selected by seasuresh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants