Logstash 5.6 how to add_field from redis?

input log like this
eferer":"-","agent":"curl/7.19.7 (x86_64-suse-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8j zlib/1.2.3 libidn/1.10","status":"200"}
i want add_field "usermac":"0F0F0F0F0F0F",
ip-mac mapping in redis,key is ip value is mac,use GET can get usermac
i dont know how to achieve in Logstash

So you're basically looking for a translate or jdbc_streaming filter but for Redis. It looks like https://github.com/meulop/logstash-filter-redis would do the job but it's not a standard plugin and I don't know anything about its quality.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.