Open Manoharan-NMS opened 1 year ago
Any update ?
@Manoharan-NMS I have a similar issue. Standard Loki installed as a Docker container following the official documentation, and only a handful of log entries. The query takes a large amount of time if I go use say the last 30 days range. Even if there are only a couple of logs in the entire database (tested).
Did you find any solution?
@Manoharan-NMS I have a similar issue. Standard Loki installed as a Docker container following the official documentation, and only a handful of log entries. The query takes a large amount of time if I go use say the last 30 days range. Even if there are only a couple of logs in the entire database (tested).
Did you find any solution? I also have this same problem. A handful of logs in the data, but query for >10days range becomes unusable. Loki v 2.8.4
Actually, after further investigation, I had better performance setting split_queries_by_interval
to 1d
.
Execution steps Implementation architecture
Loki Configuration
Path: /etc/loki/config.yml
Steps Maximum of 1GB per day logs coming from fluentd.
In Grafana selecting Time Range as 5 mins,15 mins,1 hour,6 hours,24 hours
Actual Result
Loading logs for 5mins,15mins is okay. When selecting logs 3 hours,12 hours,24 hours Grafana GUI taking around 1 to 2 min to load complete logs
Expected from LokiHow to speed up loki performance when huge logs are processed.