We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loki is ready, and I can connect, but I cannot list logs in Loki Grafana. The Promtail target readiness is also 'False'. What should I change ?
docker-compose.yml
promtail: image: grafana/promtail:2.6.1 ports: - "9080:9080" volumes: - ./promtail-config.yaml:/etc/promtail/config.yaml - /var/log:/var/log - /var/lib/docker/containers:/var/lib/docker/containers - /var/run/docker.sock:/var/run/docker.sock
promtail-config.yaml
server: http_listen_port: 9080 grpc_listen_port: 0
positions: filename: /tmp/positions.yaml
clients:
scrape_configs:
The text was updated successfully, but these errors were encountered:
Questions have a better chance of being answered if you ask them on the community forums.
Sorry, something went wrong.
No branches or pull requests
Loki is ready, and I can connect, but I cannot list logs in Loki Grafana. The Promtail target readiness is also 'False'.
What should I change ?
docker-compose.yml
promtail:
image: grafana/promtail:2.6.1
ports:
- "9080:9080"
volumes:
- ./promtail-config.yaml:/etc/promtail/config.yaml
- /var/log:/var/log
- /var/lib/docker/containers:/var/lib/docker/containers
- /var/run/docker.sock:/var/run/docker.sock
promtail-config.yaml
server:
http_listen_port: 9080
grpc_listen_port: 0
positions:
filename: /tmp/positions.yaml
clients:
scrape_configs:
static_configs:
labels:
job: varlogs
path: /var/log/*log
The text was updated successfully, but these errors were encountered: