DocumentationDiscussions
DocumentationDiscussions

Discussions

Ask a Question
Back to All

Docker image for Windows volume

This is a continuation of https://docs.datalust.co/discuss/5d49af3c1f12320049b6f48f I have the Seq server running in a Windows container but it can only run stateless, meaning the log data is stored inside the container and any logs and signals are lost when the container stops. I configured the Seq server to use `C:\Data` as the log directory and when I start the container with a volume mapping it works the first time but if I start a new container with a previous volume it doesn't start. Log messages are... ## First Time ``` Starting Seq... Installing service... Creating a new configuration file in C:\ProgramData\Seq\Seq.json... [SC] CreateService SUCCESS Setting service restart policy... [SC] ChangeServiceConfig2 SUCCESS Setting service description... [SC] ChangeServiceConfig2 SUCCESS Service installed successfully. Starting Seq... Waiting up to 15 seconds for the service to start (currently: Stopped)... Started. Startup logs: {"@t":"2019-08-22T18:32:47.8412725Z","@mt":"Seq {SeqVersion} running on OS {OSCaption}","SeqVersion":"5.1.3118","OSCaption":"Microsoft ","SourceContext":"Seq.Server.Features.Diagnostics.EnvironmentInformationWriter"} {"@t":"2019-08-22T18:32:47.9008277Z","@mt":"Running in Windows Service host"} {"@t":"2019-08-22T18:32:49.3225371Z","@mt":"Seq listening on {ListenUris}","ListenUris":["http://localhost:5341/"]} {"@t":"2019-08-22T18:32:49.3861789Z","@mt":"Opening document store {DatabasePath}","DatabasePath":"C:\\Data\\Documents\\default.quince","InstanceName":"Quince","SourceContext":"Quince.Storage.Esent.EsentDocumentStore"} {"@t":"2019-08-22T18:32:49.4467101Z","@mt":"Creating new data file at {DatabasePath}","DatabasePath":"C:\\Data\\Documents\\default.quince","InstanceName":"Quince","SourceContext":"Quince.Storage.Esent.EsentDocumentStore"} {"@t":"2019-08-22T18:32:49.6315457Z","@mt":"Opening event store at {ExtentsPath}","ExtentsPath":"C:\\Data\\Extents","SourceContext":"Flare.Events.EventStore"} {"@t":"2019-08-22T18:32:49.6320081Z","@mt":"Available storage engines in order of preference are {Engines}","Engines":["FLARE","ESENT","LMDB"],"SourceContext":"Flare.Events.EventStore"} {"@t":"2019-08-22T18:32:49.7645342Z","@mt":"Creating {SchemaVersions} table","SchemaVersions":"SchemaVersions","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:49.8057342Z","@mt":"Applying migration {MigrationName}","MigrationName":"Prevent unsupported v1.x upgrades","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:49.8277781Z","@mt":"Applying migration {MigrationName}","MigrationName":"Create the built-in roles","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:49.8550385Z","@mt":"Applying migration {MigrationName}","MigrationName":"Assign roles to existing users","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:49.8612245Z","@mt":"Applying migration {MigrationName}","MigrationName":"Check for App instances without Apps","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:49.8743253Z","@mt":"Applying migration {MigrationName}","MigrationName":"Create the server license","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:49.8815886Z","@mt":"Applying migration {MigrationName}","MigrationName":"Create the Administrator account","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:49.9062482Z","@mt":"Applying migration {MigrationName}","MigrationName":"Configure the public NuGet feed","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:49.9214646Z","@mt":"Applying migration {MigrationName}","MigrationName":"Store the default system configuration","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:49.9307087Z","@mt":"Applying migration {MigrationName}","MigrationName":"Ensure the license supports this version - 5.1.3118.0","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:49.9715524Z","@mt":"Applying migration {MigrationName}","MigrationName":"Ensure the default system configuration has an id","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:49.9787298Z","@mt":"Applying migration {MigrationName}","MigrationName":"Apply master key to app settings","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:49.9833334Z","@mt":"Applying migration {MigrationName}","MigrationName":"Re-encrypt NuGet feed passwords with portable key","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:49.9923523Z","@mt":"Applying migration {MigrationName}","MigrationName":"Configure default SQL queries","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.0199736Z","@mt":"Applying migration {MigrationName}","MigrationName":"Make default queries visible to all users","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.0522565Z","@mt":"Applying migration {MigrationName}","MigrationName":"Configure default signals","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.0691985Z","@mt":"Applying migration {MigrationName}","MigrationName":"Make default signals visible to all users","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.0892630Z","@mt":"Applying migration {MigrationName}","MigrationName":"Map user accounts to the default AD domain, if one is configured","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.0930953Z","@mt":"Applying migration {MigrationName}","MigrationName":"Check for early preview chart format and update","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.1002407Z","@mt":"Applying migration {MigrationName}","MigrationName":"Migrate charts to new dashboards","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.1104620Z","@mt":"Applying migration {MigrationName}","MigrationName":"Create the shared overview dashboard","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.1540764Z","@mt":"Applying migration {MigrationName}","MigrationName":"Create the default API key","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.1627956Z","@mt":"Applying migration {MigrationName}","MigrationName":"Migrate pins to permalinks","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.1660761Z","@mt":"Applying migration {MigrationName}","MigrationName":"Convert app instance input to signal expression","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.1818515Z","@mt":"Applying migration {MigrationName}","MigrationName":"Convert retention policy target to signal expression","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.1858537Z","@mt":"Applying migration {MigrationName}","MigrationName":"Convert dashboard chart signals to expressions","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.3422755Z","@mt":"Applying migration {MigrationName}","MigrationName":"Convert default signal ids to expression","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.3456080Z","@mt":"Applying migration {MigrationName}","MigrationName":"Apply groupings to initial signals","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.3786099Z","@mt":"Applying migration {MigrationName}","MigrationName":"Show built-in signals to new users upon creation","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.3915736Z","@mt":"Applying migration {MigrationName}","MigrationName":"Completely remove obsolete email app instances","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.3969741Z","@mt":"Applying migration {MigrationName}","MigrationName":"Rename `Signal.IsRestricted` to `IsProtected`","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.4144857Z","@mt":"Applying migration {MigrationName}","MigrationName":"Update existing API keys to store hashes","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.4215118Z","@mt":"Applying migration {MigrationName}","MigrationName":"Convert API key configuration to permissions","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.4459308Z","@mt":"Applying migration {MigrationName}","MigrationName":"Embed permalinked events in permalink documents","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.4506854Z","@mt":"Applying migration {MigrationName}","MigrationName":"Assign index ids to signals","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.4546186Z","@mt":"Applying migration {MigrationName}","MigrationName":"Pre-existing dashboards are protected by default","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.4634828Z","@mt":"Setting protected flag on {DashboardId}","DashboardId":"dashboard-14"} {"@t":"2019-08-22T18:32:50.4657854Z","@mt":"Applying migration {MigrationName}","MigrationName":"Create retention policy bookmarks","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.4692027Z","@mt":"Applying migration {MigrationName}","MigrationName":"User default workspace reflects earlier view","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.4735379Z","@mt":"Creating default workspace for {UserId}","UserId":"user-admin"} {"@t":"2019-08-22T18:32:50.4807465Z","@mt":"Applying migration {MigrationName}","MigrationName":"New user defaults include shared dashboards","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.4859938Z","@mt":"Applying migration {MigrationName}","MigrationName":"Update app invocation control properties","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.4908765Z","@mt":"Applying migration {MigrationName}","MigrationName":"Extend the built-in roles","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.4970124Z","@mt":"Applying migration {MigrationName}","MigrationName":"Set the default roles for new users","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.5012615Z","@mt":"Applying migration {MigrationName}","MigrationName":"Personal dashboards are never protected","SourceContext":"Quince.Storage.Esent.Migration.Migrator","InstanceName":"Quince"} {"@t":"2019-08-22T18:32:50.5061623Z","@mt":"Storage subsystem available"} ``` ## Second Time ``` Starting Seq... Installing service... Creating a new configuration file in C:\ProgramData\Seq\Seq.json... [SC] CreateService SUCCESS Setting service restart policy... [SC] ChangeServiceConfig2 SUCCESS Setting service description... [SC] ChangeServiceConfig2 SUCCESS Service installed successfully. Starting Seq... Waiting up to 15 seconds for the service to start (currently: Stopped)... Started. Startup logs: {"@t":"2019-08-22T18:33:32.1290539Z","@mt":"Seq {SeqVersion} running on OS {OSCaption}","SeqVersion":"5.1.3118","OSCaption":"Microsoft ","SourceContext":"Seq.Server.Features.Diagnostics.EnvironmentInformationWriter"} {"@t":"2019-08-22T18:33:32.1920393Z","@mt":"Running in Windows Service host"} ```

