4 ms·
It's quite sufficient for logs that you'd just cat/grep anyways.
by imp0cat 2y ago
It's quite sufficient for logs that you'd just cat/grep anyways.
- raffraffraff 2y ago...but it's superpower is that Grafana can put metric panels right beside error log panels. If a graphs show you a spike in errors, you zoom in on the spike and the error logs panel zooms to the same period. So it's like cat/grep with a visual cue.
- cyberpunk 2y agoExcept there is no grep? You can’t just type a search into the box on an unindexed field can you? It’s a bit more like Prometheus in that stuff has to be labelled and you just get all of it? Or am I using it wrong?
- theblazehen 2y agoYou can, try using |= "your text string" appended to your logql query
- bornfreddy 2y agoYou can also pipe through regex search, through json parser,... Very convenient and powerful. Comparing it to cat + grep (+ jq) seems fitting.