Skip to content
Last update: February 1, 2024

Seq log module

Seq is a log management solution that complements logging libraries like Serilog and Application Insights. It provides a centralized platform for storing, searching, and analyzing log data. While Application Insights is a log management and monitoring service offered by Microsoft Azure, Seq can be used as an alternative if you're not using the Azure platform or if you prefer a different log management solution.

Seq allows you to centralize and analyze log data generated by various logging libraries and frameworks. Seq provides a web-based interface for searching, filtering, and visualizing log events, making it easier to monitor and troubleshoot applications.

Readmore Seq overview

The VC platform Seq module comes with a sink for Serilog that writes events to Seq.

To enable logging:

  1. Download the Seq module.

  2. Update the following Serilog configuration sections:

appsettings.json
{
  "Serilog": {
    "Using": [
      ...
      "Serilog.Sinks.Seq"
    ],
    "WriteTo": [
      {
        "Name": "Seq", 
        "Args": {
          "apiKey": "[your api key]",
          "serverUrl": "http://localhost:5341"
        }
      }
    ],
    ...
  },
}

Readmore Comparison of Seq and Application Insights solutions