Suggestion: Last X minutes / hours / days for FROM time in Query view

Would be nice to have ability to set dynamic time range in the query view - similar to Splunk / Kibana.

Suggestion: Signal Editing

Hi, Just a small suggestion...currently when you edit a signal (i.e. click the 'pen') it opens the signal query in a multiline text box. When you click on the multiline text box to begin editing it changes to a single line textbox which can make it difficult to edit larger queries. It would be good if it remained multiline whilst actually typing and editing the query until 'OK' is pressed. Thanks, Paul

Show Events On Dashboard

I'd like to create a dashboard for each of my applications, with a few key graphs (Warnings/Exceptions count today, this week, this month) and then I'd also like to see the complete list of events for that app (each app has structured data property that I can filter by). Is this possible?

Switching from Seq to log file

I've been scanning some resource if it possible, could not find any. Could this be possible during runtime or does the application needs a restart? How to achieve the switching via config or code? Thanks in advance.

Working with message templates with SQELF

Hello, is it possible to use message templates for log entries received through SQELF? We are sending log events from PHP through SQELF to Seq. The GELF message sent to SQELF looks something like this ``` { "host": "be9b1da8f577", "shortMessage": "Current time {currentTime}", "fullMessage": null, "timestamp": 1565939046.7662, "level": 6, "facility": "application", "file": "/var/www/mytest.php", "line": 23, "additionals": [ { "function": "include" }, { "currentTime": "Fri, 16 Aug 2019 09:43:50 +0200" } ] } ``` The raw JSON from the Seq Event looks like this ``` { "@t": "2019-08-16T07:43:50.9420000Z", "@mt": "Current time {{currentTime}}", "@m": "Current time {currentTime}", "@i": "cf10d5c1", "line": 23, "function": "include", "facility": "application", "file": "/var/www/mytest.php", "host": "be9b1da8f577", "currentTime": "Fri, 16 Aug 2019 09:43:50 +0200", "sessionId": "oj37os7dvnk18c4i1g10e5jf47" } ``` The event shows up in Seq like `Current time {currentTime}` in Seq. I would expect it to show up like ` Current time Fri, 16 Aug 2019 09:43:50 +0200`. For what I can see, it seems that `currentTime` token is escaped by `{{` in the `@mt` property of the raw event. So how to make Seq display messages correctly?

