How to get free YouTube subscribers, likes and views?
Get Free YouTube Subscribers, Views and Likes

Grafana : Loki LogQL

Follow
SBCODE

Channel Membership :    / @sbcode  

Documentation : https://sbcode.net/grafana/logql/
Course Coupons : https://sbcode.net/coupons

Now that we have a loki data source we can query it with the LogQL query language.

In this video, we will try out many LogQL queries using the 'varlogs' selector that we just set up.

There are two types of LogQL queries:
1. Log queries returning the contents of log lines as streams.
2. Metric queries that convert logs into value matrixes.

A LogQL query consists of,
1. The log stream selector
2. Filter expression

We can use operations on both the log stream selectors and filter expressions to refine them.

0:00 Introduction. LogQL
1:00 Log Stream Selectors
2:50 Log Stream Selector Operators
5:00 Filter Expressions
8:00 Scalar Vectors and Scalar Vector Arrays
12:25 Aggregate Functions
14:50 Aggregate Grouping
15:55 Comparison Operators
16:25 Logic Operators
16:53 Operator Order

#grafana
#grafanaCourse
#grafanaTutorial

posted by razmacimalp