Skip to content

sohonetlabs/logstash-filter-ciseipdb

Repository files navigation

Ciseipdb Logstash Plugin

Build Status

This is a plugin for Logstash.

It is fully free and fully open source. The license is Apache 2.0, meaning you are pretty much free to use it however you want in whatever way.

Documentation

This plugin allows you to search for matching IPs in Elasticsearch IP database indexes and add that information into events.

This is intended to work with generate-ipdatabase which will create the Elasticsearch IP database entries.

Matching IPs are cached in redis.

Example:

ciseipdb {
  hosts   => [ "elasticsearch" ]
  indexes => [ "ipdatabase" ]
  ipaddress => "%{ip_dst}"
  target  => "dst_info"
  redis_host => "localhost'
}