SEQ in Azure

Hi, the recommended server image here, https://docs.datalust.co/docs/azure-installation, is the 'Windows Server 2016 Datacenter' image. Would that still be the case or would it now be the 'Windows Server 2019 Datacenter' image?

[Serilog Log Level Switch] Will the application be sending unwanted levels?

If the admin changes the logging switch from information to error, will the application that calls logger.information be executed and sent over the network? Will it only be ignored by the server?

The Seq Service stops randomly

Seq Server has been terminated randomly couple of weeks. There is a plenty of space for storing the logs . It has .Net 4.6 installed. Here is the log from even viewer Faulting application name: seq.exe, version: 0.0.0.0, time stamp: 0x5c65fa1e Faulting module name: flare.dll, version: 0.0.0.0, time stamp: 0x5cf9ff0c Exception code: 0xc00000fd Fault offset: 0x000000000003969d Faulting process id: 0x75e0 Faulting application start time: 0x01d552b8a4e97a0d Faulting application path: C:\Program Files\Seq\seq.exe Faulting module path: C:\Program Files\Seq\Native\flare.dll Report Id: 509cfd4c-c313-4473-bb11-ffcef70305af Faulting package full name: Faulting package-relative application ID: The Seq service terminated unexpectedly. It has done this 4 time(s).

Email events with another backlink to Seq than listening one

We have Seq listening on default url http://localhost:5341 in local network. We redirect http://gatewayAddress/seq/ on public gateway to http://seqComputerName:5341 so Seq is available via gateway. Is there a way to have backlinks to Seq events sent via email+ app with gateway public address instead of localhost one. I do not see a way to do it using the current documentation: https://docs.datalust.co/docs/urls Thank you

Windows 7 Installation

