Questions tagged [seq-logging]

Seq is a log server that runs on a Windows server or Docker container. Applications send structured events to Seq over HTTPS using a logging framework like Serilog. Seq displays the events and makes them searchable. Questions about using or configuring Seq itself, or configuring applications and logging frameworks to use it, should have this tag.

Seq is a self-hosted platform for application diagnostics and monitoring.

Seq is a web application with a browser-based UI. It is distributed as an MSI for Windows and as a Linux-based image for Docker.

Seq screenshot showing events and query example

Applications use Seq for:

  • centralizing application logs so that they don't have to be retrieved from individual machines,
  • managing JSON-formatted structured logs, so that logs can be searched and analyzed without pre-processing using regular expressions,
  • analyzing and charting structured logs to find patterns and anomalies, and
  • integrating structured log data into other systems, for example alerting through email, Slack or Microsoft Teams.

The Seq documentation is the primary source of usage information for Seq. Seq bugs and feature requests are tracked on GitHub.

Plug-ins for individual logging frameworks, such as the Serilog sink for Seq, the NLog target for Seq, and Pino stream for Seq generally have their own README, issue tracker, and other documentation.

49 questions
2
votes
1 answer

Why are some Serilog events from AWS lambda not arriving at Seq?

I'm using Serilog and Serilog.Sinks.Seq to send events to Seq. Some events are arriving in the Seq log, but some are missing. How can I ensure that all events sent during execution of my Lambda function arrive in Seq?
liammclennan
  • 5,295
  • 3
  • 34
  • 30
2
votes
0 answers

How to send logger information to seq

I sent my logger information into 'seq' module. I have: _log_format = f"%(asctime)s - [%(levelname)s] - request_id=%(request_id)s - %(name)s - (%(filename)s).%(funcName)s(%(lineno)d) - %(message)s" logger.info("Hello, {name}", name="world") As…
SergeyS
  • 59
  • 3
2
votes
0 answers

Running Seq from the command line results in a HttpSysException "Access is denied"

When I try to run Seq from a regular command line as a normal user seq run --nologo --listen="http://localhost:5435/" --storage="C:\\temp\\Seq" I get the following exception Running as server; press Ctrl+C to exit. [23:36:16 INF] Seq "5.1.3364"…
bitbonk
  • 48,890
  • 37
  • 186
  • 278
2
votes
0 answers

Seq serilog specify/override the log serialization

Looking at the SEQ Serilog documentation and there is documentation on destructuring and creating custom ITextFormatter which seems like the place to start, but I would like to know if and how it would be possible to change the underlying log…
Robin Michael
  • 23
  • 1
  • 2
  • 3
2
votes
1 answer

Seq API: Authenticating using Integrated Security?

Without authentication enabled on my Seq instance, I'm perfectly able to work with it from powershell, that is, the following just works: Invoke-RestMethod "https://myseqinstance/api/dashboards?shared" However, now that I've enabled Active Directory…
Leon Bouquiet
  • 4,159
  • 3
  • 25
  • 36
2
votes
1 answer

Serilog Seq Sink with Docker is not capturing events

I am running a web api and console apps on Net Core 3.1 on Windows 10 Professional. I have sinks for console, text file, json file, mssql, and seq. They each log all events, except seq does not log any event. I installed Docker with the following…
David Stevens
  • 173
  • 1
  • 1
  • 8
2
votes
0 answers

Transfer Serilog to Seq or file using USB connection to mobile phone?

I am using Xamarin (Xamarin.Android, but also looking for a solution for Xamarin.iOS) on Android and Serilog. Currently I am logging to a file liks this: Log.Logger = new LoggerConfiguration() .MinimumLevel.Debug() // minimum log level that will…
stefan.at.kotlin
  • 15,347
  • 38
  • 147
  • 270
2
votes
1 answer

Enrich Seq log statements with properties without also including them in the message line (using Serilog)

I am using Serilog with Seq and want to enrich the logging that appears in Seq with my own properties. If I enter a log statement like... Log.Information("ProcessCycle {Site} {Activity}", SiteName, ActivityName); In Seq I get... Notice the Site…
John Livermore
  • 30,235
  • 44
  • 126
  • 216
2
votes
1 answer

How to configure Serilog in Web Api 2 with OData v4

I am a beginner. I want to know how to Configure Serilog in RestApi to write logs to Seq. What should be the configurations in webapiconfig and Controller. and How to write log event for the same
user8226019
2
votes
2 answers

Seq API key issues

We are currently adopting Serilog & Seq - amazing products so far, by the way - and the following API key related questions arose (I think they are quite closely related and concise so I'd rather post them together): Is there any property…
jnovo
  • 5,659
  • 2
  • 38
  • 56
2
votes
1 answer

Serilog Seq Sink not always capturing events

I'm running Seq on an Azure instance (Windows Server 2012 R2 Datacenter) and logging with Serilog from a console application running on my local workstation. I have 3 sinks configured - File, Console and Seq. I'm also running on dnxcore50 (just in…
Colin Young
  • 3,018
  • 1
  • 22
  • 46
1
vote
1 answer

How to set up Seq logging Dashboard for a particular event with Timing information?

I am using Seq logging in my .NET application. I have the blow log appearing multiple times, Execute Owin configuration completed in 56.1 ms The time varies for each time the app starts up. The timing info is available as a property in Properties…
tRuEsAtM
  • 3,517
  • 6
  • 43
  • 83
1
vote
1 answer

How do I add more level colors to the SEQ website

The SEQ instance we are using only has 3 level color distinctions - Errors = red Warnings = yellow Everything else = no color According to the following link, there should be an option under "Settings > Theme" to add custom CSS which I could use to…
A Bogus
  • 3,852
  • 11
  • 39
  • 58
1
vote
1 answer

Unable to deploy datalust/seq to Google Cloud Run

Please I have been trying to deploy Seq on google cloud run but every attempt failed with the error below. The user-provided container failed to start and listen on the port defined provided by the PORT=5341 environment variable. No matter what port…
1
vote
1 answer

NLog formatting as JSON using BeginScope

How do you get NLog to format data as JSON when using ILogger.BeginScope? It appears the the @ symbol is ignored, or just not coded to work with begin scope? ref documentation I've tried every combination I can think of and they all result in the…
TugboatCaptain
  • 4,150
  • 3
  • 47
  • 79