Home / Companies / Grafana Labs / Blog / Post Details
Content Deep Dive

How to search logs in Loki without worrying about the case

Blog post from Grafana Labs

Post Details
Company
Date Published
Author
Cyril Tovena
Word Count
358
Company Posts That Month
17
Language
English
Hacker News Points
-
Post removed?
No
Summary

Loki is a tool designed for searching logs within systems, particularly useful during incidents or development troubleshooting. While LogQL's line filters in Loki are typically case-sensitive, making it challenging to search logs with unknown capitalization, users can leverage regex line filters such as !~ and |~ with the RE2 syntax for case-insensitive searches. This method allows for efficient searches without performance drawbacks, as Loki optimizes these regex expressions to perform simple case-insensitive searches. To explore Loki's capabilities, users are encouraged to sign up for Grafana Cloud, which offers an accessible platform for managing metrics, logs, and dashboards with both free and paid options.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.