Why not let loki show some sort of logs by default?

grafana version: grafana/grafana:9.0.6-ubuntu

loki version: grafana/loki:2.3.0
(did not use latest because it says no labels found when adding as datasource)

Issue with loki is by default it shows nothing
This causes hours of people trying to figure out what is going on

Videos i see have log browser but i am using newer grafana and i do not see log browser

here is what i see and i have zero idea what to do or where to go

enter image description here

when i added loki as datasource it says labels found
so where are the labels found?

enter image description here

I have containers pushing logs to loki from docker-compose file like below

services:
  hello-world:
    image: test/hello-world
    logging:
      driver: loki
      options:
        loki-url: "http://localhost:3100/loki/api/v1/push"
    ...

and when i curl loki from the container, i get this

# curl -G -s "http://loki:3100/loki/api/v1/label" | jq .

{
  "status": "success",
  "data": [
    "__name__"
  ]
}

so how do i have loki show logs or find any logs?

1 Like

Anyone willing to help? Will greatly appreciate it.
If you need me to provide additional details please let me know

Really need help with this. How to get the logs to show in loki

Thanks

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