changelog
LogTide 0.8 release notes
8 releases in the 0.8 line, newest first. MongoDB storage adapter for @logtide/reservoir, browser and frontend SDKs with source maps and Core Web Vitals, and OTLP metrics dashboards with cross-signal correlation.
Ingestion Schema, Sigma Log Noise & Admin Bootstrap Fixes
Quick Start cURL example now validates without a manual timestamp, Sigma worker no longer floods logs on empty detection batches, and fresh instances without INITIAL_ADMIN_* env vars auto-promote the first registered user to admin.
- logSchema now defaults time to current ISO string so minimal payloads and copy-paste examples validate
- Sigma worker [SigmaDetection] No matches found log gated behind DEBUG_SIGMA=true
- First registered user is auto-promoted to admin when no INITIAL_ADMIN_* is set and no admin exists
Fixed
- Quick Start cURL example failed validation: the empty-state code snippet sent
{logs: [{level, service, message}]}without atimefield, butlogSchemarequired it for the standard ingestion path (only the array-format path rannormalizeLogData). The schema now defaultstimeto the current ISO string when missing, so copy-paste examples and minimal payloads validate without requiring users to inject a timestamp. - Noisy Sigma worker logs:
[SigmaDetection] No matches foundwas emitted at info level on every batch with no detections, flooding worker output in normal operation. The line is now gated behindDEBUG_SIGMA=trueso it only appears when explicitly opted in. - *No admin user when INITIAL_ADMIN_ not set (#188)**: on a fresh instance without
INITIAL_ADMIN_EMAIL/INITIAL_ADMIN_PASSWORD, no usable admin existed and admin settings were unreachable. The bootstrap no longer creates a system fallback user; instead, the first user to register (via/registeror external auth provider) is automatically promoted to admin if no admin exists yet.
ClickHouse Data-Availability & Session Validation Fixes
Fixed ClickHouse traces/metrics data-availability queries failing due to raw epoch date parameters, and resolved stale dashboard sessions after volume resets.
- ClickHouse traces/metrics data-availability queries now use toDateTime64() clamp instead of raw epoch dates
- Dashboard validates session token against backend on load and auto-logs out on invalid session
Fixed
- ClickHouse traces/metrics data-availability always empty:
queryTracesandqueryMetricspassed raw0for epoch dates asDateTime64(3)parameter, which ClickHouse can’t parse; now uses the sametoDateTime64()clamp used by log queries - Stale session after volume reset: dashboard only checked
localStoragefor a token without validating it against the backend; now calls/auth/meon load and auto-logs out if the session is invalid
Security Hardening, SSE Fixes & Memory Leak Cleanup
Five cross-org and auth security fixes, corrected SSE real-time streams, resolved 20+ Svelte memory leaks on navigation, and multiple bug fixes across SIEM, incidents, webhooks, and retention jobs.
- Cross-org isolation and auth bypass fixes in SIEM and pattern routes
- SSRF protection for legacy webhook path and disabled-user login blocked
- SSE real-time events and log stream duplicate emission fixed
- 20+ Svelte memory leaks from unsubscribed auth stores resolved
- Docker config sync and dependency security bumps (picomatch, brace-expansion, fast-xml-parser)
Security
- Cross-org isolation fix in SIEM:
linkDetectionEventsToIncidentnow scopes detection events to the requesting organization, preventing cross-tenant data corruption via crafted API calls - Cross-org auth bypass in pattern routes: PUT and DELETE handlers for correlation patterns now verify organization membership before mutating data (same check GET/POST already had)
- SSRF protection for legacy webhook path: the alert-notification job’s direct
fetch()call now validates URLs against private/internal IP ranges, matching theWebhookProvidersafeguard - Disabled user login blocked:
POST /loginnow checks thedisabledflag before creating a session, preventing disabled accounts from obtaining tokens - Expired invitation info leak:
getInvitationByTokennow filters onexpires_at > NOW(), preventing enumeration of expired invitation details
Fixed
- SIEM dashboard timeline crash:
time_bucket()call was missing::intervalcast on the parameterized bucket width, causing a PostgreSQL type error that broke the timeline widget for all users - SSE real-time events broken: SIEM store and incident detail page read auth token from
localStorage('session_token')(wrong key), so the SSE connection never authenticated; now usesgetAuthToken()from the shared auth utility - SSE log stream duplicate emission: when multiple logs shared the same timestamp, the inclusive
frombound caused them to be re-sent on every poll tick; stream now tracks sent log IDs to deduplicate - Incident severity auto-grouping wrong:
MAX(severity)used PostgreSQL alphabetical ordering (medium>critical), producing incorrect severity on auto-grouped incidents; now uses ordinal ranking - Sigma notification failures silent: notification job payload was missing
organization_idandproject_id, andmarkAsNotifiedwas called withnullhistoryId; both now handled correctly - Incidents pagination total always zero:
loadIncidentsin the SIEM store never wroteresponse.totaltoincidentsTotal - Memory leaks on navigation: 20+ Svelte components called
authStore.subscribe()without cleanup; all now store the unsubscribe function and call it inonDestroy offset=0silently dropped: API client functions usedif (filters.offset)which is falsy for zero, so page-1 requests never sent theoffsetparameter; changed toif (filters.offset != null)- Search debounce timer leak:
searchDebounceTimerwas not cleared inonDestroy, causing post-unmount API calls when navigating away mid-search verifyProjectAccessdouble call: whenprojectIdis an array, the first element was verified twice (once before the loop, once inside it); consolidated into a single loopupdateIncidentsilent field skip:title,severity, andstatusused truthy checks (&&) instead of!== undefined, inconsistent withdescriptionandassigneeId- Webhook error messages empty:
response.statusTextis empty for HTTP/2; error now reads the response body for useful detail - Retention job crash on empty orgs:
Math.max(...[])returns-Infinity, cascading to anInvalid Datein thedrop_chunkscall; early return added when no organizations exist escapeHtmlDOM leak: PDF export’sescapeHtmlcreated orphaned DOM nodes in the parent document; replaced with pure string replacement- Webhook headers validation missing:
CreateChannelDialogsilently swallowed invalid JSON in the custom headers field; now validates on submit getIncidentDetectionsno org scope: query now accepts optionalorganizationIdfor defense-in-depth filtering- Stale shared package types: dist contained outdated
ProjectandIncidentinterfaces with phantom fields (slug,statusPageVisibility,source,monitorId); rebuilt from source
Changed
- Docker config sync:
docker-compose.build.ymlnow matchesdocker-compose.ymlwith all environment variables (MongoDB,TRUST_PROXY,FRONTEND_URL,INTERNAL_DSN,DOCKER_CONTAINER), MongoDB service, andfluent-bit-metricsservice NODE_ENVfor backend: productiondocker-compose.ymlnow setsNODE_ENV: productionon the backend service (worker and frontend already had it)docker/.env.example: addedSTORAGE_ENGINE, ClickHouse, and MongoDB configuration sections
Dependencies
picomatch4.0.3 → 4.0.4 (fix ReDoS via extglob quantifiers + POSIX character class method injection)brace-expansion5.0.2 → 5.0.5 (fix zero-step sequence DoS)fast-xml-parser5.5.6 → 5.5.9 (fix entity expansion limits bypass)fastifybumped via dependabotkyselybumped via dependabot
Skeleton Loaders, Helm Auto-Release & Performance Fixes
All dashboard pages now show content-shaped skeleton loaders, automated Helm chart releases on every stable Docker image, and multiple performance and correctness fixes for API endpoints and admin pages.
- Skeleton loaders and loading overlays on all dashboard pages
- Automated Helm chart releases triggered on every stable Docker image release
- API 400 responses now include field-level validation errors
- Fixed admin pages returning 502 on direct load/reload
- POST /api/v1/logs/identifiers/batch performance: bypasses storage engine, one PostgreSQL query
- GET /api/v1/logs/hostnames 8+ second queries fixed with engine-specific indexes and a 6h window cap
Added
- Skeleton loaders and loading overlays: all dashboard pages now show content-shaped loading states instead of blank spinners
- New
Skeleton,SkeletonTable, andTableLoadingOverlaycomponents (src/lib/components/ui/skeleton/) - Directional shimmer animation via
@keyframes shimmerusing design tokens - works in light and dark mode, disabled forprefers-reduced-motion - Initial load (no data yet): animated skeleton rows mirroring the page layout - stat cards on
/dashboard, project cards on/dashboard/projects, table rows on search, traces, errors, admin tables, incidents, alerts history, and members - Re-fetch (filter change, pagination): existing content dims with a translucent overlay and centered spinner, preventing layout shift and context loss
- Pages updated:
/dashboard,/dashboard/search,/dashboard/projects,/dashboard/alerts,/dashboard/errors,/dashboard/traces,/dashboard/security,/dashboard/security/incidents,/dashboard/admin/organizations,/dashboard/admin/users,/dashboard/admin/projects,/dashboard/settings/members
- New
- Automated Helm chart releases: every stable Docker image release now triggers a
repository_dispatchtologtide-dev/logtide-helm-chart, which auto-bumpsappVersionand chart version (patch), commits, and publishes a new chart release to the Helm repo on GitHub Pages
Fixed
- API 400 responses now include a
detailsarray with field-level validation errors instead of just a generic message. Covers both Fastify/AJV schema validation and Zod validation errors (including uncaughtZodErrorthat previously returned 500) - Admin pages returned 502 Bad Gateway on direct load/reload: the admin layout (
[email protected]) breaks out of the dashboard layout chain, sossr = falsewas not inherited; added a dedicated+layout.tsto the admin section /dashboard/admin/projects/[id]crashed with “Something went wrong” due toformatDatebeing called but not defined (function was namedformatTimestamp)POST /api/v1/logs/identifiers/batchslow: the route was callingreservoir.getByIds(hitting ClickHouse/TimescaleDB/MongoDB) only to verify project access, then queryinglog_identifiers(PostgreSQL) separately. Sincelog_identifiersalready storeslog_id → project_id + identifierdata, the storage engine call is now bypassed entirely - one PostgreSQL query replaces the N×storage-engine-roundtrips loop. Added bloom filter skip index onidin ClickHouse and a standaloneidindex in TimescaleDB (migration 032) forgetByIdsused byfindCorrelatedLogsGET /api/v1/logs/hostnamestaking 8+ seconds: the 6h window cap was only applied whenfromwas absent - explicitfromparams (e.g. 24h range from the search page) bypassed it and triggered a full-range metadata scan; cap now clamps any window to 6h max. Addedlimit: 500to the distinct call. Per-engine optimizations: ClickHouse adds ahostnamematerialized column (computed at ingest, eliminatesJSONExtractStringat query time) and uses it directly in distinct queries; TimescaleDB adds a composite expression index(project_id, (metadata->>'hostname'), time)(migration 032); MongoDB adds a sparse compound index onmetadata.hostname. All three engines also now extract themetadatafield in a subquery (once per row vs 3×)
Comprehensive Audit Logging & OIDC Brand Icons
Major expansion of the audit trail system covering all critical platform actions for GDPR/SOC2 compliance, OIDC provider brand icons, and fixes for date formatting localization and data availability routing.
- Audit logging for log access, auth events, identity management, provider config, settings, and sessions
- OIDC login page shows brand icons for well-known providers (Google, Microsoft, GitHub, GitLab, Okta, Auth0, Keycloak, Authentik)
- Backend auto-detects OIDC provider icon from issuer URL
- Date/number formatting now respects user's browser/system locale
- Fixed data-availability endpoint for ClickHouse and MongoDB storage engines
Added
- Comprehensive Audit Logging: major expansion of the audit trail system to cover all critical platform actions for improved compliance (GDPR/SOC2) and security monitoring.
- Log Access Auditing: every log search, trace view, context lookup, single log detail view, and live stream connection is now recorded with user identity, IP address, and query parameters.
- External Authentication Auditing: successful logins via OIDC and LDAP providers are now tracked, including new user registration events.
- Identity Management Auditing: linking and unlinking of external identities (Google, GitHub, LDAP, etc.) to user accounts is now recorded.
- Authentication Provider Auditing: all administrative actions on auth providers (create, update, delete, reorder) are now fully audited with configuration change summaries.
- System Settings Auditing: any changes to global platform settings (auth mode, signup status, default users) are now tracked with before/after metadata.
- Session Auditing: viewing of active session lists and individual session event timelines is now recorded.
- Audit metadata now includes detailed context like search queries (
q), filter parameters, and updated keys for configuration changes.
- OIDC login page now shows brand icons for well-known providers (Google, Microsoft/Azure, GitHub, GitLab, Okta, Auth0, Keycloak, Authentik); unknown providers fall back to the generic icon
- Backend auto-detects the provider icon from the issuer URL when creating or updating an OIDC provider, with name/slug matching as fallback for self-hosted setups
Fixed
- Date and number formatting localization: removed hardcoded locales (
it-IT,en-US) from the frontend (SIEM, Search, Admin, etc.) to ensure the application automatically respects the user’s browser/system language settings. GET /api/v1/projects/data-availabilityreturnedlogs: [](and incorrect traces/metrics) whenSTORAGE_ENGINE=clickhouseormongodb; the endpoint now routes all three checks through the reservoir so they hit the correct backend
SigmaHQ Auto-Sync, Trace Links & Security Fixes
Daily auto-sync for SigmaHQ community rules, trace navigation from log detail panel, audit logs for alert rules, and security/robustness fixes for ingestion and admin endpoints.
- SigmaHQ rules auto-sync daily at 2:30 AM
- View Trace link in log detail panel when trace_id is present
- Audit log entries for alert rule create/update/delete
- Admin pagination capped at 200 to prevent oversized allocations
- NDJSON lines exceeding 1MB rejected with HTTP 400
- api_key_id removed from log metadata (information disclosure fix)
Added
- SigmaHQ auto-sync: SigmaHQ community rules now auto-sync daily at 2:30 AM for organizations that have existing community rules enabled.
- Trace link in log detail panel: The log detail panel now shows a “View Trace →” link that navigates directly to the trace timeline when a
trace_idis present in the log. - Audit logs for alert rules: Create, update, and delete operations on alert rules now generate audit log entries.
Fixed
- Admin pagination cap: The
limitparameter on admin list endpoints is now capped at 200, preventing oversized result set allocation. - NDJSON ingestion size limit: Individual lines exceeding 1 MB in NDJSON payloads are now rejected with HTTP 400 instead of being silently processed.
- Log metadata information disclosure:
api_key_idis no longer stored in log metadata. It was previously injected in v0.8.1 for exception log display but exposed sensitive data; the display now resolves the key name at read time instead.
Project Visibility in Errors & Storage Engine Fix
Project name display in error pages, API Key visibility in exception logs, and a fix for data-availability routing when using ClickHouse or MongoDB.
- All existing API Keys have been invalidated - regenerate your keys
- Project name shown in Exceptions list and error group detail pages
- API Key name visible in recent exception logs
- Data-availability endpoint now respects storage engine selection
- Search page project filter fixed for empty logs array
Breaking Changes
- All API Keys have been invalidated: All existing API Keys were deleted as part of this release. You must regenerate your API Keys from the dashboard and update your SDKs and ingestion clients accordingly.
Added
- Project visibility in Exceptions: The
/dashboard/errorslist and the individual error group detail pages now explicitly display the name of the project that generated the error. - API Key visibility in Exception logs: The recent logs tab within an error group detail page now displays the specific API Key name used to ingest the log. Ingestion now injects the
api_key_idinto log metadata.
Fixed
- Project data-availability ignoring storage engine:
GET /api/v1/projects/data-availabilitywas always querying the PostgreSQLlogstable via Kysely, returninglogs: []whenSTORAGE_ENGINEwas set toclickhouseormongodb. The logs check now usesreservoir.distinct()which routes to the correct storage backend. - Search page showing no projects when
logsis empty array: the project filter guardlogsProjectIds ?was truthy for[], filtering out all projects. Changed tologsProjectIds?.lengthso an empty array correctly falls back to showing all projects.
MongoDB Adapter, Browser SDKs & Metrics Dashboards
MongoDB storage adapter for @logtide/reservoir, browser and frontend SDKs with source maps and Core Web Vitals, and OTLP metrics dashboards with cross-signal correlation.
- MongoDB storage adapter for @logtide/reservoir
- Browser/Frontend SDKs with session tracking & source maps
- Core Web Vitals and network breadcrumbs
- OTLP Metrics rollups & Golden Signals (P50/P95/P99)
- Correlation across logs, traces, and metrics
Added
- Browser & Frontend SDK Enhancements - Sentry-level browser observability across all frontend framework SDKs.
- @logtide/browser: Dedicated browser SDK with session tracking, Web Vitals, and offline resilience.
- Source Maps:
@logtide/clifor source map uploads and backend un-minification service. - Frameworks: Deep integrations for Next.js, Nuxt, SvelteKit, and Angular.
- Metrics Dashboard & Rollups - Redesigned metrics page with pre-aggregated rollups for TimescaleDB and ClickHouse.
- MongoDB Storage Adapter - Full MongoDB backend for the
@logtide/reservoirstorage layer. - Golden Signals with Percentiles - P50/P95/P99 percentile aggregation across all storage engines.
- Smart Project Selectors - Dropdowns now only show projects that have data in the relevant category.
Optimized
- TimescaleDB Skip-Scan - Recursive CTEs for instant
distinctqueries on high-cardinality fields. - Intelligent Volume Estimation -
countEstimatesupport for instant dashboard loads on high-volume projects. - Batch Ingestion - Ordered-false inserts and tuned connection pools for maximum throughput.
- ClickHouse Projections - Faster query execution for common search patterns.
Fixed
- Internal Logging Plugin - Fixed DSN passing to
@logtide/fastifyfor self-monitoring. - Backend Self-Monitoring - Improved DSN construction and verbose startup logging.
- Docker Compose - Fixed missing environment variables and worker health check race conditions.
- Admin Dashboard - Fixed missing metrics series in platform activity chart.