fluent / fluent-plugin-grok-parser

Fluentd's Grok parser
Other
107 stars 31 forks source link

Fluentd 1.10.2 does not recognise grok parser plugin #86

Closed prrichard closed 4 years ago

prrichard commented 4 years ago

Hi,

Below is the error seen in td-agent log file.

2020-05-17 09:59:30 +0200 [info]: parsing config file is succeeded path="/etc/td-agent/td-agent.conf" 2020-05-17 09:59:30 +0200 [info]: gem 'fluent-plugin-elasticsearch' version '4.0.7' 2020-05-17 09:59:30 +0200 [info]: gem 'fluent-plugin-grok-parser' version '2.6.1' 2020-05-17 09:59:30 +0200 [info]: gem 'fluent-plugin-kafka' version '0.13.0' 2020-05-17 09:59:30 +0200 [info]: gem 'fluent-plugin-prometheus' version '1.7.3' 2020-05-17 09:59:30 +0200 [info]: gem 'fluent-plugin-prometheus_pushgateway' version '0.0.2' 2020-05-17 09:59:30 +0200 [info]: gem 'fluent-plugin-record-modifier' version '2.1.0' 2020-05-17 09:59:30 +0200 [info]: gem 'fluent-plugin-rewrite-tag-filter' version '2.2.0' 2020-05-17 09:59:30 +0200 [info]: gem 'fluent-plugin-s3' version '1.3.1' 2020-05-17 09:59:30 +0200 [info]: gem 'fluent-plugin-systemd' version '1.0.2' 2020-05-17 09:59:30 +0200 [info]: gem 'fluent-plugin-td' version '1.1.0' 2020-05-17 09:59:30 +0200 [info]: gem 'fluent-plugin-td-monitoring' version '0.2.4' 2020-05-17 09:59:30 +0200 [info]: gem 'fluent-plugin-webhdfs' version '1.2.4' 2020-05-17 09:59:30 +0200 [info]: gem 'fluentd' version '1.10.2' 2020-05-17 09:59:30 +0200 [warn]: [output_td] Use different plugin for secondary. Check the plugin works with primary like secondary_file primary="Fluent::Plugin::TreasureDataLogOutput" secondary="Fluent::Plugin::FileOutput" 2020-05-17 09:59:30 +0200 [error]: config error file="/etc/td-agent/td-agent.conf" error_class=Fluent::ConfigError error="Unknown parser plugin 'grok'. Run 'gem search -rd fluent-plugin' to find plugins"

But the same setup works in another machine where Fluentd 1.10.0 is installed.

Regards, Richard

ganmacs commented 4 years ago

https://github.com/fluent/fluentd/issues/2996