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!
Hi all, Looking to use Seq Enterprise Edition at a client of mine and the purchase just got underway. Very excited! This client has a great CM / DevOps team that's trying to automate a lot of our server setup. I know that we'll want to: * Configure Seq for AD integration * Use a separate data drive to store the log flies * Set Seq retention to be capped at that drive's size (minus a few GB) * Use Puppet to install it if at all possible. What options to we have for unattended or automated installation & configuration via the Seq MSI and/or Puppet? Thanks, Sean
Posted by Sean Killeen 3 years ago
We are using IdentityServer for auth in our other applications. It would be great if we could support Single Sign On in Seq. We use the same server for our external facing users and have a claim that says if a user is an internal staff member. Ideally we could provide the valid endpoint for Auth and the required claims.
Posted by Andrew McClenaghan 3 years ago
Hi, I am attempting to create Signals and Api Keys with an application. I ran into this error that might be due to attempting to do so too fast. 2017-04-15 15:32:25.108 +10:00 [Error] Error serving "http://localhost:5341/api/signals/" (token: "cef93ff4395340b6b06df1dc98ad7834") Microsoft.Isam.Esent.Interop.EsentWriteConflictException: Write lock failed due to outstanding write lock at Microsoft.Isam.Esent.Interop.Api.Check(Int32 err) at Microsoft.Isam.Esent.Interop.Api.JetUpdate(JET_SESID sesid, JET_TABLEID tableid, Byte[] bookmark, Int32 bookmarkSize, Int32& actualBookmarkSize) at Microsoft.Isam.Esent.Interop.Update.Save(Byte[] bookmark, Int32 bookmarkSize, Int32& actualBookmarkSize) at Quince.Documents.DocumentStore.Import(String id, String json, Boolean lazyFlush) at Seq.Server.Data.KeyValueStoreExtensions.Update[TDocument](IDocumentSession kvs, TDocument document, Boolean lazyFlush) at Seq.Server.Web.Api.Signals.SignalsModule.OnCreated(Signal document) at Seq.Server.Web.EntityResourceModule`2.Create() at Nancy.Routing.Route.<>c__DisplayClass4.<Wrap>b__3(Object parameters, CancellationToken context) The client gave this back. Seq.Api.Client.SeqApiException: 500 - An unhandled error occurred while serving the request (token: cef93ff4395340b6b06df1dc98ad7834).
Posted by Andrew McClenaghan 3 years ago
I am getting tons of errors in the ingestion log like below: I've been running seq fine for months. I recently noticed that Seq was dropping some of my log messages, so I started experimenting with the DurableSeq sink, but not sure if that has anything to do with it. Now it doesn't look like my Seq instance can ingest any events. Any ideas on how to remedy? I am running Seq 3.4.20 on Win Server 2016 and I have plenty of free disk space. Thanks. 2017-04-13 17:50:17 Exception raised when writing to event storage Microsoft.Isam.Esent.Interop.EsentVersionStoreOutOfMemoryException: Version store out of memory (cleanup already attempted) at Microsoft.Isam.Esent.Interop.Api.Check(Int32 err) at Microsoft.Isam.Esent.Interop.Api.JetGetTableColumnInfo(JET_SESID sesid, JET_TABLEID tableid, String columnName, JET_COLUMNLIST& columnlist) at Microsoft.Isam.Esent.Interop.Api.GetColumnDictionary(JET_SESID sesid, JET_TABLEID tableid) at Seq.Storage.Isam.SeqDBSession.OpenTable(String tableName, Table& table, IDictionary`2& columns) at Seq.Storage.Isam.EventStoreExtent..ctor(SeqDBSession session) at Seq.Storage.Events.EventStore.Add(StorageEventCreationData[] eventsCreationData, Boolean lazyFlush) at Seq.Server.Web.Api.Events.RawEventsModule.Ingest() 2017-04-13 17:50:21 Exception raised when writing to event storage Microsoft.Isam.Esent.Interop.EsentVersionStoreOutOfMemoryException: Version store out of memory (cleanup already attempted) at Microsoft.Isam.Esent.Interop.Api.Check(Int32 err) at Microsoft.Isam.Esent.Interop.Api.JetGetTableColumnInfo(JET_SESID sesid, JET_TABLEID tableid, String columnName, JET_COLUMNLIST& columnlist) at Microsoft.Isam.Esent.Interop.Api.GetColumnDictionary(JET_SESID sesid, JET_TABLEID tableid) at Seq.Storage.Isam.SeqDBSession.OpenTable(String tableName, Table& table, IDictionary`2& columns) at Seq.Storage.Isam.EventStoreExtent..ctor(SeqDBSession session) at Seq.Storage.Events.EventStore.Add(StorageEventCreationData[] eventsCreationData, Boolean lazyFlush) at Seq.Server.Web.Api.Events.RawEventsModule.Ingest()
Posted by Nicholas P. Nelson 3 years ago
We would like to open up our firewall to allow the incoming log messages from any IP as we keep finding we're missing logs but don't want to open the UI up globally (even though it's locked down by username/password). Is there a way we can move the UI onto another port and have the logger on the standard? Or better yet, lock down the UI to an IP address?
Posted by Tim Gaunt 3 years ago
We generally standardise our automatically added keys, it would be great if you could have an autocomplete on the property key, this would be best if it was restricted to just other API keys but if it has to be all properties that'd still be awesome
Posted by Tim Gaunt 3 years ago
I've got an automated powershell script for returning some information from SEQ events. It's been working fine with Seq 3.4.20 but I'm having a problem this morning I can't figure out. The short question is: I enter a filter in the Seq UI and press enter. I can see the URL in my browser window changes and I see the URL-encoded filter for this particular query. Here's an example: https://some.domain.name/#/events?filter=Id%3D%3D%22dc4c45b9-8d33-4b53-8fe6-ed9c23ebacf7%22%20%26%26%20SOAPResponse%20!%3D%20null Which came from the filter: Id=="dc4c45b9-8d33-4b53-8fe6-ed9c23ebacf7" && SOAPResponse != null In the Seq UI, this returns one row. If I plug that same filter into an API query, I get an empty array: https://some.domain.name/api/events?filter=Id%3D%3D%22dc4c45b9-8d33-4b53-8fe6-ed9c23ebacf7%22%20%26%26%20SOAPResponse%20!%3D%20null As noted earlier, the powershell script that I've been using for months to build this query and pull back information from the API has been working. I don't see anything wrong with the syntax and the fact that the same filter works in the Seq UI has me even more puzzled.
Posted by Patrick Steele 3 years ago
Hello! I want to display the Seq log page in an iframe on my site page. But I got an error in the Chrome console: Refused to display 'http://***seqlog.url***/#/events' in a frame because it set 'X-Frame-Options' to 'deny'. Is it possible to somehow configure X-Frame-Options header so the Seq log site can be displayed inside an iframe? Thanks, Artem
Posted by Artem 3 years ago
I made a huge mistake months ago when setting up Seq to listen on 5341 for https instead of 443. I am finally getting sick of security guys repeatedly blocking outbound tcp 5341 and would like to set things up right by migrating to 443. Unfortunately, migrating all of my apps at once to 443 isn't practical, so I would like to have Seq use SSL on 443 and 5341 while I migrate everything to 443. The seq bind-ssl command help doesn't indicate that you can specify multiple ports and the seq install command help implies that it can listen on multiple URLs, but doesn't specify the syntax for multiple URLs. It just has a single URL sample.
Posted by Nicholas P. Nelson 3 years ago
I have a MVC application that uses Seq. When an exception occurs, I am redirecting it to the seq as an error but it doesn't show the full stack trace which is really hard to understand the exact place of the code that get failed. I am reading seq config from app.config file as follows; <!--Serilog--> <add key="serilog:minimum-level" value="Debug" /> <add key="serilog:using" value="Serilog.Sinks.Seq" /> <add key="serilog:write-to:Seq.serverUrl" value="http://localhost:5342" /> And then ILogger log;= new LoggerConfiguration() .ReadFrom.AppSettings() .CreateLogger(); And then invoke log.Error catch (Exception ex) { log.Error("Error updating student details. StudentId:{0} Message:{1} Trace:{2}", someid, ex.Message, ex.StackTrace); throw ex; } My seq out put as follows, Please note that the full stack trace with line lumbers are missing. 31 Mar 2017 01:31:39.470 Error binding the student model StudentId:0 Message:Value cannot be null. Parameter name: String Trace: at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number,… Id ▾ Level (Error) ▾ Type ($61C10FBB) ▾ Pin ▾ Raw JSON 0 0 1 Value cannot be null. Parameter name: String 2 at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at SchoolAdmin.Web.Helpers.StudentModelBinder.BindModel(ControllerContext controllerContext, ModelBindingContext bindingContext)
Posted by Hasitha Gamage 3 years ago
I am using serilog.sink.seq to push logs into SEQ (3.4.18), in batch mode. Once in a while, SEQ will reject a payload because it is bigger than max size. Whenever this happens, the SEQ UI will not display new incoming logs for 30sec to a few minutes (it seems the bigger the payload, the longer it hangs). While SEQ apparently hangs, I can see that my serilog sink is chugging away, it keeps sending to SEQ without any apparent errors. After the hang period, all logs that have been sent are now seen. Is there a way to avoid that, the issue is that when the rejected paylod is very big, it can take upwards of 5-10minutes for SEQ to "un-hang" - this tends to cause panic amongst people monitoring the logs as it seems like our logging system goes down. Thanks,
Posted by PL Ladouceur 3 years ago
Hi, I've been using seq with a single user with our own domain (http://seq.ourdomain.com) with no problems at all. We recently decided to purchase a licence so we could add more users. After entering the licence whilst accessing seq externally, I got a 404 when trying to add an admin password and when refreshing the page I now get the default IIS welcome page. I can still access it fine on the server it is installed, but anywhere else I get the default IIS page. It's odd because it was working perfectly before adding the licence. Would you be able to help me out on this one as it seems to be quite unexpected behaviour after working so well. Thanks
Posted by Lloyd 3 years ago