-
On this system I have To start, I've created gem with some initial code, and I have installed this gem, and have created a config file with uses the plugin. However, starting C:\opt\calyptia-fluentd>calyptia-fluentd -vv
2022-08-11 16:24:23 +0200 [info]: fluent/log.rb:330:info: parsing config file is succeeded path="C:\\opt\\calyptia-fluentd\\bin\\\\..\\etc\\calyptia-fluentd\\calyptia-fluentd.conf"
2022-08-11 16:24:23 +0200 [info]: fluent/log.rb:330:info: gem 'fluentd' version '1.15.0'
2022-08-11 16:24:23 +0200 [info]: fluent/log.rb:330:info: gem 'fluent-plugin-calyptia-monitoring' version '0.1.3'
...
2022-08-11 16:24:23 +0200 [info]: fluent/log.rb:330:info: gem 'fluent-plugin-custom' version '0.0.3'
...
2022-08-11 16:24:23 +0200 [info]: fluent/log.rb:330:info: gem 'fluent-plugin-windows-eventlog' version '0.8.1'
2022-08-11 16:24:23 +0200 [error]: fluent/log.rb:372:error: config error file="C:\\opt\\calyptia-fluentd\\bin\\\\..\\etc\\calyptia-fluentd\\calyptia-fluentd.conf" error_class=Fluent::NotFoundPluginError error="Unknown filter plugin 'filter_custom'. Run 'gem search -rd fluent-plugin' to find plugins" Note that it says it's loaded the The plugin code, placed in module Fluent::Plugin
class CustomFilter < Filter
Fluent::Plugin.register_filter('custom', self)
# ...
def filter(tag, time, record)
record
end
# ...
end
end How do I get Fluentd to use the new plugin? Is there some "extra verbosity" setting where I can view which filters are loaded and when? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi, were you able to figure out what is causing this error? I am facing a similar issue with a custom parser plugin. Thanks :) |
Beta Was this translation helpful? Give feedback.
Hi, were you able to figure out what is causing this error? I am facing a similar issue with a custom parser plugin. Thanks :)