The most popular method for logging to Seq is through an application logging library. If you are new to Seq, that's a good place to start.
Most languages and frameworks have existing logging libraries, or logging APIs.
If your application uses a logging library that has direct support for Seq, such as Serilog, Pino, Microsoft.Extensions.Logging and others, this is your best option. Head to the Logging Libraries section for recommendations on how to log to Seq from various libraries.
Otherwise, if your logging library supports popular formats and protocols like GELF (Graylog Extended Log Format) or Syslog, you can send logs in these formats to Seq by installing the appropriate Seq Input Apps in Settings > Apps.
Send logs directly to Seq using the HTTP ingestion API. Logs can be sent individually, or in batches.
Send logs to Seq using the
seqcli log command.
If you are a Windows user,
seqcli comes installed with Seq. On Linux and macOS,
seqcli must be downloaded separately.
Updated about a year ago