Error: Unable to connect with Loki. Please check the server logs for more details on Grafana
I have installed Loki on my Ubuntu server and configured Promtail on another server to scrape logs. Grafana is also on the server where Loki is set up. The problem arises when I try to choose Loki as the data source; an error message appears as shown in the image.