DocumentationDiscussions
DocumentationDiscussions

Discussions

Ask a Question
Back to All

Unableto use pvc in Kubernetes

I'm trying out Seq and have installed it in AKS. Things work fine with an ephemeral datastore, but when I configure /data to be a PersistentVolume (using pvc) seq refuse to start. The log says: ``` [12:06:27 INF] Seq "5.1.3200" running on OS "Linux 4.15.0-1056-azure #61-Ubuntu SMP Fri Aug 16 02:17:38 UTC 2019" [12:06:28 INF] Seq listening on ["http://localhost/", "http://localhost:5341/"] [12:06:28 INF] Opening document store "/data/Documents/documents.lmdb" [12:06:29 INF] Opening event store at "/data/Extents" [12:06:29 INF] Available storage engines in order of preference are ["FLARE"] [12:06:29 INF] Applying migration "Create the built-in roles" [12:06:29 INF] Applying migration "Create the server license" [12:06:29 INF] Applying migration "Create the Administrator account" [12:06:29 INF] Applying migration "Configure the public NuGet feed" [12:06:29 INF] Applying migration "Store the default system configuration" [12:06:29 INF] Applying migration "Ensure the license supports this version" [12:06:29 INF] Closing document store [12:06:29 INF] Closing event store [12:06:29 ERR] Uncaught exception from worker "Start background processes" ("f0516384-e1e6-4d2a-aadd-94ea4fa8b0b4") ... ``` And further down the stacktrace: ``` ---> Quince.NotFoundException: A document with id `license-server` was not found. ``` I've verified that seq writes data to the pvc, but I cannot find a license file

how to make funnel visualization in seq?

Hello, I am puzzled by how to plot a funnel chart for events.Are there any applications for this ?

Should I limit memory usage for the Seq container?