I understand the system requirements call for Window 8.1+, but our application is requiring Windows 7 due to customer hardware constraints. Installing on a Windows 7 SP1 machine is successful, but am presented with the following error when browsing Seq: {"Error":"Seq is unavailable. Failed to initialize storage: Unable to load DLL 'Native\\flare.dll' or one of its dependencies: The specified procedure could not be found. (Exception from HRESULT: 0x8007007F)"} Does there exist addition redistributables/software that need to be installed, or is it even possible to run on Windows 7? Thanks

seq does not satrtup

Hi, I have installed seq, but when i try to browse seq it tries to download a file 5341, i am not sure what i am missing here. here is the logs i get {"@t":"2019-08-12T15:10:31.7965882Z","@mt":"Seq {SeqVersion} running on OS {OSCaption}","SeqVersion":"5.1.3118","OSCaption":"Microsoft Windows 7 Enterprise ","SourceContext":"Seq.Server.Features.Diagnostics.EnvironmentInformationWriter"} {"@t":"2019-08-12T15:10:31.8495935Z","@mt":"Running in Windows Service host"} {"@t":"2019-08-12T15:10:32.7126798Z","@mt":"Seq listening on {ListenUris}","ListenUris":["http://localhost:5341/"]} {"@t":"2019-08-12T15:10:32.7366822Z","@mt":"Uncaught exception from worker {WorkDescription} ({WorkId})","@l":"Error","@x":"Autofac.Core.DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = TelemetryController (ReflectionActivator), Services = [Seq.Server.Features.Telemetry.TelemetryController], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = SystemSettings (ReflectionActivator), Services = [Seq.Server.Features.Settings.SystemSettings], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = IDocumentStore (DelegateActivator), Services = [Quince.IDocumentStore], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = StorageSubsystem (DelegateActivator), Services = [Seq.Server.Storage.StorageSubsystem], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> Unable to load DLL 'Native\\flare.dll' or one of its dependencies: The specified procedure could not be found. (Exception from HRESULT: 0x8007007F) (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) ---> Autofac.Core.DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = SystemSettings (ReflectionActivator), Services = [Seq.Server.Features.Settings.SystemSettings], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = IDocumentStore (DelegateActivator), Services = [Quince.IDocumentStore], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = StorageSubsystem (DelegateActivator), Services = [Seq.Server.Storage.StorageSubsystem], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> Unable to load DLL 'Native\\flare.dll' or one of its dependencies: The specified procedure could not be found. (Exception from HRESULT: 0x8007007F) (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) ---> Autofac.Core.DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = IDocumentStore (DelegateActivator), Services = [Quince.IDocumentStore], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = StorageSubsystem (DelegateActivator), Services = [Seq.Server.Storage.StorageSubsystem], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> Unable to load DLL 'Native\\flare.dll' or one of its dependencies: The specified procedure could not be found. (Exception from HRESULT: 0x8007007F) (See inner exception for details.) (See inner exception for details.) ---> Autofac.Core.DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = StorageSubsystem (DelegateActivator), Services = [Seq.Server.Storage.StorageSubsystem], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> Unable to load DLL 'Native\\flare.dll' or one of its dependencies: The specified procedure could not be found. (Exception from HRESULT: 0x8007007F) (See inner exception for details.) ---> System.DllNotFoundException: Unable to load DLL 'Native\\flare.dll' or one of its dependencies: The specified procedure could not be found. (Exception from HRESULT: 0x8007007F)\r\n at Flare.Storage.Native.Bindings.flare_init(IntPtr logPath, UIntPtr logPathLen)\r\n at Flare.Storage.Engine.Initialize(String logFilePath)\r\n at Seq.Server.SeqServerModule.InitStorageSubsystem(IComponentContext c)\r\n at Autofac.Builder.RegistrationBuilder.<>c__DisplayClass0_0`1.<ForDelegate>b__0(IComponentContext c, IEnumerable`1 p)\r\n at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)\r\n at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget)\r\n --- End of inner exception stack trace ---\r\n at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget)\r\n at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator)\r\n at Autofac.Core.Resolving.InstanceLookup.Execute()\r\n at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)\r\n at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)\r\n at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)\r\n at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context, IEnumerable`1 parameters)\r\n at Seq.Server.SeqServerModule.<>c.<Load>b__14_10(IComponentContext c)\r\n at Autofac.Builder.RegistrationBuilder.<>c__DisplayClass0_0`1.<ForDelegate>b__0(IComponentContext c, IEnumerable`1 p)\r\n at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)\r\n at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget)\r\n --- End of inner exception stack trace ---\r\n at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget)\r\n at Autofac.Core.Resolving.InstanceLookup.Execute()\r\n at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)\r\n at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()\r\n at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)\r\n at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget)\r\n --- End of inner exception stack trace ---\r\n at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget)\r\n at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator)\r\n at Autofac.Core.Resolving.InstanceLookup.Execute()\r\n at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)\r\n at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()\r\n at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)\r\n at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget)\r\n --- End of inner exception stack trace ---\r\n at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget)\r\n at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator)\r\n at Autofac.Core.Resolving.InstanceLookup.Execute()\r\n at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)\r\n at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters)\r\n at Autofac.Features.LazyDependencies.LazyRegistrationSource.<>c__DisplayClass5_1`1.<CreateLazyRegistration>b__1()\r\n at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)\r\n at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)\r\n at System.Lazy`1.CreateValue()\r\n at Seq.Server.ServiceProcess.ServerService.<Start>b__13_0(CancellationToken cancel)\r\n at Flare.Workers.WorkerPool.<>c__DisplayClass4_0.<Run>g__DoWork|0()","WorkDescription":"Start background processes","WorkId":"eaa2fad2-431d-4fe3-b7d2-67da6ee818a9","SourceContext":"Flare.Workers.WorkerPool"}

