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!
I used the api to back fill old log entries that had only been written to SQL via SeriLog. Worked great! But I realized that i didn't set an important property correctly in all cases when back filling. Is there any way to update existing entries by Id? Or delete and re-add?
Posted by Dan Shand 5 years ago
Hi, the documentation about authentication via Active Directory (http://docs.getseq.net/docs/active-directory) mentions "one domain". Does Seq support authenticating users from several domains of an "AD Forest" (with trust relationship between those domains) ?
Posted by Thibaud Desodt 5 years ago
We are looking at adopting the great seq/serilog logging framework but first want to trial it. I am trying to backfill a few months of error logs into it. How should I pipe them in to best showcase Seq's searching / indexing abilities? They are currently stored in a db table and we have discrete columns for Severity, MachineName, AppDomainName, ThreadId, etc. as well as the Stacktrace and raw Exception Message. Whats the best way to backfill these in? Thanks!
Posted by Nathan 5 years ago
This was previously on the UserVoice site, but that seems to have disappeared. I would like to be able to specify an API key manually. This is because my production & development environments have separate seq servers, and I would like to embed the specific API key into the application and have it be the same on both. This was previously just a "might be nice to have" feature, but now you've introduced remote level control in serilog, this feature suddenly becomes a lot more valuable, so I've reposted it here as a suggestion. My suggestion of how it would work would simply be a checkbox on the new API key form for "generate automatic key", which when unticked allows you to paste in a key generated from another Seq instance.
Posted by Richard Lawley 5 years ago
POST /api/events/raw HTTP/1.1 Host: 192.168.1.54:5341 Cache-Control: no-cache Postman-Token: bed078c3-1e44-d1a3-68c6-2b8ef0a570e1 { "Events": [{ "Timestamp": "2015-05-09T22:09:08.12345+10:00", "Level": "Warning", "MessageTemplate": "Disk space is low on {Drive}", "Properties": { "Drive": "C:", "MachineName": "nblumhardt-rmbp" } }] } [11:22:15 ERR] Error serving http://192.168.1.54:5341/api/events/raw (token: f6f0779c8a294d57bba0653055832155) Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: Для имени "Properties" выполнена привязка к методу. Невозможно использовать его как свойство в CallSite.Target(Closure , CallSite , Object ) в Seq.Server.Storage.StorageEventNormalizer.Normalize(Object evt, ApiKey apiKey, StorageEventCreationData& creationData, String& error) в CallSite.Target(Closure , CallSite , Type , Object , ApiKey , StorageEventCreationData& , String& ) в Seq.Server.Web.Api.Events.RawEventsModule.CreateEventsFromRaw() в Nancy.Routing.Route.<>c__DisplayClass4.<Wrap>b__3(Object parameters, CancellationToken context)
Posted by Oleg Koshevarov 5 years ago
Hello, I am curious about the API key that I have seen in the documentation: http://docs.getseq.net/docs/api-keys Are these keys considered sensitive/security/secret data? It almost seems as if it is OK to check these into code/source control. If this is not the case, it would be great to update the documentation to specify as such, and to protect the data with appropriate means (app.config encryption and/or Azure Key Vault, etc.). Thank you, Michael
Posted by Michael DeMond 5 years ago
What enrichment is available for me to "tag" or otherwise capture information about where a `Log.Information()` is invoked from. Writing it into the message template can't be the way... Log.Information("MyClass.MyMethod: Thing happened") Thanks
Posted by Andrew Bullock 5 years ago
Is it possible to filter logs by relative date, e.g. logs created more than an hour ago, or all logs created yesterday. The documentation only lists date filtering with explicitly created date values, e.g. @Timestamp < DateTime("2014-01-03") I would like tot create a filter with a dynamic date. e.g. @Timestap < DateTime.Now.AddDays(-1)
Posted by Brent 5 years ago
Hi , I using Seq 2.4.2 as single user and it's very good. I have noticed that memory usage is always quite high. On average its around 2.3GB a lot of times its been on 5GB and for a little while it was around 11GB. Is there a way of restricting memory usage. Looking at he stats Rate accepted/arrived (last minute) 701/701 Working set (bytes) 2153771008 Threads 54 User thread pool threads available 32764 IOCP thread pool threads available 998 Memory utilization 44% Free space (bytes) 250435215360 cheers Greg O
Posted by Greg O 5 years ago
We have 3 different azure cloud services, each with 2 vms (so total of 6 servers) that we are using with durable log shipping to log to a Seq server that is hosted on an azure vm. As of 1 day ago, some of the vms within these cloud services just stopped logging. Some other vms continued to work just fine. If I reboot the vm that stopped logging, then it will log fine for a few minutes and then stop again. In addition to that, once the logging stops, there seems to be a slow consumption of memory until the box uses all it's RAM and starts to become unstable - at which point we have to reboot it and restart the cycle. The first thing we've done is upgrade everything to the latest - client side is up to Serilog version 1.5.14 and all of the corresponding "Extras" and "Sinks" are at the most recent version compatible with 1.5.x. Also our Seq server is 2.4.2. We are monitoring to see if this change has any effect on the memory issue. So far, even after the upgrade and reducing the batchPostingLimit to 10, we are still seeing our logging stop after a while (seems to be taking longer than a few minutes now, but eventually it still seems to stop, at least on some servers). I enabled the SelfLog and the error we are seeing is this: 2016-01-26T02:59:41 Exception while emitting periodic batch from Serilog.Sinks.Seq.HttpLogShipper: System.AggregateException: One or more errors occurred. ---> System.Threading.Tasks.TaskCanceledException: A task was canceled. --- End of inner exception stack trace --- at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at Serilog.Sinks.Seq.HttpLogShipper.OnTick() ---> (Inner Exception #0) System.Threading.Tasks.TaskCanceledException: A task was canceled.<--- So, the way I read that error is that the server is too busy to handle it? But that is an unvalidated guess because there is nothing to indicate any sort of problem on the server. Seems to be nothing notable in the Seq server logs. Certainly nothing to indicate that it is failing to handle requests. Also, once this error starts happening, it just keeps happening and the server never starts logging again until it is rebooted or the IIS app is recycled. So that is not very "durable" at all! I'm not quite sure how to figure out what our problem is at this point? It feels like maybe our only option is to stop using durable log shipping, but if we've got a server issue, is that going to help? Need some guidance on how to troubleshoot and understand what the real problem is so we can address it correctly. Thanks
Posted by James 5 years ago
Hi, I've been integrating SEQ into one of our existing projects. I've tested this and found all of the SEQ functionality works as expected on my local build. However, when I deploy the latest version to our live server, I have found that nothing is being reported (which includes logging on application_start). I've checked the live version and everything seems to match my development build (DLLs are present, web.config is set to send SEQ requests to our SEQ server). Are there any common things that can prevent a project from posting to a SEQ server (i.e. missing file/reference ect)? Thanks.
Posted by Adam M 5 years ago
Greetings, I am somewhat new to Azure, but have a pretty good grip on most setup required for a new Virtual Machine. So, I have setup a VM in Azure (Resource Manager; new VM; not classic), added proper Inbound Security Rules for the port, opened the port within Windows on the VM, and installed Seq. So far, I can only get Seq to properly bind and load using localhost:5341. I do have a DNS name setup for my Azure Seq VM - let's say it's my-seq-log.eastus2.cloudapp.azure.com. When installing Seq to listen at this URL, the Seq site never loads but the service will start. I followed Nick's docs exactly. I am not sure what else to do here to get Seq running/listening to the Azure DNS name for my VM. I cannot even access it via the public IP+Port. Any troubleshooting help is appreciated.
Posted by Jesse Beard 5 years ago