icon

Seq

A centralized structured logging platform for .NET applications and microservices.

template cover
Deployed7 times
Publisherleechenghsiu
Created2025-09-15
Services
service icon
Tags
LoggingMonitoringAnalytics

What is Seq?

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.

Key Features

  • Structured Logging: Native support for structured log events with properties and context
  • Real-time Search: Fast, full-text search across all log data with advanced filtering
  • Powerful Queries: SQL-like query language for complex log analysis
  • Dashboards & Alerts: Create custom dashboards and set up intelligent alerts
  • API Integration: REST API for programmatic access and integration
  • Multi-tenant: Support for multiple applications and environments

Environment Variables

After deployment, you can access the following environment variables in other services:

  • SEQ_URL: The URL to access your Seq instance
  • SEQ_SERVER_URL: The internal server URL for applications to send logs
  • SEQ_FIRSTRUN_ADMINUSERNAME: The administrator username (default: admin)
  • SEQ_FIRSTRUN_ADMINPASSWORD: The administrator password (auto-generated)

Configuration Environment Variables

The following environment variables are used to configure Seq:

  • ACCEPT_EULA: Must be set to "Y" to accept the Seq EULA
  • SEQ_API_CANONICALURI: The external URI for API access
  • SEQ_FIRSTRUN_NOAUTHENTICATION: Set to "True" to disable authentication on first run
  • SEQ_FIRSTRUN_ADMINUSERNAME: Administrator username (default: admin)
  • SEQ_FIRSTRUN_ADMINPASSWORD: Administrator password
  • SEQ_FIRSTRUN_ADMINPASSWORDHASH: Salted hash of administrator password (alternative to plain password)

Getting Started

  1. Deploy this template to get your Seq instance running
  2. Access the web interface using the provided URL
  3. Configure your applications to send logs to Seq
  4. Start exploring your structured log data

Connecting Your Applications

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.

Default Configuration

  • Authentication: Disabled by default for first run (SEQ_FIRSTRUN_NOAUTHENTICATION=True)
  • EULA: Automatically accepted (ACCEPT_EULA=Y)
  • Port: Web interface accessible on port 80

Security Note

For production use, it's recommended to:

  • Enable authentication after first setup
  • Configure API keys for secure access
  • Set up proper user management and permissions