---
title: "General information about the Logs service"
sidebar_label: "General information"
description: "General information about the Logs service: how it works, pricing"
sidebar_position: 1
---

import Formbricks from '@theme/MDXComponents/Formbricks'

# General information about the Logs service

The Logs service is designed for collecting, storing, and analyzing logs from Selectel products that support logging:

* [load balancers](/cloud-servers/load-balancers/manage/logs/);
* [Managed Databases](/managed-databases/);
* [prepared 1C cloud](/cloud-1c).

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

Records of log operations are saved in [audit logs](/audit-logs/about-audit-logs.mdx).

## How it works \{#principle-of-operation}

![](https://423.selcdn.ru/kb/logs-about-logs-principle-of-operation-LANG-THEME.png)

Events related to a resource create a record in a log file. Events in a log file can be combined logically into event streams. Event streams can be grouped.

An event (event) is a record of application activity, for example, the occurrence of an error. An event is a single record consisting of two parameters:

* `timestamp` – event time;
* `message` – event name.

Event streams (stream) are a sequence of events (event) originating from a single source. The identifier of an event stream is its name. The name is an immutable parameter.

A log group (group) is a set of event streams combined based on storage parameters. 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 record `s/lbaas/my-loadbalancer`, the prefix is `s/`, and the product abbreviation is `lbaas`.

## How to work with the Logs service \{#working-with-logs}

You can view and analyze logs:

* via the [Control Panel](https://my.selectel.ru/logs/default/logs);
* using [AWS CLI](/logs/tools/aws-cli.mdx);
* or an [SDK client](/logs/tools/sdk-client.mdx).

You can export logs to your own storage using:

* [Fluent Bit](/logs/tools/fluent-bit.mdx) plugin;
* [Grafana Alloy](/logs/tools/grafana-alloy.mdx) agent.

You can also add logs to the Logs service using:

* [Fluent Bit](/logs/tools/fluent-bit.mdx) plugin;
* [Vector](/logs/tools/vector.mdx) tool.

Logs are stored in the service for 30 days. You can [change the log retention period](/logs/manage/edit-retention.mdx) via the Control Panel.

You can check the availability of the Logs service in the regions in the [Logs](/infrastructure/availability-matrix.mdx#logs) availability matrix.

## Pricing \{#price}

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

<Formbricks />
