grafana-loki Questions
3
Solved
I am following the following grafana documentation on loki. I am unable to properly connect to my k8s clusters loki logs after installing loki, promtail, and grafana via helm charts. When I enter t...
Baksheesh asked 2/8, 2022 at 9:59
3
I have a grafana Loki logs that's in my cluster. I am able to see my logs but as at the moment, the cluster is no longer in use and I would like to delete it but I still have some logs I would like...
Limitless asked 5/11, 2020 at 8:51
1
I'm running Loki for test purposes in Docker and am recently getting following error from the Promtail and Loki containers:
level=warn ts=2022-02-18T09:41:39.186511145Z caller=client.go:349 compone...
Pumice asked 18/2, 2022 at 9:53
4
Solved
I'm trying to test our Loki log data source. From the Queries I've been executing nothing is returned.
It's possible that the logs are in a different format to what I'm expecting, or that no Logs a...
Byrnes asked 19/1, 2022 at 20:29
3
Solved
I am sending json logs to loki and visualizing in grafana. Initially, my logs looked like as following.
{
"log": "{\"additionalDetails\":{\"body\":{},\"ip...
Herrenvolk asked 5/2, 2022 at 22:1
3
I'm logging a JSON which is being shown as a detected field log in Grafana:
Screenshot of detected fields
Now I want to filter the logs by level name, but I can't figure out how...
I thought someth...
Oleum asked 29/4, 2022 at 9:27
2
I am following documentation and thanks to | line_format and regexReplaceAll I was able to fetch some substring from a line.
Let's say now I have those columns:
line
123
7
123
54
14
Having that I ...
Unchurch asked 15/1, 2021 at 14:19
1
Solved
We have different type of logs for one and the same application. Some are coming from our application which logs in a JSON format and others are different types of log messages.
For example these 3...
Hercules asked 30/3, 2022 at 10:1
3
I am using Grafana and Loki to analyze logs from my application, and have used the Bar Gauge in a few places already.
This is my query:
sum(count_over_time({namespace=~"$namespace", job=~...
Lamothe asked 8/11, 2021 at 16:52
2
While configuring Loki data source for Grafana you might get the error "no org id found"
Herrera asked 2/6, 2023 at 5:15
2
I am trying to use loki and grafana for generating and visualizing log-based metrics. I have created a Grafana dashboard using the loki filters. While clicking the refresh button, all dashboards fa...
Encyclical asked 25/11, 2022 at 3:59
3
Solved
Is there a way to send logs to Loki directly without having to use one of it's agents?
For example, if I have an API, is it possible to send request/response logs directly to Loki from an API, with...
Glomerulus asked 29/4, 2021 at 11:31
2
Solved
When trying to setup Promtail I get the following error:
level=error ts=2020-11-27T06:10:30.310583Z caller=main.go:104 msg="error creating promtail" error="failed to make file targe...
Font asked 27/11, 2020 at 6:26
3
Solved
In LogQL line_format template expression, is there a way to access the original log entry (assume the entry is not in JSON or any parseable format and all labels are log labels and not extracted la...
Lille asked 24/3, 2021 at 15:31
3
Solved
I can't get Loki to connect to AWS S3 using docker-compose. Logs are visible in Grafana but the S3 bucket remains empty.
The s3 bucket is public and I have an IAM role attached to allow s3:FullAcce...
Bellebelleek asked 19/10, 2020 at 17:44
3
Solved
I've just started exploring Loki to aggregate my logs and I'm assuming I've missed something obvious.
I have a bunch of machines/vms/containers with promtail forwarding systemd's journal to a singl...
Skijoring asked 10/10, 2022 at 14:32
3
"12h" old logs are not deleting even after specifying "retention_period: 12h" due to this I'm facing storage issue because, log are not deleting.
please help me with config
loki...
Fieldsman asked 27/7, 2022 at 12:50
2
I freshly installed Grafana and I cannot login at http://localhost:3000/login
All documentation shows that the default user/password should be admin/admin but I'm locked out.
If I go to check into...
Aplanatic asked 16/2, 2022 at 10:28
1
I am trying to configure Recording rule and according to documentation, it is not clear, how to set it up.
I configured rules.yml file in /loki/rules directory. According the doc Recording rules, I...
Presumption asked 5/11, 2022 at 16:37
1
I have built a test EKS environment to apply Loki for a few weeks, so far I have created 10s of Loki’s pods using Monolithic mode, each Loki’s pod received logs from multiple ec2 instances.
However...
Senegal asked 7/11, 2022 at 10:6
1
I am using Loki v2.4.2 and have configured S3 as a storage backend for both index and chunk.
I want to ensure that all logs older than 90 days are deleted without risk of corruption. The documentat...
Arras asked 19/8, 2022 at 6:7
1
Solved
I have a log stream that has a UserID= label. I'm trying to count the number of unique users within an hour.
Here's an example of my log stream:
ts=2022-09-16T10:52:54.21344541Z level=INFO UserID=6...
Least asked 17/9, 2022 at 10:46
1
Solved
I have installed loki and grafana via helm charts to my cloud hosted k8s cluster. How do I send the loki metrics to grafana cloud? I know I should edit the promtail config file but how do I locate ...
Roby asked 10/8, 2022 at 9:15
2
I have a set of logs like this:
{"action": "action_a", "username": "user_1", "ts": "2021-09-10T02:18:14.103Z"}
{"action": "...
Pub asked 10/9, 2021 at 2:43
2
I use the last versions of:
Prometheus
prometheus-cpp library
Grafana
Loki
Promtail
in Windows 10.
So I just start bin files of these applications. And I get my logfile.log in Grafana panel.
The...
Brigid asked 17/5, 2022 at 16:29
1 Next >
© 2022 - 2024 — McMap. All rights reserved.