---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
alternate:
  - https://www.yandex.com/dev/metrika/en/logs/clickhouse-integration.md
  - https://www.yandex.com/dev/metrika/ru/logs/clickhouse-integration.md
  - href: en/logs/clickhouse-integration.md
    type: text/markdown
    title: Markdown version
  - href: ../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://www.yandex.com/dev/metrika/en/llms.txt

# Connecting Logs API to ClickHouse

You can use [ClickHouse](https://clickhouse.yandex/reference_en.html) to work with non-aggregated statistical data retrieved from Yandex Metrica via the Logs API. To connect the Logs API to ClickHouse, follow the [data export guide](https://cloud.yandex.ru/docs/datalens/tutorials/data-from-metrica-yc-visualization#uploading-data-logs-api).
