Seq is a centralized structured logging platform that makes it easy to search, analyze, and alert on application log data. It's designed for modern .NET applications and microservices, providing real-time log ingestion, powerful query capabilities, and rich visualization features.
After deployment, you can access the following environment variables in other services:
SEQ_URL
: The URL to access your Seq instanceSEQ_SERVER_URL
: The internal server URL for applications to send logsSEQ_FIRSTRUN_ADMINUSERNAME
: The administrator username (default: admin)SEQ_FIRSTRUN_ADMINPASSWORD
: The administrator password (auto-generated)The following environment variables are used to configure Seq:
ACCEPT_EULA
: Must be set to "Y" to accept the Seq EULASEQ_API_CANONICALURI
: The external URI for API accessSEQ_FIRSTRUN_NOAUTHENTICATION
: Set to "True" to disable authentication on first runSEQ_FIRSTRUN_ADMINUSERNAME
: Administrator username (default: admin)SEQ_FIRSTRUN_ADMINPASSWORD
: Administrator passwordSEQ_FIRSTRUN_ADMINPASSWORDHASH
: Salted hash of administrator password (alternative to plain password)To send logs from your .NET applications to Seq, install the Serilog.Sinks.Seq package and configure it:
Log.Logger = new LoggerConfiguration()
.WriteTo.Seq("http://your-seq-url")
.CreateLogger();
For other platforms, check the Seq documentation for client libraries and integrations.
For production use, it's recommended to: