We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could you please comment on this issue if you can spot anything ?
https://groups.google.com/forum/#!topic/fluentd/Uk9Xp-vJK9o
The text was updated successfully, but these errors were encountered:
It seems a compatibility issue. We need either one of the following patches:
--- a/fluent-plugin-splunkapi.gemspec +++ b/fluent-plugin-splunkapi.gemspec @@ -18,7 +18,7 @@ Gem::Specification.new do |gem| gem.rubyforge_project = "fluent-plugin-splunkapi" gem.add_development_dependency "fluentd" - gem.add_development_dependency "net-http-persistent" + gem.add_development_dependency "net-http-persistent", '< 3.0.0' gem.add_runtime_dependency "fluentd" - gem.add_runtime_dependency "net-http-persistent" + gem.add_runtime_dependency "net-http-persistent", '< 3.0.0' end
or
diff --git a/fluent-plugin-splunkapi.gemspec b/fluent-plugin-splunkapi.gemspec index c446e0f..837e516 100644 --- a/fluent-plugin-splunkapi.gemspec +++ b/fluent-plugin-splunkapi.gemspec @@ -18,7 +18,7 @@ Gem::Specification.new do |gem| gem.rubyforge_project = "fluent-plugin-splunkapi" gem.add_development_dependency "fluentd" - gem.add_development_dependency "net-http-persistent" + gem.add_development_dependency "net-http-persistent", '~> 3.0' gem.add_runtime_dependency "fluentd" - gem.add_runtime_dependency "net-http-persistent" + gem.add_runtime_dependency "net-http-persistent", '~> 3.0' end diff --git a/lib/fluent/plugin/out_splunkapi.rb b/lib/fluent/plugin/out_splunkapi.rb index d3e6151..d1f09c2 100644 --- a/lib/fluent/plugin/out_splunkapi.rb +++ b/lib/fluent/plugin/out_splunkapi.rb @@ -117,7 +117,7 @@ class SplunkAPIOutput < BufferedOutput def start super - @http = Net::HTTP::Persistent.new 'fluentd-plugin-splunkapi' + @http = Net::HTTP::Persistent.new name: 'fluentd-plugin-splunkapi' @http.verify_mode = OpenSSL::SSL::VERIFY_NONE unless @verify @http.headers['Content-Type'] = 'text/plain' $log.debug "initialized for splunkapi"
Sorry, something went wrong.
No branches or pull requests
Could you please comment on this issue if you can spot anything ?
https://groups.google.com/forum/#!topic/fluentd/Uk9Xp-vJK9o
The text was updated successfully, but these errors were encountered: