What is ClickHouse Security? A technical overview of the agentic SIEM built on ClickHouse
ClickHouse Security is an agentic SIEM, built from RunReveal technology and now in private preview, that stores security logs in a customer's ClickHouse Cloud service. It ingests from 120+ cloud, identity and SaaS sources via webhook, API polling with watermarks, or object storage. Built-in pipelines filter, enrich and normalize the logs to an OCSF-like schema while keeping the raw log. Detections run as scheduled ClickHouse SQL or streaming Sigma rules managed as code through a CLI and GitHub Action, and results land in queryable signals and alerts tables. Investigations collect timeline artifacts, and AI agents triage alerts, tune detections and answer plain-language queries by writing SQL, using bring-your-own LLM keys plus an MCP server, API and Slack bot.
Related posts
- How Sierra uses ClickHouse to bridge observability and analytics
ClickHouse easyNovice
Sierra, which builds AI customer-service agents with outcome-based pricing, stores every voice and chat interaction as a structured event in a single ClickHouse table and serves both observability and product analytics from it. Materialized views pre-aggregate key metrics such as customer API errors minute by minute, and Prometheus scrapes ClickHouse's query endpoint in Prometheus format to evaluate and deliver alerts. Columnar storage and pre-aggregation let the team keep high-cardinality fields instead of dropping them, and the next step is self-service alerting on business metrics from the analytics dashboards.
- ClickHouse Powers Dassana’s Security Data Lake
ClickHouse mediumAdept
Dassana built a security data lake on ClickHouse to normalize mutable security findings (alerts whose state changes) that append-only SIEMs handle poorly. After ReplacingMergeTree and AggregatingMergeTree with materialized views struggled at scale, they solved last-point queries with a ClickHouse dictionary that periodically refreshes (every 5 seconds) the max insert timestamp per cityHash64(tenant, record_id), then filtering the main table via dictGet. The approach outperformed the Join engine and fit hundreds of millions of distinct assets in 32GB RAM, at the cost of a few seconds of staleness. Lessons include keeping test and production hardware at parity and avoiding experimental features such as projections in production.
- Sending Windows Event Logs to ClickHouse with Fluent Bit
ClickHouse mediumAdept
Fluent Bit's winevtlog input can collect Windows Event Logs, including the Sysmon/Operational and Security channels, and ship them to ClickHouse over HTTP as JSONEachRow with async_insert enabled. Sysmon uses SwiftOnSecurity's MITRE ATT&CK-aligned configuration, and logs land in a MergeTree table built on the experimental JSON object type, whose inferred schema is shown. Grafana's ClickHouse plugin provides threat-hunting dashboards, and SysmonSimulator generates test events. For production, map frequent fields such as Computer to explicit LowCardinality columns and put them in the ORDER BY key instead of relying on dynamic JSON with tuple().
- How Artemis Security runs 69x faster detection queries with ClickHouse Cloud
ClickHouse mediumAdept
Artemis, an AI-native threat detection platform ingesting terabytes of logs daily, sped up its ClickHouse Cloud workload with three techniques. Query coalescing merges hundreds of detection-rule predicates into a single scan that tags matching rows with rule IDs, cutting one benchmark from 173s to 2.5s (69x) with 46x less CPU. It relies on a runtime classifier that excludes the roughly 15% of rules using JOINs, CTEs or GROUP BY, plus size-aware batching with a binary-split fallback around max_query_size. A Claude Code skill called /poke automates debugging across system tables, metrics and source code. A materialized view extracts hot JSON sub-columns into native types and feeds a two-step filter-then-fetch query pattern, making investigative queries 30-60x faster with up to 400x lower CPU.
- Building an Observability Solution with ClickHouse - Part 1 - Logs
ClickHouse mediumAdept
ClickHouse can serve as the storage backend for Kubernetes log collection using any of three agents: the OpenTelemetry Collector, Vector and Fluent Bit. Each agent can be deployed via Helm in agent (DaemonSet) and aggregator roles. Aggregators batch data into larger inserts that match ClickHouse insert best practices, and small deployments that skip them should use asynchronous inserts to avoid too many parts. The OTEL exporter (alpha) hard-codes its schema, while Vector (beta, HTTP/JSON sink) lets users define their own tables. Map types are recommended for sparse Kubernetes labels and annotations, and the post closes with compression results and example SQL queries for analyzing logs by pod, time window and string or regex match.