2 ms·
> 2. It has a convenient and simple query language IMHO, Loki query language is the most inconvenient language for logs I've seen: - It doesn't support calcul
by valyala 2y ago
> 2. It has a convenient and simple query language
IMHO, Loki query language is the most inconvenient language for logs I've seen:
- It doesn't support calculating multiple stats in a single query. For example, it cannot calculate the number of logs and the average request duration in a single query.
- Its' syntax for aggregate functions is very unintuitive and is hard to use, especially if you aren't familiar with PromQL.
- It requires putting an annoying "|=" separator between words and phrases you are searching in logs.
- You need to use a hack with JSON parsing when filtering or stats calculations on log fields is needed.