Set Loki api in Https

Hi everyone,

I’m new to Grafana, Loki and Promtail

I need help with the ssl configuration of Loki (v 2.5.0)

Is it possible to set loki so that the api is in https ?
In a practical way how to expose a Loki url such as : https://localhost:3100/loki/api/v1/push

Greetings

Hi everyone,

after a request on the Loki api /config
I could notice the existence of two parameters that can be set in the loki-conif.yaml :

http_tls_config:
cert_file: here your path to the certificate file
key_file: here your path for the key file

It works fine !

Greetings

Where did you find those parameters?
In the documentation I only found one mention of cert_file and key_file in the remote_write section of the ruler.

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