How to send logs to multiple outputs with same match tags in Fluentd?
Asked Answered
B

1

6

I have a Fluentd instance, and I need it to send my logs matching the fv-back-* tags to Elasticsearch and Amazon S3.

Is there a way to configure Fluentd to send data to both of these outputs? Right now I can only send logs to one source using the <match fv-back-*> config directive.

Balcom answered 7/8, 2018 at 14:43 Comment(0)
B
9

It is possible using the @type copy directive.

Docs: https://docs.fluentd.org/output/copy

Balcom answered 7/8, 2018 at 14:45 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.