Starting November 18th Jsonpath released version 1.0.6 which defines Ruby version dependency as >=2.5 and td-agent 1.7 is on Ruby 2.4 because of this installation of the plugin fails.
09:24:31 [91mERROR: Error installing fluent-plugin-mysql:
09:24:31 jsonpath requires Ruby version >= 2.5.
09:24:31 [0m"td-agent-gem install fluent-plugin-mysql -v 0.3.4" command filed with exit code 1.
Environment:
Centos 7
td-agent-1.7.0
Embedded Ruby 2.4.0
fluent-plugin-mysql defines jsonpath as a runtime dependency but does not constrain the version of jsonpath.
Workaround
Install jsonpath 1.0.5 first
td-agent-gem install jsonpath -v 1.0.5
td-agent-gem install fluent-plugin-mysql -v 0.3.4
Starting November 18th Jsonpath released version 1.0.6 which defines Ruby version dependency as >=2.5 and td-agent 1.7 is on Ruby 2.4 because of this installation of the plugin fails.
Environment:
Centos 7
td-agent-1.7.0
Embedded Ruby 2.4.0
fluent-plugin-mysql defines jsonpath as a runtime dependency but does not constrain the version of jsonpath.
Workaround
Install jsonpath 1.0.5 first
td-agent-gem install jsonpath -v 1.0.5td-agent-gem install fluent-plugin-mysql -v 0.3.4