Hi, I noticed I was getting errors related to memory usage (same as this issue: https://github.com/datalust/seq-tickets/issues/835). On about 4GB of RAM, Seq was using a bit over 3GB and was logging the memory allocation error. I have sinced upped the RAM to 8GB and Seq is now using 3.8GB and not logging memory allocation errors anymore. Question is: is this kind of memory usage normal? Should I be limiting the available memory to the container? Thanks, Yohan

Query equivalent for COALESCE

Hi! Is there a function equivalent to SQL's COALESCE? It can be useful, for example, in case you have an aggregate operator (like mean) grouped by time, during which one interval might not have any event, so I would like it to return 0 instead.
ANSWERED

Query equivalent for COALESCE

Hi! Is there a function equivalent to SQL's COALESCE? It can be useful, for example, in case you have an aggregate operator (like mean) grouped by time, during which one interval might not have any event, so I would like it to return 0 instead.

Email+ cannot send emails for specific instances

We are using Email+ for email notfiction of warning below issues. IT suddenly started to not to send emails for specific instances. Error log detail: {"@t":"2019-09-25T05:21:25.1615319Z","@mt":"App host failed unexpectedly","@m":"App host failed unexpectedly","@i":"f88472ec","@l":"Fatal","@x":"System.MissingMethodException: Method not found: 'Serilog.Events.LogEvent Serilog.Formatting.Compact.Reader.LogEventReader.ReadFromJObject(Newtonsoft.Json.Linq.JObject)'.\r\n at Seq.Apps.GenericHost.AppHost.ReadSerilogEvent(String clef, String& eventId, UInt32& eventType)\r\n at Seq.Apps.GenericHost.AppHost.<SendTypedEventAsync>d__17.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Seq.Apps.GenericHost.AppHost.<SendAsync>d__16.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Seq.Apps.GenericHost.Program.<Main>d__0.MoveNext()","AppId":"hostedapp-6","AppInstanceId":"appinstance-655"}

top(10) after aggregation

Is there any way to do something like: select mean(ElapsedMilliseconds)/1000 as AverageExecutionTime from stream group by Operation order by AverageExecutionTime desc | head 10 <-- splunk pipe

Upgrade and Migrate

Hi, we have quite old versions of seq running on our test (v3.4.18), acceptance (also v3.4.18) and prod (4.1.17) environments. The test and acceptance environments are still on a Windows Server 2008 R2, the prod environment uses Windows Server 2016 release. This is absolutely not how it should be. But now I want to correct the situation, and put all three environments on similar machines, with upgraded versions of Seq. For test and accceptance, I am fine losing all the data. But production, I want to make sure that the data is preserved. Any specific recommendations for me? Steps I think I would need would be: 1- copy the seq prod environment to a new seq acceptance environment, idem seq test environment 2. then migrate/upgrade test, migrate/upgrade accept, and if all this has worked fine, migrate/upgrate prod Anything you think I should think of? Kind regards, Nancy

Duplicated entries

I am logging events using Seq nlog target via http and also the same events to local json file in corresponding CELF format. After seqcli ingestion of the same file I've got all entries duplicated, but event id @i is the same. How override/skip duplicated ones ? Thanks.

"The app host process is stopped" after restoring from backup

Hello We are moving one of our seq instances to another machine. We did a full setup, backup on old box then restore on new one. All configuration (apparently) restored properly, but we noticed a thing in App's config. We have an Email+ app configured. But in it's status it says "The app host process is stopped". Any hints how to deal with this? Is it something to worry about or it will be working when events will be flowing in? Thanks Val

Renewing license (Kenneth Lassila, Granlund Oy)

Hi. We have Seq Log in use and I used to get reminders for renewing the license. This year I have missed it or never got any reminder. Also I'm not able to log in with my email address. Can you help? We would like to upgrade soon to newest version. Our serial number: SDES-01-C9ZDBDC Br, Kenneth Lassila CTO Granlund Oy

EsentInstanceUnavailableExceptions

Hi, probably related to my issues last week (Bad Signature for Log file discussion 15 Sept), we seem now to be having issues with the Documents database: Users can't login - they successfully authenticate but ESENT error follows: {"@t":"2019-09-15T22:17:32.9250353Z","@mt":"User {Username} in {Domain} logged on and mapped to existing user {UserId}","Username":"xxxxx","Domain":"tpch","UserId":"user-195","Principal":{"Id":"principal-public","OnBehalfOfUserId":null},"ActionId":"2306ae2e-45c7-4fb6-8570-36fcbfacb79c","ActionName":"Seq.Server.Web.Api.UsersController.Login (Seq)","RequestId":"80004166-0000-eb00-b63f-84710c7967bb","RequestPath":"/api/users/login","CorrelationId":null} {"@t":"2019-09-15T22:17:32.9252960Z","@mt":"User {Username} logged in successfully","Username":"xxxxxxxx","Principal":{"Id":"principal-public","OnBehalfOfUserId":null},"ActionId":"2306ae2e-45c7-4fb6-8570-36fcbfacb79c","ActionName":"Seq.Server.Web.Api.UsersController.Login (Seq)","RequestId":"80004166-0000-eb00-b63f-84710c7967bb","RequestPath":"/api/users/login","CorrelationId":null} {"@t":"2019-09-15T22:17:32.9258091Z","@mt":"HTTP {RequestMethod} {RequestPath} responded {StatusCode} in {Elapsed:0.0000} ms","@r":["17.7510"],"@l":"Error","@x":"Microsoft.Isam.Esent.Interop.EsentInstanceUnavailableException: This instance cannot be used because it encountered a fatal error\r\n at Microsoft.Isam.Esent.Interop.Api.JetBeginSession(JET_INSTANCE instance, JET_SESID& sesid, String username, String password)\r\n at Quince.Storage.Esent.EsentDocumentSession..ctor(Instance instance, String path)\r\n at Quince.Storage.Esent.EsentDocumentStore.BeginEsentDocumentSession(String tag)\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 Quince.Caching.CachingDocumentSession.Store(String id, Object document, Boolean lazyFlush)\r\n at Seq.Server.Features.Users.SessionList.StartSession(String userId, TimeSpan expiry, Nullable`1 refreshAtUtc, String refreshToken)\r\n at Seq.Server.Web.Api.UsersController.Login()\r\n at lambda_method(Closure , Object , Object[] )\r\n at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\r\n at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync()\r\n at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync()\r\n at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)\r\n at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync()\r\n at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter()\r\n at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context)\r\n at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync()\r\n at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync()\r\n at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)\r\n at Seq.Server.Web.Middleware.WebSocketAcceptMiddleware.Invoke(HttpContext context)\r\n at Seq.Server.Web.Middleware.RequestAuthenticationMiddleware.Invoke(HttpContext httpContext)\r\n at Seq.Server.Web.Middleware.BrowserSecurityOptionsMiddleware.Invoke(HttpContext context)\r\n at Seq.Server.Web.Middleware.RequestCompletionMiddleware.Invoke(HttpContext httpContext)","RequestMethod":"POST","RequestPath":"/api/users/login","StatusCode":500,"Elapsed":17.75104,"ErrorToken":"4ac23ccd85b846d3ad1453f2e02c8133","RequestProtocol":"HTTP/1.1","RequestHost":"seq.bnc.health.qld.gov.au","RequestHeaders":{"Content-Length":"67","Content-Type":"application/json;charset=UTF-8","User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36"},"SourceContext":"Seq.Server.Web.Middleware.RequestCompletionMiddleware","RequestId":"80004166-0000-eb00-b63f-84710c7967bb","CorrelationId":null} Retention polices fail to apply: {"@t":"2019-09-15T22:37:35.3303340Z","@mt":"Failed to apply retention policy {RetentionPolicyId}","@l":"Error","@x":"Microsoft.Isam.Esent.Interop.EsentInstanceUnavailableException: This instance cannot be used because it encountered a fatal error\r\n at Microsoft.Isam.Esent.Interop.Api.JetBeginSession(JET_INSTANCE instance, JET_SESID& sesid, String username, String password)\r\n at Quince.Storage.Esent.EsentDocumentSession..ctor(Instance instance, String path)\r\n at Quince.Storage.Esent.EsentDocumentStore.BeginEsentDocumentSession(String tag)\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 Quince.Caching.CachingDocumentSession.Store(String id, Object document, Boolean lazyFlush)\r\n at Seq.Server.Data.KeyValueStoreExtensions.Update[TDocument](DocumentSession kvs, TDocument document, Boolean lazyFlush)\r\n at Seq.Server.Features.Retention.RetentionPolicyApplier.ApplyPolicy(RetentionPolicy retentionPolicy, RetentionPolicyBookmark bookmark, IReadOnlyDictionary`2 associatedSignals, CancellationToken cancel)\r\n at Seq.Server.Features.Retention.RetentionPolicyApplier.Apply(CancellationToken cancel)","RetentionPolicyId":"retentionpolicy-555","SourceContext":"Seq.Server.Features.Retention.RetentionPolicyApplier"} And general setting can't be saved, also with ESENT errors.. Any advice? Thanks Steve

ToUpper or ToLower function?

I'm working on setting up a query with a group by, but it turns out the data that I'm grouping by isn't consistent with its case. For example, my query might be something like `select count(*) from stream group by FirstName` but I'm getting duplicates (if you ignore the case) like: "bob" = 30 "Bob" = 45 "sam" = 9 "SAM" = 33 Is there a function that would let me call ToUpperCase or ToLowerCase? ie: `select count(*) from stream group by ToUpper(FirstName)`

Bad signature for a log file

Hi, suddenly getting this error on our Prod instance.. We upgraded this instance from v4 9 days ago, and up till now been running with no issues whatsoever, so can't image that's related? Thanks Steve {"@t":"2019-09-12T06:49:36.1832675Z","@mt":"Seq {SeqVersion} running on OS {OSCaption}","SeqVersion":"5.1.3118","OSCaption":"Microsoft Windows Server 2012 R2 Standard","SourceContext":"Seq.Server.Features.Diagnostics.EnvironmentInformationWriter"} {"@t":"2019-09-12T06:49:36.2576842Z","@mt":"Running in Windows Service host"} {"@t":"2019-09-12T06:49:37.4709946Z","@mt":"Seq listening on {ListenUris}","ListenUris":["http://localhost:5341/"]} {"@t":"2019-09-12T06:49:37.5471337Z","@mt":"Opening document store {DatabasePath}","DatabasePath":"H:\\Seq\\Documents\\default.quince","InstanceName":"Quince","SourceContext":"Quince.Storage.Esent.EsentDocumentStore"} {"@t":"2019-09-12T06:49:37.6518340Z","@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 ---> Bad signature for a log file (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 ---> Bad signature for a log file (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 ---> Bad signature for a log file (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 ---> Bad signature for a log file (See inner exception for details.) ---> Microsoft.Isam.Esent.Interop.EsentBadLogSignatureException: Bad signature for a log file\r\n at Microsoft.Isam.Esent.Interop.Api.JetInit2(JET_INSTANCE& instance, InitGrbit grbit)\r\n at Microsoft.Isam.Esent.Interop.Instance.Init(InitGrbit grbit)\r\n at Quince.Storage.Esent.EsentDocumentStore..ctor(String path, String instanceName)\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":"eb9c8576-fde9-43cb-866f-dfecb84cd265","SourceContext":"Flare.Workers.WorkerPool"}

Setting up Ingestion port (HTTPS) for 5341

Hi guys or Admin, I've read and followed this article about SEQ listening URL and ingestion port. https://docs.datalust.co/docs/urls I've tried to execute these commands (on my localbox) and eventually on the server. seq config -k api.listenUris -v https://localhost:443,https://localhost:5341 seq config -k api.ingestionPort -v 5341 seq restart I've also done a SEQ ssl-bind as per this article https://docs.datalust.co/docs/ssl, and https is working fine with the certifiate What's happening: - Going to browser https://localhost for port 443 works fine, and I also can see logs when the program / app targets this endpoint - When I tried to get the app to target the ingestion port of 5341 (HTTPS), it seems to throws error or it just doesn't log - However when I tried to target the app to log to HTTP (unsecured) port 5341, it works great! I can see the logs in our our dashboard.. How come I cannot get HTTPS on port 5341 (or any other port than 443)? is that not a proper standard? Thanks for helping

Does NLog Seq target support Json layout?

Hello, I am trying to configure NLog to use the Seq target. We use NLog and write to files using the Json layout like so... ``` <target xsi:type="File" name="ELK" fileName="${shortdate}.log"> <layout xsi:type="JsonLayout"> <attribute name="Timestamp" layout="${date:format=yyyy-MM-ddTHH\:mm\:ss.fff}" /> <attribute name="Message" layout="${message}" /> <attribute name="Id" layout="${event-properties:item=EventId.Id}" /> <attribute name="Level" layout="${level}" /> <attribute name="Exception" layout="${exception:format=toString,StackTrace,Data:maxInnerExceptionLevel=5}" /> <attribute name="SourceName" layout="${logger}" /> <attribute name="AuthLogin" encode="false"> <layout xsi:type="JsonLayout"> <attribute name="Url" layout="${aspnet-request-url}" /> <attribute name="Action" layout="${aspnet-mvc-action}" /> </layout> </attribute> <attribute name="AppGlobal" encode="false"> <layout type="JsonLayout"> <attribute name="MachineName" layout="${machinename}" /> <attribute name="SourceContext" layout="${callsite}" /> <attribute name="ThreadId" layout="${threadid}" /> </layout> </attribute> </layout> </target> ``` But when I try this with a Seq target I get the following error in my Nlog error file... ``` nlog.config. ---> System.NotSupportedException: Parameter layout not supported on SeqTarget at NLog.Internal.PropertyHelper.SetPropertyFromString(Object obj, String propertyName, String value, ConfigurationItemFactory configurationItemFactory) at NLog.Config.XmlLoggingConfiguration.SetPropertyFromElement(Object o, NLogXmlElement element) at NLog.Config.XmlLoggingConfiguration.ParseTargetElement(Target target, NLogXmlElement targetElement, Dictionary`2 typeNameToDefaultTargetParameters) at NLog.Config.XmlLoggingConfiguration.ParseTargetsElement(NLogXmlElement targetsElement) at NLog.Config.XmlLoggingConfiguration.ParseNLogElement(NLogXmlElement nlogElement, String filePath, Boolean autoReloadDefault) at NLog.Config.XmlLoggingConfiguration.Initialize(XmlReader reader, String fileName, Boolean ignoreErrors) --- End of inner exception stack trace --- ```

seq日志显示区无法正常显示

No events matched the current filter. If signals are selected, filters on the signals may be excluding events of interest. If a date range is selected, there may not be any matching events in the range

Sharing workspaces, feature request?

Just wondering if there were any plans to make workspaces sharable, the option is there but I just get an error when selecting it, this would be really useful for my team to be able to share a tidy workspace on a per-project basis rather than each person creating the same workspace, Thanks!

Set admin credentials via Environment Variables for Docker deployment

Being able to use seq from a docker container is awesome. I would like to login and use the API from your C# client without actually having to create a user manually first. Is it possible e.g. by setting the admin user password via an environment variable when running the docker container? Thanks, Steven

Autofac.Core.DependencyResolutionException on startup

Hi, I'm running Seq on docker and recently getting an exception on startup. Any ideas? Here are the logs: ──────────────────────────────────────── Seq ♦ Machine data, for humans. ─────────── © 2019 Datalust Pty Ltd ──── Running as server; press Ctrl+C to exit. [18:15:16 INF] Seq "5.1.3118" running on OS "Linux 4.15.0-1055-azure #60-Ubuntu SMP Thu Aug 8 18:29:07 UTC 2019" [18:15:18 INF] Seq listening on ["http://localhost/", "http://localhost:5341/"] [18:15:18 INF] Seq using canonical URI "https://***/" [18:15:18 INF] Opening document store "/data/Documents/documents.lmdb" thread '<unnamed>' panicked at 'assertion failed: self.remaining() >= dst.len()', /rust/cargo/registry/src/github.com-1ecc6299db9ec823/bytes-0.4.12/src/buf/buf.rs:242:9note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace. [18:15:19 INF] Closing document store [18:15:19 ERR] Uncaught exception from worker "Start background processes" ("e9498c73-d8e8-40c5-b7c4-a95f7a1fb282") 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 ---> Flare native storage failed (InternalError), internal panic with 'assertion failed: self.remaining() >= dst.len()' (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 ---> Flare native storage failed (InternalError), internal panic with 'assertion failed: self.remaining() >= dst.len()' (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 ---> Flare native storage failed (InternalError), internal panic with 'assertion failed: self.remaining() >= dst.len()' (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 ---> Flare native storage failed (InternalError), internal panic with 'assertion failed: self.remaining() >= dst.len()' (See inner exception for details.) ---> System.Exception: Flare native storage failed (InternalError), internal panic with 'assertion failed: self.remaining() >= dst.len()' at Flare.Storage.Native.FlareResult.EnsureSuccess() at Flare.Storage.Store.Open(String path) at Flare.Storage.Native.FlareStorageExtent.OpenStore() at Flare.Storage.Native.FlareStorageExtent..ctor(IStorageEngine storageEngine, ExtentRange range, String dataFile) at Flare.Storage.Native.FlareStorageEngine.CreateExtent(ExtentRange range, String dataFile, String instanceName) at Flare.Storage.Extents.ExtentMap..ctor(IStorageEngine[] storageEngines, String extentsPath) at Flare.Events.EventStore..ctor(IStorageEngine[] storageEngines, String extentsPath, WorkerPool workerPool, MemoryThresholds memoryThresholds, BroadcastChannel broadcast, IClock clock) at Seq.Server.SeqServerModule.InitStorageSubsystem(IComponentContext c) at Autofac.Builder.RegistrationBuilder.<>c__DisplayClass0_0`1.<ForDelegate>b__0(IComponentContext c, IEnumerable`1 p) at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget) --- End of inner exception stack trace --- at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget) at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator) at Autofac.Core.Resolving.InstanceLookup.Execute() at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance) at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters) at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context, IEnumerable`1 parameters) at Seq.Server.SeqServerModule.<>c.<Load>b__14_10(IComponentContext c) at Autofac.Builder.RegistrationBuilder.<>c__DisplayClass0_0`1.<ForDelegate>b__0(IComponentContext c, IEnumerable`1 p) at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget) --- End of inner exception stack trace --- at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget) at Autofac.Core.Resolving.InstanceLookup.Execute() at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget) --- End of inner exception stack trace --- at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget) at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator) at Autofac.Core.Resolving.InstanceLookup.Execute() at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget) --- End of inner exception stack trace --- at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget) at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator) at Autofac.Core.Resolving.InstanceLookup.Execute() at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters) at Autofac.Features.LazyDependencies.LazyRegistrationSource.<>c__DisplayClass5_1`1.<CreateLazyRegistration>b__1() at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode) at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor) at System.Lazy`1.CreateValue() at Seq.Server.ServiceProcess.ServerService.<Start>b__13_0(CancellationToken cancel) at Flare.Workers.WorkerPool.<>c__DisplayClass4_0.<Run>g__DoWork|0()