grafana / loki

Like Prometheus, but for logs.
https://grafana.com/loki
GNU Affero General Public License v3.0
23.66k stars 3.42k forks source link

Support TLS for memcached #10548

Open ntimo opened 1 year ago

ntimo commented 1 year ago

Problem

Currently Loki does not support TLS connections for memcached, this however is a critical requirement for a secure setup of Loki with memcached.

Solution

Please add support for using TLS with memcached and Loki.

Additional details

The Loki docs don't mention tls support: https://grafana.com/docs/loki/latest/configure/ Mimir however supports this: https://grafana.com/docs/mimir/latest/references/configuration-parameters/#memcached

Sheikh-Abubaker commented 1 year ago

Hi @ntimo,

I just went through the links you mentioned above and I saw in mimir configs there is a parameter tls_enabled which defaults to false but in the loki configs there is no tls_enabled like parameter within memcached block, is it the thing that you are trying to tell with this issue ?

ntimo commented 1 year ago

Hi @ntimo,

I just went through the links you mentioned above and I saw in mimir configs there is a parameter tls_enabled which defaults to false but in the loki configs there is no tls_enabled like parameter within memcached block, am I correct is the thing that you are trying to tell with this issue ?

Yes exactly. Therefore it seems like its not possible to configure Loki to use a TLS connection to Memcached.

jeroen-nijssen commented 6 months ago

Looking at the config now.. https://grafana.com/docs/loki/latest/configure/ (V3.0.x) this is possible.