How Lansweeper scaled IT, OT, and IoT insights with ClickHouse Cloud
Lansweeper moved its asset-analytics layer from MongoDB plus Elasticsearch to self-hosted ClickHouse and then to ClickHouse Cloud as it grew to 50M assets, 1.4B software records and 5.5B vulnerabilities. Elasticsearch had reached 17% of cloud spend and struggled with frequent large-document updates. ClickHouse on Kubernetes handled updates with an insert-only model: each change or delete becomes a new row, and the latest version is resolved by sort key and timestamp, with data sorted by client and asset key and partitioned by date. ZooKeeper instability drove the move to ClickHouse Cloud, which required only new Kafka consumer credentials, and S3-backed storage cut costs to about 30% of the OpenSearch bill while handling 3x more assets.
Related posts
- How trip.com migrated from Elasticsearch and built a 50PB logging solution with ClickHouse
ClickHouse mediumAdept
Trip.com replaced its Elasticsearch-based centralized logging platform with ClickHouse after hitting stability, ingestion and cost limits at 4PB, and has since grown it toward 50PB. The migration used a ReplicatedMergeTree schema with daily partitions, ZSTD codecs, LowCardinality columns, tag key/value arrays and tokenbf_v1 bloom-filter indexes. Kibana was extended with custom ClickHouse panels, and scripts migrated 95% of dashboards automatically. The result was over 50% storage savings and queries 4–30x faster (P90 under 300ms). Further growth caused ZooKeeper-driven DDL timeouts, which led trip.com to split into multiple clusters and to evaluate ClickHouse Cloud with SharedMergeTree.
- SIEM made simpler: How Huntress improved performance and slashed costs with ClickHouse
ClickHouse mediumAdept
Huntress rebuilt its SIEM on ClickHouse Cloud after finding Elasticsearch too expensive (over $70,000/month) and Postgres too awkward to scale. A comparable ClickHouse workload costs about $5,000/month. Logs from Rails services and other sources pass through Vector, which batches them and inserts over HTTP at up to 200,000 records per second. Their lessons: use ClickHouse partitions for lifecycle management such as TTL rather than per-tenant sharding, choose the sorting key (tenant ID first) carefully up front because it drives performance and is hard to change later, and don't expect data skipping indexes to behave like Postgres secondary indexes.
- Didi Migrates from Elasticsearch to ClickHouse for a new Generation Log Storage System
ClickHouse mediumAdept
Didi replaced Elasticsearch with ClickHouse for petabyte-per-day log and trace storage, cutting machine cost by 30% and speeding up queries about 4x on a 400+ node single-replica deployment peaking at 40 GB/s writes and ~200 QPS. A single Flink write pipeline feeds a Log cluster, and materialized views populate a physically isolated Trace cluster plus AggregatingMergeTree trace index tables, with cold data tiered to HDFS. Schema design rounds log time to the hour as the leading sort key, partitions by day, and moves unfiltered fields into Map columns to limit small files. Operational fixes covered per-table write-node allocation for low-traffic tables, Flink-side throttling, a native TCP Flink connector, and HDFS tiering changes that cut restart time from 1 hour to 1 minute.
- Clever ingests 200x more logs at the same cost with ClickHouse Cloud
ClickHouse mediumAdept
Clever replaced a split Datadog/Athena logging setup with ClickHouse Cloud. It now indexes all ~150 TB/month of logs from 400 services and 200 Lambdas with 60-day retention, a 200x increase in searchable volume, at no extra cost and with 10x compression. The schema extracts hot fields into columns and stores the rest as raw JSON plus an attributes map. It uses token bloom filter indexes at granularity 32 for full-text search, date partitions with a 60-day TTL, and orders by negative Unix timestamp for an 8-10x query speedup. Resilience comes from separate dev and per-region prod services joined via remoteSecure and merge tables, all managed with Terraform and Goose. A custom LogQL-to-SQL layer keeps Grafana familiar for engineers.
- How Exabeam uses ClickHouse for scalable, searchable security analytics
ClickHouse mediumAdept
Exabeam runs its security analytics platform on ClickHouse Cloud across 10 regions, ingesting up to 1.2M events/sec per region (80B+ daily, 3.5 PB raw compressed to 200 TiB), with compute-compute separation that isolates write, merge and read nodes. Key optimizations: consolidating commonly queried fields into one wide column cut query latency from 8s to under 1s, folding sparse fields into a key-value column shrank the schema from 1,150 to 250 columns and raised throughput from 100K to 250K events/sec on three nodes, and ingestor tuning (Jackson over Gson, larger Gzip buffers, better serialization) cut memory 45%. Splitting backdated events into a separate backlog pipeline reduced part-file explosion and aborted merges, and replacing N-gram indexes with token-based indexes lowered hardware cost since regex queries were under 1% of workload.