Problem installing Logstash plugins


#1

Hi,

I'd really appreciate some assistance in understanding how to deal with installing Logstash plugins locally (no internet access).

I was given some gem files to install as filter plugins so I followed the process on the elastic.co pages and the process appeared to work okay:-

C:\LS\logstash-2.0.0\bin>plugin install C:\LS\gems\logstash-filter-memorize-0.1.0.gem
io/console not supported; tty will not be manipulated
Validating C:\LS\gems\logstash-filter-memorize-0.1.0.gem
Installing logstash-filter-memorize
Installation successful

But when I do a "plugin list" my filter is not present.

I have looked around online and see threads that make reference to finding the .gemspec but I cannot find a gemspec for this file anywhere in my cleanly installed Logstash 2.0 directory.

Can someone point me in the right direction here and kindly advise the step by step for how to 'package' a .rb file (which I'm fine with making) which contains my ruby code into something that the logstash plugin manager can work with?

Many thanks!


(Mark Walkom) #2

Currently it's a bit hit and miss as we don't provide a supported method for doing it unfortunately :frowning:

It's something we are working on improving though.


#3

Hi Mark

Thanks for the reply.

Hmmm... Seems I've gone from LS 1.4.3 which was flaky ... But easy to work with and create plugins for, to LS 2.0 which might be more reliable but there is no simple way to package and install plugins for.

The vast majority of the machines I work with do not have Internet access - there has to be a reasonably simple way to package up some ruby and get it installed?

I must be missing some documentation somewhere ... It cannot be this difficult.

Hit and miss is not a description I would normally associate with an application/solution currently sitting at version 2.0 :-/


(system) #4