Skip to main content

Logs Service Description

The Logs service is designed to collect, store, and analyze logs for Selectel products that support log management:

Logs can be used to identify bottlenecks in applications and infrastructure and to quickly detect errors.

Log operations are recorded in audit logs.

How it works

Events that occur with a resource create a record in the log file. Events in a log file can be logically grouped into event streams. Event streams can be grouped together.

An event is a record of application activity, such as an error occurrence. An event is a single record and consists of two parameters:

  • timestamp – event time;
  • message – event name.

An event stream is a sequence of events from a single source. The event stream identifier is its name. The name is an immutable parameter.

A log group is a set of event streams grouped by retention settings. The name is an immutable parameter of a log group. All log groups created by Selectel products start with the s/ prefix and contain the product abbreviation. For example, in the s/lbaas/my-loadbalancer record, the prefix is s/, and the product abbreviation is lbaas.

How to work with the Logs service

You can view and analyze logs:

You can export logs to your storage using:

You can also add logs to the Logs service using:

Logs are stored in the service for 30 days. You can change the log retention period in the control panel.

You can check the availability of the Logs service across locations in the Logs availability by location guide.

Cost

Currently, the Logs service is free of charge. In the future, the service will become paid — we will notify you of any changes in advance.