# Container logs are not showing in Grafana Loki

**URL:** <https://community.grafana.com/t/container-logs-are-not-showing-in-grafana-loki/82974>\
**Category:** Grafana Loki\
**Created:** [March 2, 2023, 8:51am UTC](https://community.grafana.com/t/container-logs-are-not-showing-in-grafana-loki/82974 "2023-03-02T08:51:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![challadinesh394](https://avatars.discourse-cdn.com/v4/letter/c/49beb7/32.png) [@challadinesh394](https://community.grafana.com/u/challadinesh394)\
**Post date:** [March 2, 2023, 8:51am UTC](https://community.grafana.com/t/container-logs-are-not-showing-in-grafana-loki/82974/1 "2023-03-02T08:51:53Z")

</div>

Currently I was configured container logs path in promtail config file.  
Below is the config file:

server:  
http\_listen\_port: 9080  
grpc\_listen\_port: 0

positions:  
filename: /tmp/positions.yaml

clients:

- url: http://:3100/loki/api/v1/push

scrape\_configs:

- job\_name: system  
static\_configs:
  - targets:
    - ip  
labels:  
job: varlogs  
**path** : /var/log/_log  
 **path** : /var/lib/docker/containers/1d1acb2468f1_/1d1acb2468f1\*log

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/grafana/original/2X/e/ef5308cc58c9e5a13187b5012eb99f406928462f.png) [@system](https://community.grafana.com/u/system)\
**Post date:** [March 1, 2024, 8:52am UTC](https://community.grafana.com/t/container-logs-are-not-showing-in-grafana-loki/82974/2 "2024-03-01T08:52:13Z")

</div>

Closed on March 1, 2024, 8:52am UTC

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