Unable to access logs in Grafana dashboards using Loki datasource

  1. Please post inside a subcategory
  2. For questions and advice, please try to use the template below
  3. If you post a question and someone solves it, please mark is as SOLVED

~ THANK YOU!! the grafana team

  • What Grafana version - 10.0 and OS is Linux

  • What are you trying to achieve?

I want access applications logs which has deployed on AKS cluster

  • How are you trying to achieve it?
    Created LOKI data source and able to access pod logs.

  • What happened?
    After sometime logs are not accessing.

  • What did you expect to happen?
    All the pod logs should be accessible.

  • Can you copy/paste the configuration(s) that you are having problems with?

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

  • Did you follow any online instructions? If so, what is the URL? yes

Hey, I’d start with below :

  • Is yor loki healthy ?
  • Is the agent i.e grafana agent / promtail healthy and sending all logs to loki ?
  • What error loki sends to grafana while querying logs via grafana ? try to check grafana logs ?