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
- ip
- targets: