Seq Documentation and Support

Seq Documentation and Support

Welcome to the Seq documentation hub. You'll find comprehensive guides and documentation to help you start working with Seq as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    
Ask A Question

Questions

1

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"}

Posted by nitin 2 months ago

8

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.

Posted by Brian 2 months ago

3

API Keys: Sequence contains more than one matching element

Hello, When going to Settings > API Keys we get the message: Could not load API keys An unhandled error occurred while serving the request Looking trough the SEQ logs we find the following error: System.InvalidOperationException: Sequence contains more than one matching element at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate) at Seq.Server.Features.Inputs.InputApiKeyCache.TryFindPair(String apiKeyId, String& apiKeyToken, InputApiKey& inputApiKey) at Seq.Server.Features.Inputs.InputApiKeyCache.TryFind(ApiKey apiKey, InputApiKey& inputApiKey) at Seq.Server.Web.Api.ApiKeysController.ToEntity(ApiKey document) at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.ToArray() at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) at Seq.Server.Web.Api.ApiKeysController.GetMany(String ownerId) at lambda_method(Closure , Object , Object[] ) at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync() at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync() at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync() at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter() at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context) at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync() at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync() at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext) at Seq.Server.Web.Middleware.WebSocketAcceptMiddleware.Invoke(HttpContext context) at Seq.Server.Web.Middleware.RequestAuthenticationMiddleware.Invoke(HttpContext httpContext) at Seq.Server.Web.Middleware.HstsMiddleware.Invoke(HttpContext context) at Seq.Server.Web.Middleware.BrowserSecurityOptionsMiddleware.Invoke(HttpContext context) at Seq.Server.Web.Middleware.RequestCompletionMiddleware.Invoke(HttpContext httpContext) What might be the cause of this ? We're running version 5.0.2497

Posted by Rogier van der Heide 3 months ago