Adding Properties to NLog.Seq Target

Is it possible to dynamically update the NLog.Seq Target to add/remove a property that should be added/removed from subsequent logging calls? Example would be, I'm running a uniquely identified Test, and I want all log entries from the system to use the current Test Id. Is there someway to update NLog.Seq target to automatically include the Id in logged events? Conversely, is there a way to remove a property? Continuing the example above, is there a way to remove the Id from the NLog.Seq target so it is no longer added to logged events? Thanks

Docker image for Windows

Hello, I am trying to create a Docker image for Windows. I can get Seq installed and if I exec into the container I can start Seq and it runs. If I try to run "seq.exe" using the CMD instruction it does not work. When I run seq.exe inside the container I get this... Running as server; press Ctrl+C to exit. [11:45:40 INF] Seq "5.1.3118" running on OS "Microsoft " [11:45:41 INF] Seq listening on ["http://localhost:5341/"] [11:45:41 INF] Opening document store "C:\\Data\\Documents\\default.quince" [11:45:41 INF] Creating new data file at "C:\\Data\\Documents\\default.quince" [11:45:41 INF] Opening event store at "C:\\Data\\Extents" [11:45:41 INF] Available storage engines in order of preference are ["FLARE", "ESENT", "LMDB"] [11:45:42 INF] Creating "SchemaVersions" table [11:45:42 INF] Applying migration "Prevent unsupported v1.x upgrades" [11:45:42 INF] Applying migration "Create the built-in roles" [11:45:42 INF] Applying migration "Assign roles to existing users" [11:45:42 INF] Applying migration "Check for App instances without Apps" [11:45:42 INF] Applying migration "Create the server license" [11:45:42 INF] Applying migration "Create the Administrator account" [11:45:42 INF] Applying migration "Configure the public NuGet feed" [11:45:42 INF] Applying migration "Store the default system configuration" [11:45:42 INF] Applying migration "Ensure the license supports this version - 5.1.3118.0" [11:45:42 INF] Applying migration "Ensure the default system configuration has an id" [11:45:42 INF] Applying migration "Apply master key to app settings" [11:45:42 INF] Applying migration "Re-encrypt NuGet feed passwords with portable key" [11:45:42 INF] Applying migration "Configure default SQL queries" [11:45:42 INF] Applying migration "Make default queries visible to all users" [11:45:42 INF] Applying migration "Configure default signals" [11:45:42 INF] Applying migration "Make default signals visible to all users" [11:45:42 INF] Applying migration "Map user accounts to the default AD domain, if one is configured" [11:45:42 INF] Applying migration "Check for early preview chart format and update" [11:45:42 INF] Applying migration "Migrate charts to new dashboards" [11:45:42 INF] Applying migration "Create the shared overview dashboard" [11:45:42 INF] Applying migration "Create the default API key" [11:45:42 INF] Applying migration "Migrate pins to permalinks" [11:45:42 INF] Applying migration "Convert app instance input to signal expression" [11:45:42 INF] Applying migration "Convert retention policy target to signal expression" [11:45:42 INF] Applying migration "Convert dashboard chart signals to expressions" [11:45:42 INF] Applying migration "Convert default signal ids to expression" [11:45:42 INF] Applying migration "Apply groupings to initial signals" [11:45:42 INF] Applying migration "Show built-in signals to new users upon creation" [11:45:42 INF] Applying migration "Completely remove obsolete email app instances" [11:45:42 INF] Applying migration "Rename `Signal.IsRestricted` to `IsProtected`" [11:45:42 INF] Applying migration "Update existing API keys to store hashes" [11:45:42 INF] Applying migration "Convert API key configuration to permissions" [11:45:42 INF] Applying migration "Embed permalinked events in permalink documents" [11:45:42 INF] Applying migration "Assign index ids to signals" [11:45:42 INF] Applying migration "Pre-existing dashboards are protected by default" [11:45:42 INF] Setting protected flag on "dashboard-14" [11:45:42 INF] Applying migration "Create retention policy bookmarks" [11:45:42 INF] Applying migration "User default workspace reflects earlier view" [11:45:42 INF] Creating default workspace for "user-admin" [11:45:42 INF] Applying migration "New user defaults include shared dashboards" [11:45:42 INF] Applying migration "Update app invocation control properties" [11:45:42 INF] Applying migration "Extend the built-in roles" [11:45:42 INF] Applying migration "Set the default roles for new users" [11:45:42 INF] Applying migration "Personal dashboards are never protected" [11:45:42 INF] Storage subsystem available If I run the SAME command and try to run the container detached I get this... Running as server; press Ctrl+C to exit. [11:46:44 INF] Seq "5.1.3118" running on OS "Microsoft " [11:46:45 INF] Seq listening on ["http://localhost:5341/"] And then the container exits.

