logstash-plugins / logstash-filter-memcached

Memcached Filter plugin for Logstash
Apache License 2.0
4 stars 11 forks source link

docs: add unix socket information #31

Closed leandrojmp closed 2 years ago

leandrojmp commented 3 years ago

There is no information in the documentation about supporting UNIX sockets to connect to a memcached instance using the plugin.

Since this plugin uses the Dalli gem, and this gem supports connections via unix sockets, I've changed the documentation to clarify that the plugin also supports connections using UNIX Sockets.

This fixes: #26

cameronkerrnz commented 3 years ago

I've tested this for myself and it works as documented (so long as you ensure memcached is started using a Unix domain socket). Doesn't seem to have a performance benefit at present, but at least there is scope for giving it some authorisation capabilities with a Unix domain socket.