Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 366 Bytes

README.md

File metadata and controls

25 lines (22 loc) · 366 Bytes

logstash-filter-ipip

IPIP.net IPDB database file For logstash filter plugin

logstash.conf

input {
    stdin {
    }
}

filter {
    ipip {
            source => "message"
            database => "/path/to/mydata4vipweek2.ipdb"
           target => "geoip"
        language => "CN"
    }
}

output {
    stdout {
        codec => rubydebug
    }
}