Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection to memcached via socket #26

Open
artemNN opened this issue May 15, 2020 · 1 comment
Open

Connection to memcached via socket #26

artemNN opened this issue May 15, 2020 · 1 comment

Comments

@artemNN
Copy link

artemNN commented May 15, 2020

Need support connection to memcached via socket in filter.
Socket connection is more powerful than TCP and more convenient for single-host installation

@leandrojmp
Copy link

leandrojmp commented Apr 10, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants