Questions tagged [loki]
6 questions
2
votes
1 answer
How can I apply labels to a promtail static_config?
I am collecting logs using rsyslog from about 5000 servers. My collector is writing all logs to a single file on an NFS volume using RFC5424 format. I am mounting this NFS volume on my promtail nodes, and using static_config to scrape the file. I…

billq
- 326
- 1
- 4
1
vote
0 answers
Replicating Loki Logs to a Central Instance
I have an embedded device, running (among other things) an InfluxDB and a Loki instance. This device is on the move: usually it is on its own without internet connectivity, but occasionally it has access to its home network. Inside this home network…

Finwood
- 131
- 3
0
votes
0 answers
Not able to get Labels from Promtail static_configs
I'm using the latest promtail and loki and trying to use your static_configs example.. but I'm not getting the labels pushed to Loki.. all I see below
Discovered labels
__address
__path
job
I do not see labels of facility and hostname am I doing…

hangon
- 1
- 1
0
votes
1 answer
Grafana "Data source connected, but no labels received. Verify that Loki and Promtail is configured properly."
I'm trying to install loki so that I can read logs on Grafana, but I keep receiving Data source connected, but no labels received. Verify that Loki and Promtail is configured properly. (nothing from the logs).
I'm using docker images for each…

tholeb
- 31
- 1
- 6
0
votes
0 answers
Grafana Loki, AlertManager - unable to read rule dir, open /tmp/loki/rules/fake: no such file or directory
I've deployed promtail, Grafana, Loki and AlertManager using Helm charts on k3d cluster on my local machine. I would like to have some rules in Loki such that if something will happen, AlertManager should be informed. Now I tried only with some…

mazix
- 65
- 1
- 8
0
votes
0 answers
Promtail - syslog configuration only logs localhost for hostname and IP
I have a number of boxes that run docker containers. To keep a record of all the logs, we have 1 instance of logspout on every box that grabs all container logs on that box, and routes it to a syslog-ng instance (docker container) on a central host …