ClickHouse ซีรีส์ย้ายระบบ

รันทั้งสองระบบ
พิสูจน์ parity แล้วคัตโอเวอร์

สร้างระบบต้นทาง Elasticsearch เขียน logs, traces และ metrics แบบสดไปยัง ClickHouse Cloud พร้อมกัน พิสูจน์ว่าทั้งสองระบบตรงกัน แล้วหยุด Elasticsearch โดยใช้ ClickStack เป็น UI observability เพียงตัวเดียว

4–6 ชั่วโมง · ลงมือทำ2 เวิร์กโหลดสด3 สัญญาณ telemetry10 ขั้นตอนการย้าย

Not a reindex. A controlled systems change.

Copying documents is the easy part. The real migration is replacing data streams, mappings, ILM, ingest pipelines, Kibana dashboards, and alert rules without losing the signals operators rely on.

This workshop gives you two live workloads: Filebeat shipping three log formats, and the OpenTelemetry Demo sending traces, metrics, and logs from sixteen microservices through Elastic APM. You inspect the system before designing its replacement.

The cutover is evidence-driven. Two OpenTelemetry Collectors fan the same events into Elasticsearch and ClickHouse Cloud while validation scripts compare counts, schemas, enrichment, and freshness.

Only after the parity gate passes do you remove the Elasticsearch exporters and stop the old stack. HyperDX then becomes the single UI for search, dashboards, traces, metrics, alerts, and AI-assisted investigation.

What you walk away with

The whole migration, running end to end.

A realistic source, an optimized ClickHouse target, and a cutover decision backed by live measurements.

01

A production-shaped source baseline

Three Elasticsearch data streams, four ingest pipelines, ILM, six Kibana dashboards, Elastic APM, and sixteen instrumented services generating traffic.

02

A query-led ClickHouse design

MergeTree sort keys chosen from access patterns, flexible OTel attributes kept in Map, and hot fields promoted to typed materialized columns.

03

Ingest processing rebuilt explicitly

A Null → materialized view → MergeTree path with IP_TRIE dictionaries, materialized enrichment columns, TTL, text indexes, and summary tables.

04

A measurable parallel run

File and OTLP collectors dual-write every signal to both backends while automated checks compare live counts and verify GeoIP, severity, and parsed fields.

05

ClickStack as the operating surface

HyperDX sources for logs, traces, and all five metrics tables, plus recreated dashboards, saved searches, alerts, and an AI-assisted chart.

06

Migration decisions you can defend

Five query translations, a seven-decision ADR, six advanced SQL exercises, and a scenario-based assessment focused on trade-offs rather than commands.

What replaces what

data streams + ILMMergeTree partitions + TTL
ingest pipelinesMVs + columns + dictionaries
Filebeat / Elastic AgentOpenTelemetry Collector
ECSOTel semantic conventions
Elasticsearch transformsAggregatingMergeTree MVs
KibanaHyperDX / ClickStack

The route · 4–6 hours hands-on

Five modules, one controlled cutover.

Build the baseline, make the design decisions, run both systems together, and remove the old backend only when the evidence says it is safe.

  1. 00

    Setup

    15 min

    Install Docker, the ClickHouse client, curl and jq; choose local or EC2 for the source; create the ClickHouse Cloud account; and verify every artifact.

  2. 01

    Start Elasticsearch, Kibana, Filebeat, Elastic APM Server, three log generators, and the OpenTelemetry Demo, then capture a growing-data baseline.

  3. 02

    Inspect mappings, data streams, pipelines, lifecycle rules, and query latency; translate five queries; then write the target schema and migration ADR.

  4. 03

    Provision ClickHouse, create dictionaries and tables, start dual-write, validate parity, configure HyperDX, test TTL and summaries, migrate alerts, and cut over.

  5. 04

    Complete fifteen multiple-choice questions and five open scenarios covering schema, migration planning, debugging, and alerting trade-offs.

Self-paced by default. The source created in module 01 stays live through module 03. Never stop Elasticsearch until both parity scripts pass and the collector cutover configs are ready.

Before you join

Who it's for, and what to bring.

Who it's for audience

  • ClickHouse partner engineers and Solutions Architects planning observability migrations
  • Teams replacing Elasticsearch storage while keeping OpenTelemetry instrumentation
  • Anyone who needs to explain how parity is proven before cutover
  • Comfortable with a terminal, Docker, and SQL — no prior ClickHouse operations experience required

What to bring prerequisites

  • Docker 24+ and Compose 2.20+ with 16 GB available RAM; 32 GB recommended
  • The ClickHouse client, curl, jq, and a ClickHouse Cloud trial
  • Terraform 1.5+, an AWS account, and an EC2 key pair only when using the remote-source option
  • At least 5 GB free disk for container images and volumes

How it runs format

  • 100% hands-on with two continuously changing observability workloads
  • Local Docker or Terraform-provisioned EC2 for the source; ClickHouse Cloud for the target
  • A learner track, matching instructor notes, editable exercises, and hosted model answers
  • The final assessment is open-book and tests judgment, not command recall

What this workshop does not cover scope

  • Bulk historical reindexing from an existing production Elasticsearch cluster
  • Production identity, private networking, tenancy, or compliance controls
  • Long-term capacity planning or a formal performance certification
  • The included alert rules prove the pattern; notification-provider integration is left to your environment

Ready to make cutover measurable?

Bring a ClickHouse Cloud trial and a machine that can run the source stack. Leave with every Elasticsearch subsystem mapped, three live signals validated in parallel, and a rollback-aware cutover you can explain.

3Logs, traces, and metrics validated on both backends.
2→1Two live systems during proof; one after cutover.
20Knowledge checks plus five open migration scenarios.
TH