nicksherron / logstash-filter-greynoise

Logstash filter plugin for the Greynoise.io api
https://greynoise.io
Other
7 stars 3 forks source link

LRU cache for queried items #1

Closed pemontto closed 4 years ago

pemontto commented 4 years ago

Filter looks awesome 🤘, any possibility of adding an LRU cache similar to the Logstash DNS filter and other plugins?

https://github.com/logstash-plugins/logstash-filter-dns/blob/master/lib/logstash/filters/dns.rb

nicksherron commented 4 years ago

Hey, thanks for the feedback! Just added the LRU cache plus IP validation and pushed it to 0.1.6. Let me know if you have any problems with it or suggestions. I didn't get to test it as much as I maybe ought to have. 🤞