From my fluentd log file: 2021-02-22 12:47:23 +0000 [error]: config error file="/etc/td-agent/td-agent.conf" error_class=Fluent::ConfigError error="Unknown output plugin 'cloudwatch_logs'. Run 'gem search -rd fluent-plugin' to find plugins"
Installed using gem as described in the docs, seem to have worked fine: Done installing documentation for bundler, msgpack, yajl-ruby, cool.io, sigdump, serverengine, http_parser.rb, concurrent-ruby, tzinfo, tzinfo-data, strptime, fluentd, jmespath, aws-partitions, aws-eventstream, aws-sigv4, aws-sdk-core, aws-sdk-cloudwatchlogs, fluent-plugin-cloudwatch-logs after 23 seconds 19 gems installed
gem search -ld fluent-plugin shows that I definitely have it installed:
*** LOCAL GEMS ***
fluent-plugin-cloudwatch-logs (0.13.4)
Author: Ryota Arai
Homepage:
https://github.com/fluent-plugins-nursery/fluent-plugin-cloudwatch-l
ogs
License: MIT
Installed at: /var/lib/gems/2.5.0
CloudWatch Logs Plugin for Fluentd
Steps to replicate
¯\(ツ)/¯ following the instructions in the readme as best I can
Problem
From my fluentd log file:
2021-02-22 12:47:23 +0000 [error]: config error file="/etc/td-agent/td-agent.conf" error_class=Fluent::ConfigError error="Unknown output plugin 'cloudwatch_logs'. Run 'gem search -rd fluent-plugin' to find plugins"
Installed using gem as described in the docs, seem to have worked fine:
Done installing documentation for bundler, msgpack, yajl-ruby, cool.io, sigdump, serverengine, http_parser.rb, concurrent-ruby, tzinfo, tzinfo-data, strptime, fluentd, jmespath, aws-partitions, aws-eventstream, aws-sigv4, aws-sdk-core, aws-sdk-cloudwatchlogs, fluent-plugin-cloudwatch-logs after 23 seconds 19 gems installed
gem search -ld fluent-plugin
shows that I definitely have it installed:Steps to replicate
¯\(ツ)/¯ following the instructions in the readme as best I can
Expected Behavior or What you need to ask
For fluentd to start
Using Fluentd and CloudWatchLogs plugin versions