[Yandex Cloud documentation](../../index.md) > [Yandex Cloud Logging](../index.md) > [Step-by-step guides](index.md) > Log export > Exporting logs > Object Storage

# Exporting logs to Object Storage

{% note info %}

To start log export, the user or service account must have the `logging.editor` [role](../../iam/roles-reference.md#logging-roles) or higher.

{% endnote %}

{% list tabs group=instructions %}

- Management console {#console}

    1. In the [management console](https://console.yandex.cloud), go to the folder containing your log group and log sink.
    1. [Navigate](../../console/operations/select-service.md#select-service) to **Cloud Logging**.
    1. Select the log group from which you want to export logs.
    1. Navigate to the **Logs** tab.
    1. To the right of the **Run** button, click ![image](../../_assets/console-icons/chevron-down.svg) → **Export logs**.
    1. In the window that opens:
        1. Specify the export period.
        1. Select the log sink.
        1. Enter a name for the export file.
        1. Click **Export logs**.

    The file will be saved to the bucket specified in the settings of the log sink you selected.

- API {#api}

    To export logs, use the [run](../api-ref/Export/run.md) REST API method for the [Export](../api-ref/Export/index.md) resource or the [ExportService/Run](../api-ref/grpc/Export/run.md) gRPC API call.

{% endlist %}


#### Useful links {#see-also}

* [Replicating logs to Yandex Object Storage using Fluent Bit](../tutorials/replicate-logs-to-storage.md)
* [Replicating logs to Yandex Object Storage using Yandex Data Streams](../tutorials/replicate-logs-to-storage-via-data-streams.md)