Skip to content

A logstash filter for simple enrichment lookup via a line based protocol

License

Notifications You must be signed in to change notification settings

securitym0nkey/logstash-filter-linelookup

Repository files navigation

Logstash Plugin for lookups via line based protocol

This is a plugin for Logstash.

It is fully free and fully open source. The license is MIT.

Documentation

This filter plugin does simple lookups for enrichment via a line based protocol. A query(1 line) is send via a socket and a response(1 line) is received and stored at the target field.

The query is dynamicly build and can use %{...} style variables

Configuration Options

Setting Type Required
query string yes
target string yes
socket_path string yes

Example config

filter {
 linelookup {
  query => "%{[source][ip]}"
  target => "[source][geo][name]"
  socket_path => "/var/run/lookup.sock"
 }
}

About

A logstash filter for simple enrichment lookup via a line based protocol

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages