(LoadError) no such file to load -- maxmind/db

I have created a custom maxmind db using perl. I have installed maxminddb module for ruby and was able to run a ruby program outside of logstash. When I am executing the same code from logstash, I get a load error as described in the subject line.

bin/logstash -e "filter { ruby { path => '/mnt/scripts/lookup.rb' } }" -t

Any ideas?

Thanks
Murali

Hi All,

I had to add gem "maxmind-db" to the GemFile and run a "bin/logstash-plugin update " for logtstash to recognize the maxmind-db module.

I can now call a ruby script using ruby filter :-).

Thanks
Murali

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