---
title: "SIEM made simpler: How Huntress improved performance and slashed costs with ClickHouse"
description: "Huntress rebuilt its SIEM on ClickHouse Cloud after finding Elasticsearch too expensive (over $70,000/month) and Postgres too awkward to scale."
url: "https://swe.quest/articles/siem-made-simpler-how-huntress-improved-performance-and-slashed-costs-with-0c0de3a6602cf479"
canonical: "https://clickhouse.com/blog/how-huntress-improved-performance-and-slashed-costs-with-clickHouse"
source: "ClickHouse"
published: "2024-11-19"
difficulty: "medium"
kind: "Case study"
reading_minutes: 6
tags: ["analytics","threat-detection","data-pipelines","cost-optimization"]
---

# SIEM made simpler: How Huntress improved performance and slashed costs with ClickHouse

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2024-11-19, 6 min read, Case study. Original: [https://clickhouse.com/blog/how-huntress-improved-performance-and-slashed-costs-with-clickHouse](https://clickhouse.com/blog/how-huntress-improved-performance-and-slashed-costs-with-clickHouse)

## Summary

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.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)
- [Threat detection](https://swe.quest/tags/threat-detection.md) (Security)
- [Data pipelines](https://swe.quest/tags/data-pipelines.md) (Data & databases)
- [Cost optimization](https://swe.quest/tags/cost-optimization.md) (Reliability & operations)

## Prerequisites

- columnar databases ([easy posts on Databases](https://swe.quest/tags/databases.md?difficulty=easy))
- database indexing basics ([easy posts on Databases](https://swe.quest/tags/databases.md?difficulty=easy))

## Keywords

ClickHouse, ClickHouse Cloud, Vector, Elasticsearch, Huntress, SIEM

## Related posts

- [Didi Migrates from Elasticsearch to ClickHouse for a new Generation Log Storage System](https://swe.quest/articles/didi-migrates-from-elasticsearch-to-clickhouse-for-a-new-generation-log-storage-50fcb56512cab39a.md): ClickHouse · 2024-04-19 · Medium · 11 min read · Analytics & OLAP, Observability, Storage engines, Scaling, Cost optimization
  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.
- [How Cloud CIRCUS used ClickHouse to speed up and simplify log analytics](https://swe.quest/articles/how-cloud-circus-used-clickhouse-to-speed-up-and-simplify-log-analytics-2fa577e0b57d75c9.md): ClickHouse · 2025-06-17 · Medium · 6 min read · Analytics & OLAP, Data pipelines, Cloud platforms, Cost optimization, Observability
  Cloud CIRCUS replaced Amazon Athena with a self-managed ClickHouse instance on a single 4 vCPU / 32 GB EC2 machine to analyze CloudFront access logs from 2,000+ BlueMonkey customer sites.
- [How Lansweeper scaled IT, OT, and IoT insights with ClickHouse Cloud](https://swe.quest/articles/how-lansweeper-scaled-it-ot-and-iot-insights-with-clickhouse-cloud-8626be5e19fd7725.md): ClickHouse · 2025-07-11 · Easy · 5 min read · Analytics & OLAP, Cost optimization, Scaling, Search
  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.
- [How Rokt Achieved Real-time Reporting with ClickHouse](https://swe.quest/articles/how-rokt-achieved-real-time-reporting-with-clickhouse-89f752e157ebd50c.md): ClickHouse · 2022-12-06 · Easy · 4 min read · Analytics & OLAP, Databases, Cost optimization, E-commerce
  Rokt replaced an Elasticsearch-backed reporting layer with ClickHouse.
- [Clever ingests 200x more logs at the same cost with ClickHouse Cloud](https://swe.quest/articles/clever-ingests-200x-more-logs-at-the-same-cost-with-clickhouse-cloud-cafdd48afca59e57.md): ClickHouse · 2026-06-30 · Medium · 8 min read · Observability, Analytics & OLAP, Cost optimization, System design
  Clever replaced a split Datadog/Athena logging setup with ClickHouse Cloud.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
