How to connect loki from kube-promethues-stack

I’ve installed the Kube Prometheus stack in the monitoring namespace, and afterward, I installed Loki using the Helm chart grafana/loki-stack. However, I’m having trouble connecting Grafana to Loki. When I try to connect, the connection fails.

Here are the details:

  • Connection URL used: http://loki:3100

Could anyone help me troubleshoot this issue or suggest what I might be missing?

Hi Kevinsha, after installing the stack with the Helm chart, it’s a good idea to check the status of all the pods in the monitoring namespace. If everything looks good, then verify if the service resources, like the Loki service, have been created.