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

Error when starting service after automated deployment

Hey there, I'm trying to automatically deploy seq to a VM using Azure Resource Manager and a powershell script I found and adapted here: Everything appears to install to the correct location, however the service cannot start. Please note that if I navigate to where seq lives and run "seq run" the application appears to start up for the first time correctly. The error I'm getting from the service (found in event viewer) is below: Application: Seq.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.ArgumentException at System.IO.Path.CheckInvalidPathChars(System.String, Boolean) at System.IO.Path.NormalizePath(System.String, Boolean, Int32, Boolean) at System.IO.Path.GetFullPathInternal(System.String) at Seq.Server.Cli.Features.StoragePathFeature.<Enable>b__26_0(System.String) at Seq.Cli.OptionSet+<>c__DisplayClass21_0.<Add>b__0(Seq.Cli.OptionValueCollection) at Seq.Cli.Option.Invoke(Seq.Cli.OptionContext) at Seq.Cli.OptionSet.ParseValue(System.String, Seq.Cli.OptionContext) at Seq.Cli.OptionSet.Parse(System.String, Seq.Cli.OptionContext) at Seq.Cli.OptionSet.Parse(System.Collections.Generic.IEnumerable`1<System.String>) at Seq.Cli.Command.Invoke(System.String[], System.IO.TextWriter, System.IO.TextWriter) at Seq.Server.Program.Main(System.String[]) This leads me to believe there's an invalid path somewhere, but I can't figure out where. When viewing the properties of the service, it has this as the path to executable: "C:\Program Files\Seq\Seq.exe" run --storage="F:\SeqData\" The seq.json file found in F:\SeqData has the following content: { "cache": { "systemRamTarget": 0.9 }, "diagnostics": { "internalLogPath": "C:\\ProgramData\\Seq\\Logs\\", "internalLoggingLevel": "Information" }, "api": { "listenUris": [ "http://localhost:80/" ], "ingestionPort": null, "corsAllowedOrigins": [] }, "storage": { "masterKey": "[removed for this question]" } } Any help would be greatly appreciated :) Cheers, Ben.

Posted by Ben Cull 4 years ago


How to set up a Reverse Proxy on IISv8.5 to expose seq?

I have Seq installed on our AppServer. I need to access the Seq UI over a public domain and am trying to use IISv8.5 to set up a reverse proxy to expose the UI. I currently have a domain already which points to the IP of the app server. I have a wild card cert for * and have added SSL bindings to the domain. I have also installed ARR3.0 and setup the reverse proxy rules: <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="ReverseProxyInboundRule1" stopProcessing="true"> <match url="(.*)" /> <action type="Rewrite" url="{R:1}" /> </rule> </rules> <outboundRules> <rule name="ReverseProxyOutboundRule1" preCondition="ResponseIsHtml1"> <match filterByTags="A, Form, Img" pattern="^http(s)?://*)" /> <action type="Rewrite" value="http{R:1}://{R:2}" /> </rule> <preConditions> <preCondition name="ResponseIsHtml1"> <add input="{RESPONSE_CONTENT_TYPE}" pattern="^text/html" /> </preCondition> </preConditions> </outboundRules> </rewrite> </system.webServer> </configuration> However, I get a 502 error: 502 - Web server received an invalid response while acting as a gateway or proxy server. There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server. Any ideas?

Posted by Wil 4 years ago