Developer guide

Embedded log viewer & tiered storage

Mount ArgusLogs.UI at /argus-logs, stream SQLite hot-tier records, and inspect traces with KQL — no external dashboard required.

Tutorials are hands-on walkthroughs (prerequisites, install, configuration, code, expected result, explanation, then next steps). Official reference stays in documentation — this is not a full docs clone.

Section 1 of 5 Embedded UI

Why embedded diagnostics

ArgusLogs.UI ships a zero-dependency embedded log viewer you mount on your ASP.NET Core app — typically at /argus-logs. Pair it with ArgusLogs.TieredStorage to query the SQLite hot tier in real time while Parquet archives roll to cold storage.

  • No Grafana, Seq, or ELK stack required for day-one forensics.
  • Reads JSON lines, JSON arrays, and TieredStorage SQLite (.db) files automatically.
  • Built-in KQL-style search, histogram, facets, and live tail mode.
  • Honors ArgusLogs licensing — same key as the core engine.

How the pieces connect in your host app

  1. ASP.NET Core hostAddArgus + UseArgus middleware capture traces
  2. TieredStorage sinkSQLite hot tier (LogRecords table incl. UserId column)
  3. ArgusLogs.UIEmbedded viewer at /argus-logs reads hot tier + JSON logs