# How we use Logs at PostHog

DevFeed: [How we use Logs at PostHog](<https://devfeed.tech/articles/how-we-use-logs-at-posthog-80534.md>)

Original publisher: [Read original article](<https://posthog.com/blog/how-posthog-uses-logs>)

Author: Sara Miteva

Published: 2026-01-23T00:00:00Z

Content type: article

Language: en

Sources: [PostHog](<https://devfeed.tech/sources/posthog.md>)

Topics: [Logging and metrics](<https://devfeed.tech/topics/logging-and-metrics.md>), [telemetry](<https://devfeed.tech/topics/telemetry.md>), [observability pipelines](<https://devfeed.tech/topics/observability-pipelines.md>), [dogfooding](<https://devfeed.tech/topics/dogfooding.md>), [Tool](<https://devfeed.tech/topics/tool.md>)

Tags: [about](<https://devfeed.tech/tags/about.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-observability](<https://devfeed.tech/tags/ai-observability.md>), [alert](<https://devfeed.tech/tags/alert.md>), [all](<https://devfeed.tech/tags/all.md>), [analytics](<https://devfeed.tech/tags/analytics.md>), [app](<https://devfeed.tech/tags/app.md>), [application](<https://devfeed.tech/tags/application.md>), [applications](<https://devfeed.tech/tags/applications.md>), [automatically](<https://devfeed.tech/tags/automatically.md>), [but](<https://devfeed.tech/tags/but.md>), [dogfooding](<https://devfeed.tech/tags/dogfooding.md>), [here](<https://devfeed.tech/tags/here.md>), [it-s](<https://devfeed.tech/tags/it-s.md>), [logs](<https://devfeed.tech/tags/logs.md>), [product](<https://devfeed.tech/tags/product.md>), [things](<https://devfeed.tech/tags/things.md>), [this](<https://devfeed.tech/tags/this.md>), [top](<https://devfeed.tech/tags/top.md>)

## AI overview

PostHog engineers use Logs to narrow down ambiguous incidents, inspect their scope and timing, and share findings. In one investigation, filtering logs from a crashing node exposed an application that was emitting huge compressed payloads; the old pipeline discarded the problematic data and obscured the cause. Those cases prompted improvements to handling, surfacing, and filtering large payloads. The excerpt describes include/exclude filters, responsive charts, structured metadata such as trace and request IDs, and Live Tail. For ClickHouse logs, one team sends journald data through Vector to PostHog via OpenTelemetry; this also brings in system logs, and the account says OTel-compatible sources work with minimal configuration. Another engineer still uses Grafana/Loki for older history. PostHog browser logs can link exceptions to user and session IDs and open the related session replay, bringing logs and replay into the same debugging workflow.

## Source excerpt

If there's something we do a lot here at PostHog (well, there's many things but this one is top three), it's dogfooding our own product. This is a...