sqlinsight-pro/src/SQLInsight.Repository/Migrations
Søren Eggert Lundsteen Olsen e6840e40d7 SQL Server error log without elevated rights (8a)
A five-minute collector reads important error log entries from the best
source the agent's rights allow: the error log itself (xp_readerrorlog,
only with securityadmin), the default trace's ErrorLog and Audit Login
Failed events (optional ALTER TRACE), or the exception and connectivity
ring buffers (VIEW SERVER STATE: numbers and severity, failed logins).
Repetitions are summed per error; the watermark is the newest entry
read, because the default trace is buffered. Stored in
insight.ErrorLogEvents (migration 0013, EventDays), resumed after restart.

Rules SQLI-LOG-001..006: corruption 823/824/825, I/O over 15 s (833),
severe errors (17+), login failure bursts (configurable), stack dumps and
AG errors; rules needing the log text are "not measurable" with the
right to grant. Page /instanser/{navn}/fejllog (menu Overvågning) and
GET /api/v1/instances/{name}/error-log with messages redacted.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-02 10:30:41 +02:00
..
0001_initial.sql Fase 1: local repository with finding tracking, time series and retention 2026-09-29 06:23:38 +00:00
0002_hub_sync.sql Fase 3: findings sync from agent to hub (queue, retry, data minimization) 2026-09-29 08:35:22 +00:00
0003_update_status.sql Fase 3: signed updates of rule packs and the application 2026-09-29 09:19:41 +00:00
0004_hub_insights.sql Fase 4: experience across customers 2026-09-29 10:33:37 +00:00
0005_support_cases.sql Customers file support cases in SQLInsight Web and follow their status 2026-10-01 11:34:06 +02:00
0006_query_stats.sql Top SQL: collect what the heaviest statements use every 5 minutes 2026-10-01 15:46:45 +02:00
0007_disk_volumes.sql Disk speed per drive: IOPS, MB/s and latency 2026-10-02 08:03:11 +02:00
0008_configuration_changes.sql Configuration page with change log 2026-10-02 08:12:26 +02:00
0009_privilege_changes.sql Privilege audit: sysadmin and server roles with AD unfolding 2026-10-02 08:39:56 +02:00
0010_active_wait_samples.sql Wait type drill-down with active session sampling 2026-10-02 08:50:31 +02:00
0011_long_operations.sql Long operations, full-text rules and statement activity 2026-10-02 09:07:29 +02:00
0012_support_close.sql Support cases through the API: create, read and close 2026-10-02 09:47:58 +02:00
0013_error_log.sql SQL Server error log without elevated rights (8a) 2026-10-02 10:30:41 +02:00