Is it possible to archive seq log files using nlog configuration?

Hi! I use datalus/seq container with mapped volume "/data" on linux host. There are a lot of seq-x.log files. I would like to archive files older than 7 days. Is it possible to confgure it like example below? <target name="file" xsi:type="File" layout="${longdate} ${logger} ${message}" fileName="${basedir}/logs/logfile.txt" archiveFileName="${basedir}/archives/log.{#}.txt" archiveEvery="Day" archiveNumbering="Rolling" maxArchiveFiles="7" concurrentWrites="true" keepFileOpen="false" encoding="iso-8859-2" /> Greeting, thanks in advance for your response.

Is there any way to display log events that triggered an alert?

Hi, I have set up a dashboard and some alerts for my project. The alerts itself work just fine. However, it is not obvious how to display log events that actually triggered the alert. Results contain something like: Results [] 2019-08-05T22:29:38.1656332Z [[2]] However, I do not care about any aggregations, I would rather see the log events themselves. Is there any way to achieve that?

SEQ, Serilog and mssing events. Due to threading?

Hi guys. Not sure if this is the right place to ask this question so feel free to kick me off to StackOverflow or Github My issue is this. I have a webservice running a job a few times a day. When invoked the service simply returns ok to the client and starts the job in a separate thread. The thread creates a custom logger and performs its magic just fine... Well almost. It logs a few statements but these are not always showing up in SEQ. Sometimes all statement show up but other times one or all of them are missing. I guess it has something to due with threading and maybe the logging object being disposed before (or while) statements are being synchronized by the SEQ sink? Can you guys point me towards some best-practices regarding serilog/seq and threading? We have a few services/applications that works like this and I need to find an approach so I know my statements will arrive :-) Thank you so much in advance. Have an awesome day Regards Kenneth

Seq auth

Can you set up azure active directory from the seq auth cmd line ?

Seq Docker image on Azure: Which path to take?

Hello all, I am trying to replace our Seq VM on Azure with the docker equivalent. I managed to get it up and running using Azure Container Instances (including persisted storage and all) but failed to figure out how to run the seq cmdline (e.g. `seq show-key` etc.). The `az container exec` fails since seq is not in the bash path and it seems the `exec` command is not working like `docker run` in that regard. Is Azure Container Instances the right approach at all, or need I set up the docker image using Azure Kubernetes Service to get access to the Seq Docker image command line?

Can't download latest version

When I try to download the latest version I get an error that says HTTP response was too large: 57299332. The limit is: 33554432. I've tried both Edge and Chrome and neither work. I can download the previous version. A friend showed this to me and I'd love to use it to view my Log4Net logs.