---
title: "Sending Windows Event Logs to ClickHouse with Fluent Bit"
description: "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."
url: "https://swe.quest/articles/sending-windows-event-logs-to-clickhouse-with-fluent-bit-a9cd29ea6f2c615f"
canonical: "https://clickhouse.com/blog/sending-windows-event-logs-to-clickhouse-with-fluent-bit"
source: "ClickHouse"
published: "2023-01-17"
difficulty: "medium"
kind: "How-to"
reading_minutes: 10
tags: ["observability","analytics","threat-detection"]
---

# Sending Windows Event Logs to ClickHouse with Fluent Bit

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2023-01-17, 10 min read, How-to. Original: [https://clickhouse.com/blog/sending-windows-event-logs-to-clickhouse-with-fluent-bit](https://clickhouse.com/blog/sending-windows-event-logs-to-clickhouse-with-fluent-bit)

## Summary

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().

Written by swe.quest, not by the author.

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

## Topics

- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)
- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)
- [Threat detection](https://swe.quest/tags/threat-detection.md) (Security)

## Prerequisites

- Windows administration basics
- SQL basics ([easy posts on SQL](https://swe.quest/tags/sql.md?difficulty=easy))
- Log collection agents ([easy posts on AI agents](https://swe.quest/tags/ai-agents.md?difficulty=easy))

## Keywords

ClickHouse, Fluent Bit, Sysmon, Windows Event Log, Grafana, SysmonSimulator, MITRE ATT&CK

## Related posts

- [Sending Kubernetes logs To ClickHouse with Fluent Bit](https://swe.quest/articles/sending-kubernetes-logs-to-clickhouse-with-fluent-bit-84e8996833767c24.md): ClickHouse · 2022-10-28 · Medium · 8 min read · Observability, Kubernetes, Analytics & OLAP, Databases
  Fluent Bit deployed as a Kubernetes DaemonSet via its Helm chart can enrich container logs with Kubernetes metadata and ship them to ClickHouse over the HTTP interface using JSONEachRow inserts.
- [Sending Nginx logs to ClickHouse with Fluent Bit](https://swe.quest/articles/sending-nginx-logs-to-clickhouse-with-fluent-bit-5d4b04deaca82dc6.md): ClickHouse · 2022-10-21 · Medium · 5 min read · Observability, Analytics & OLAP, Databases
  Fluent Bit can ship Nginx access logs into ClickHouse by tailing the log file with the nginx\_access parser, nesting all parsed fields under a single \`log\` key with the Nest filter, and posting them through the HTTP output plugin as JSONEachRow inserts.
- [Structured Logging in .NET with Serilog and ClickHouse](https://swe.quest/articles/structured-logging-in-net-with-serilog-and-clickhouse-433c37101ab76f06.md): ClickHouse · 2026-03-23 · Medium · 20 min read · .NET, Observability, Analytics & OLAP
  Serilog's ClickHouse sink lets an ASP.NET service write structured logs directly into a ClickHouse table with one WriteTo.ClickHouse() call.
- [What is ClickHouse Security? A technical overview of the agentic SIEM built on ClickHouse](https://swe.quest/articles/what-is-clickhouse-security-a-technical-overview-of-the-agentic-siem-built-on-55739f83613afe9b.md): ClickHouse · 2026-11-24 · Medium · 16 min read · Threat detection, Analytics & OLAP, AI agents, Observability
  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.
- [Building an Observability Solution with ClickHouse - Part 1 - Logs](https://swe.quest/articles/building-an-observability-solution-with-clickhouse-part-1-logs-7367c3ac34797550.md): ClickHouse · 2023-01-11 · Medium · 24 min read · Observability, Analytics & OLAP, Kubernetes, SQL
  ClickHouse can serve as the storage backend for Kubernetes log collection using any of three agents: the OpenTelemetry Collector, Vector and Fluent Bit.

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)
