Unable to install plugin logstash-filter-grok from git


(Sanjiv Jivan) #1

Hi,
I'm trying to install the logstash-filter-grok plugin based on the latest code in git. I'm on a windows machine.

I downloaded the source from git and ran gem build logstash-filter-grok.gemspec This produced the output below

c:\java8\elk5\logstash-filter-grok-master>gem build logstash-filter-grok.gemspec
WARNING:  open-ended dependency on logstash-patterns-core (>= 0) is not recommended
  if logstash-patterns-core is semantically versioned, use:
    add_runtime_dependency 'logstash-patterns-core', '~> 0'
WARNING:  open-ended dependency on logstash-devutils (>= 0, development) is not recommended
  if logstash-devutils is semantically versioned, use:
    add_development_dependency 'logstash-devutils', '~> 0'
WARNING:  See http://guides.rubygems.org/specification-reference/ for help
  Successfully built RubyGem
  Name: logstash-filter-grok
  Version: 3.2.4
  File: logstash-filter-grok-3.2.4.gem

I then try to install this gem by invoking bin\logstash-plugin install c:\java8\elk5\logstash-filter-grok-master\logstash-filter-grok-3.2.4.gem

c:\java8\elk5\logstash-5.0.0>bin\logstash-plugin install c:\java8\elk5\logstash-filter-grok-master\logstash-filter-grok-3.2.4.gem
Validating c:\java8\elk5\logstash-filter-grok-master\logstash-filter-grok-3.2.4.gem
Installing logstash-filter-grok
Plugin not found, aborting
ERROR: Installation Aborted, message: Could not find gem 'logstash-input-file.gemspec (>= 0) java' in any of the gem sources listed in your Gemfile or installed on this machine.

I get the same error when I try to install using logstash-plugin install --no-verify logstash-filter-grok

c:\java8\elk5\logstash-5.0.0>bin\logstash-plugin install --no-verify logstash-filter-grok
Installing logstash-filter-grok
Plugin not found, aborting
ERROR: Installation Aborted, message: Could not find gem 'logstash-input-file.gemspec (>= 0) java' in any of the gem sources listed in your Gemfile or installed on this machine.

I realize that this plugin is part of LS 5.0 but I would like to install a newer version. Any help would be greatly appreciated.

Thanks,
Sanjiv


(system) #2

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