Home / Companies / ClickHouse / Blog / Post Details
Content Deep Dive

Do you still need Elasticsearch for log analytics? ClickHouse says no.

Blog post from ClickHouse

Post Details
Company
Date Published
Author
The last remaining moat closes #
Word Count
4,699
Language
English
Hacker News Points
-
Summary

ClickHouse has introduced a new full-text search feature that integrates with its analytical engine, making it a competitive alternative to Elasticsearch for log analytics and observability tasks. The new feature leverages inverted indexes and ClickHouse's vectorized analytical capabilities to perform fast multi-token searches alongside large-scale aggregations. A benchmark comparing ClickHouse and Elasticsearch on a realistic OpenTelemetry log workload demonstrated that ClickHouse not only runs full-text analytical tasks 2-6 times faster but also stores data more compactly, using roughly one-fifth the disk space required by Elasticsearch. The benchmark highlighted ClickHouse's efficiency in both cold and hot query scenarios, with its storage and execution advantages especially evident in workloads combining text search with analytical operations like grouping and time-based trend analysis. This development positions ClickHouse as a robust solution for teams seeking to optimize log search and analytics within a managed observability stack, such as Managed ClickStack, enhancing both the performance and cost-efficiency of handling large-scale data sets.