Loki only displays the first line of multi-line logs, cutting off the remaining lines
I’ve installed promtail in my K8 cluster using the recommended approach explained here:
Optimizations to generate distinct over two categories in lokiql
I have a couple of log lines as below:
filter lines in loki by selected time tange
In Grafana / Loki I am evaluating log files (x.log, x.log.1 , ..).
Grafana Loki QL how to create nested IF statements?
I am new to Grafana and Loki and have a scenario where I need to do a calculation based on conditional scenarios in Loki QL. the scenario goes like this:
Performance issues with grafana loki after upgraded to version 3.x
After upgrading to 3.0(enable TSDB) we are facing performance issues with loki. Queries are taking lots of time to complete. Any help/config which can help to improve the query time.
Setup Details:
Loki Version: 3.1
Deployment Type: Loki Distributed
Ingesters: 7
Distributor: 7
index gateway: 3
Querier – autoscale
Frontend – autoscale
Scheduler – 5
Chunk/result cache – 3 each
PFB Configuration:
filter loki logs in Grafana by daily time range
I am using Grafana to display log messages from Loki / Promtail.
New to Grafana Loki queries
I am pretty new to grafana & loki & trying to figure out some simple queries maybe for you guys 😀
Cannot explore the most recent Loki log entries from Grafana
We recently lifted our loki from 2.6.2 stepwise to 2.9.8. Our deployment is “simple scalable mode” as container instances in Azure with Azure storage account blob container as storage.
With 2.6.2 we had 1x read and 3x writer. Now with 2.9.8 we have 2x read, 1x backend and 3x write.
We also switched from boltdb to tsdb.
Change Grafana Loki helm chart, but preserve existing logs
I’m trying to replace the loki-stack (2.10.2) with loki (6.5.2) helm-chart. For the new chart I used the same schemaConfig (same timeframe, index, schema etc) and the same S3 bucket. The new loki apparently does not see the logs that already exist. I was expecting loki to pick up the existing logs. What solutions do I have to make this work?