Open artemNN opened 4 years ago
I just needed the same feature and saw that it is already supported.
The memcached filter uses the Dalli gem, which supports connecting to memcached using a unix socket, as you can see in the client.rb
file.
Just tested and was able to use both set and get into a memcached using unix sockets, just need to set the hosts option to point to the socket and make sure that the user running logstash has permissions to write/read on the socket.
Need support connection to memcached via socket in filter. Socket connection is more powerful than TCP and more convenient for single-host installation