elastic / elastic/logstash

New filter plugin: logstash-filter-memoize

Open
#8,544 16 comments 0 reactions 0 assignees View on GitHub
discuss new plugin
Dominant language
Java
Stars
14.9k
Forks
3.5k
Avg merge
19h 14m
Merged PRs (30d)
63

Description

I want contribute to [logstash-plugins](https://github.com/logstash-plugins) my new filter plugin [`logstash-filter-memoize`](https://github.com/sw-jung/logstash-filter-memoize).

This filter can provides memoization to any filter.

See #8530 to show history of this plugin

### Example of usage

```ruby
filter {
memoize {
key => "%{host}"
fields => ["host_owner", "host_location"]
filter_name => "elasticsearch"
filter_options => {
query => "host:%{host}"
index => "known_host"
fields => {
"host_owner" => "host_owner"
"host_location" => "host_location"
}
}
}
}
```

### Links

- github: https://github.com/sw-jung/logstash-filter-memoize
- rubygems: https://rubygems.org/gems/logstash-filter-memoize

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.