Parallel operation strategy
When migrating from Elastic to ClickHouse Observability for observability use cases, we recommend a parallel operation approach rather than attempting to migrate historical data. This strategy offers several advantages:- Minimal risk: by running both systems concurrently, you maintain access to existing data and dashboards while validating ClickHouse Observability and familiarizing your users with the new system.
- Natural data expiration: most observability data has a limited retention period (typically 30 days or less), allowing for a natural transition as data expires from Elastic.
- Simplified migration: no need for complex data transfer tools or processes to move historical data between systems.
Migrating dataSelf-managed deployments can use the
Elasticsearch table engine to read historical documents and copy them into ClickHouse tables. See Migrating data. This is separate from the OTLP ingestion path used by fully managed ClickHouse Observability.Implementation steps
1
Configure dual ingestion
Set up your data collection pipeline to send data to both Elastic and ClickHouse Observability simultaneously. For fully managed ClickHouse Observability, the pipeline must export OTLP to the managed endpoint using your ingestion API key. Forwarding Elasticsearch JSON documents to that endpoint is not sufficient.How this is achieved depends on your current agents for collection - see “Migrating Agents”.
2
Adjust retention periods
Review the retention periods in both systems so historical data remains available during the transition. See Retention and TTL for deployment-specific guidance.
3
Validate and compare
- Run queries against both systems to ensure data consistency
- Compare query performance and results
- Migrate dashboards and alerts to ClickHouse Observability. This is currently a manual process.
- Verify that all critical dashboards and alerts work as expected in ClickHouse Observability
4
Gradual transition
- As data naturally expires from Elastic, you will increasingly rely on ClickHouse Observability
- Once confidence in ClickHouse Observability is established, you can begin redirecting queries and dashboards
Long-term retention
For organizations requiring longer retention periods:- Continue running both systems in parallel until all data has expired from Elastic
- For self-managed deployments, consider using materialized views to maintain aggregated or filtered historical data while allowing raw data to expire.
Migration timeline
The migration timeline will depend on your data retention requirements:- 30-day retention: Migration can be completed within a month.
- Longer retention: Continue parallel operation until data expires from Elastic.
- Historical data: Review the deployment-specific guidance in Migrating data before planning an import.
Retention and TTL
- Fully managed
- Self-managed
Fully managed ClickHouse Observability retains data for 30 days during beta. Retention will be updated at general availability (GA), with further instructions to follow.
Migrating data
- Fully managed
- Self-managed
There is currently no direct historical-data migration path from Elasticsearch to fully managed ClickHouse Observability. The managed endpoint accepts OTLP telemetry, not Elasticsearch documents or JSON exports. The
Elasticsearch table engine workflow in the self-managed tab does not apply to fully managed services.