Skip to content

IPIP.net IPDB database file For logstash filter plugin

License

Notifications You must be signed in to change notification settings

Z10N0110/logstash-filter-ipip

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

logstash-filter-ipip

Logstash IP Geo info lookup filter plugin for IPDB format database which released by IPIP.net

Tested on logstash ver 7.13.2

how to configure

filter {
    ipip {
        source => "message"
        database => "/path/to/mydata4vipweek2.ipdb"
        target => "geoip" # default is ipip
        language => "CN"
        cache_size => 5000 # default is 10000
        tag_on_failure => ["_YOUR_LOOKUP_FAIL_TAG"] # default is ["_ipip_lookup_failure"]
    }
}

how to use

Logstash support --path.plugins flag to directly load a plugin source code, more detail please vist working-with-plugins

note

The cache_size setting is global. All filter instances of this filter share the same cache. The last declared value in config file will win.

About

IPIP.net IPDB database file For logstash filter plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%