Giter VIP home page Giter VIP logo

logstash-filter-ipip's Introduction

Hi, there! 👋

Metrics

logstash-filter-ipip's People

Contributors

bittopaz avatar vinsonzou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

logstash-filter-ipip's Issues

请问,这个插件已经不支持新的logstash-2.3.1了吗?

logstash-plugin install 虽然已经提示成功,但是logstash-plugin list没有这个插件,logstash-2.3.1/vendor/local_gems/0decb1cf/logstash-filter-ipip-0.1.1下面却没有任何东西,拷贝进去也没用!

../bin/logstash -f logstash_indexer.conf
还是提示
reason=>"Couldn't find any filter plugin named 'ipip'. Are you sure this is correct? Trying to load the ipip filter plugin resulted in this error: no such file to load -- logstash/filters/ipip", :level=>:error

the exception about the ip is not valid

if the ip is not valid.the code will still go to ipip_data.each. so it will get exception. so maybe the ipip_data.each need to before the exception for the ip is not valid. like this
begin
ip = event[@source]
ip = ip.first if ip.is_a? Array
ipip_data = SM.find_by_ip ip
event[@target] = {} if event[@target].nil?

  ipip_data.each do |key, value|
    event[@target][key.to_s] = value
  end
rescue Exception => e
  @logger.error("Unknown error while looking up IPIP data", :exception => e, :field => @field, :event => event)
end

logstash5.2.1 安装失败,

logstash5.2.1 安装失败,
Installing...
Plugin version conflict, aborting
ERROR: Installation Aborted, message: Bundler could not find compatible versions for gem "logstash-core-plugin-api":
In Gemfile:
logstash-filter-ipip (>= 0) java depends on
logstash-core-plugin-api (< 2.0.0) java

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.