Like Prometheus, but for logs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
loki/docs/sources/query/query_accceleration.md

2.3 KiB

title menuTitle description weight keywords
Query acceleration (Experimental) Query acceleration Provides instructions on how to write LogQL queries to benefit from query acceleration. 900 [blooms query acceleration]

Query acceleration (Experimental)

{{% admonition type="warning" %}} Query acceleration using blooms is an experimental feature. Engineering and on-call support is not available. No SLA is provided. {{% /admonition %}}

If bloom filters are enabled, you can write LogQL queries using structured metadata to benefit from query acceleration.

Prerequisites

Query blooms

Queries will be accelerated for any label filter expression that satisfies all of the following criteria:

To take full advantage of query acceleration with blooms, ensure that filtering structured metadata is done before any parse expression:

{cluster="prod"} | logfmt | json | detected_level="error"  # NOT ACCELERATED: structured metadata filter is after a parse stage
{cluster="prod"} | detected_level="error" | logfmt | json  # ACCELERATED: structured metadata filter is before any parse stage