---
title: "Logs Service Description"
sidebar_label: "Description"
description: "How the Logs service works and its cost"
sidebar_position: 1
---

import Formbricks from '@theme/MDXComponents/Formbricks'

# Logs Service Description

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

* [load balancers](/cloud-servers/load-balancers/manage/logs/);
* [Managed Databases](/managed-databases/);
* [ready-to-use 1C Cloud](/cloud-1c);
* [Cloud for Trino](/cloud-for-trino/);
* [Cloud for Redash](/cloud-for-redash/);
* [Cloud for Hive Metastore](/cloud-for-hive-metastore/).

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

Log operations are recorded 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 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 \{#working-with-logs}

You can view and analyze logs:

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

You can export logs to your storage using:

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

You can also add logs to the Logs service using:

* the [Fluent Bit](/logs/tools/fluent-bit.mdx) plugin;
* the [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) in the control panel.

You can check the availability of the Logs service across locations in the [Logs availability by location](/logs/about/logs-availability-by-location.mdx) guide.

## Cost \{#price}

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.

<Formbricks />
