Error running bundle install on Nagios Log Server
Posted: Fri Apr 03, 2020 1:09 pm
Hello There,
Am trying to configure logstash input plugin for Okta. Instructions at this link: https://github.com/SecurityRiskAdvisors ... system_log
Using below command, I created a new plugin:
As per the instruction, am installing dependencies, not entirely sure if it is necessary or not, but when I run bundle install, I get below error:
And when I try to install plugin I get an error:
I tried building a gemfile and got below error:
Please suggest.
Am trying to configure logstash input plugin for Okta. Instructions at this link: https://github.com/SecurityRiskAdvisors ... system_log
Using below command, I created a new plugin:
Code: Select all
[root@nagioslsd1 bin]# ./logstash-plugin generate --type input --name logstash-input-okta --path /usr/local/Logstash-okta/plugin
Creating /usr/local/Logstash-okta/plugin/logstash-input-logstash-input-okta
create logstash-input-logstash-input-okta/CHANGELOG.md
create logstash-input-logstash-input-okta/CONTRIBUTORS
create logstash-input-logstash-input-okta/DEVELOPER.md
create logstash-input-logstash-input-okta/Gemfile
create logstash-input-logstash-input-okta/LICENSE
create logstash-input-logstash-input-okta/README.md
create logstash-input-logstash-input-okta/Rakefile
create logstash-input-logstash-input-okta/lib/logstash/inputs/logstash-input-okta.rb
create logstash-input-logstash-input-okta/logstash-input-logstash-input-okta.gemspec
create logstash-input-logstash-input-okta/spec/inputs/logstash-input-okta_spec.rbCode: Select all
[root@nagioslsd1 bin]$ bundle install
Fetching source index from https://rubygems.org/
Resolving dependencies...
Could not find gem 'logstash-core (= 2.4.1) ruby' in the gems available on this machine.Code: Select all
[root@nagioslsd1 bin]# ./logstash-plugin install --no-verify
Installing...
WARNING: SSLSocket#session= is not supported
Plugin not found, aborting
ERROR: Installation Aborted, message: Could not find gem 'logstash-input-okta_system_log-master (>= 0) java' in any of the gem sources listed in your Gemfile or installed on this machine.
Code: Select all
[root@nagioslsd1 logstash-input-logstash-input-okta]# gem build logstash-input-logstash-input-okta.gemspec
ERROR: While executing gem ... (Gem::InvalidSpecificationException)
"FIXME" or "TODO" is not a description