Credentials with Private gem Repository for Logstash

Hi All,

Our Logstash servers don't have access to the Internet and instead we use a private repository available at etc. This repo requires a username and password to access. Can we do this/how do we do this? I've tried setting the gem source to but I get a 401 still (works fine if I test the same credentials from a browers)

[root@host ~]# /usr/share/logstash/bin/logstash-plugin install logstash-filter-elapsed
Using bundled JDK: /usr/share/logstash/jdk
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jruby.ext.openssl.SecurityHelper (file:/usr/share/logstash/vendor/jruby/lib/ruby/stdlib/jopenssl.jar) to field
WARNING: Please consider reporting this to the maintainers of org.jruby.ext.openssl.SecurityHelper
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Validating logstash-filter-elapsed
Unable to download data from - bad response Unauthorized 401 (
ERROR: Installation aborted, verification failed for logstash-filter-elapsed

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.