feat(vector): replace Logflare with direct Vector → ClickHouse pipeline#8053
Merged
feat(vector): replace Logflare with direct Vector → ClickHouse pipeline#8053
Conversation
…ne (#8015) Drop Logflare as the log ingestion middleware. Replace all 10 Logflare HTTP sinks with a single ClickHouse sink using Vector's native clickhouse driver. Add ch_normalize transform to flatten service logs into a unified schema. Add observability.logs_raw table DDL with ON CLUSTER, MergeTree engine, and 90-day TTL.
Contributor
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
This was referenced Mar 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
skip_unknown_fields,date_time_best_effort, disk buffer)ch_normalizetransform to flatten service logs into unified schema:{timestamp, service, level, message, metadata, pod_name, pod_namespace}observability.logs_rawtable DDL (ON CLUSTER, MergeTree, 90-day TTL, partitioned by day)Architecture
Pre-deploy (already applied)
CREATE DATABASE observability ON CLUSTER 'cluster'CREATE TABLE observability.logs_raw ON CLUSTER 'cluster'GRANT ALL ON observability.* TO logflare ON CLUSTER 'cluster'Test plan
vectornamespace/health)observability.logs_rawwithin 30sSELECT service, count() FROM observability.logs_raw GROUP BY serviceRef #8015