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!
Seq version: 5.0.2296 NLog version: 4.5.11 NLog.Targets.Seq version: 1.0.0 Hi! I'm using NLog integration, everything works perfect. I'm logging exceptions with this syntax, as explained here: https://github.com/NLog/NLog/wiki/How-to-log-exceptions logger.Error(ex, ex.Message); This causes the full exception showed in Seq dashboard, which is what I needed: https://imgur.com/yuhLqbU Now I want to make sure the inner exceptions to be included in that information, so I wanted to add this Exception layout renderer: ${exception:format=toString,Data:maxInnerExceptionLevel=10} as explained here: https://github.com/NLog/NLog/wiki/Exception-Layout-Renderer In a plain NLog configuration file, I would add that Exception Layout Rendered like this: <targets> <target name="f" type="File" layout="${longdate} ${message} ${exception:format=tostring}"/> </targets> But I have tried adding it to my Seq target tags, and the logs are not written. My actual targets definition is: <targets> <target name="seq" xsi:type="BufferingWrapper" bufferSize="1000" flushTimeout="2000" > <target xsi:type="Seq" serverUrl="http://localhost:5341" apiKey="" > <property name="application" value="${appdomain:format={1\}" /> <property name="class" value="${callsite:className=true:fileName=false:includeSourcePath=false:methodName=false}" /> <property name="method" value="${callsite:className=false:fileName=false:includeSourcePath=false:methodName=true}" /> </target> </target> </targets>
Posted by Carolina about a year ago
FYI, I am getting an error after installing 5.0.2296 on Windows 7 (x64) Seq is unavailable. Failed to initialize storage: Unable to load DLL 'Native\flare.dll' or one of its dependencies: The specified procedure could not be found. (Exception from HRESULT: 0x8007007F)
Posted by Scott M about a year ago
Hi I am running Seq as a Docker Container. If you want to restore from a backup you need the master key. If I attach to the container and run the command seq show-key nothing happens. How can i retrieve my master key? Thanks for the help
Posted by Matteo about a year ago
I get the above error when I run my code. Below is my appsetting.json file and Startup.cs respectively. Even though my seq server is running. Kindly help me resolve it "Seq": { "ApiKey": "1234567890", "LevelOverride": { "Microsoft": "Warning" }, "MinimumLevel": "Trace", "ServerUrl": "http://localhost:5341/" } services.AddLogging(loggingBuilder => { loggingBuilder.AddSeq("Seq"); });
Posted by Dorcas about a year ago
## Background I have a number of queues that I track. I'm trying to set up thresholds for specific outliers that can have large queues. My current Dashboard query is as so: ``` select Top(@Properties.Total, 1) as TotalMessages where Has(@Properties.Name) group by @Properties.Name ``` ## Goal I'm looking to set up an alert that keys on a specific grouping and has a condition similar to: ``` Condition: TotalMessages > 30000 and @Properties.Name like 'my-queue' ``` ## Problem I can't seem to include the grouped property name in the condition Any ideas?
Posted by Kevin Rich about a year ago
Hi, is it possible to have logged text underneath structured data in Seq UI for levels < error? I mean the place, where Seq shows Exception stack trace. That's almost a blocker for us - we'd like to log jsons and SQL queries on DEBUG level, and it's impossible to read it, when it's in the entry header.
Posted by Pawel Karczewski about a year ago
Hi I'm getting unauthorized when installing a package from our VSTS/ADO Nuget Feed. We've tried both the v3 and v2 nuget endpoint (eg https://mydomain.pkgs.visualstudio.com/_packaging/myteam/nuget/v2). Is there a way we may be able to get this working? We use a Personal Access Token (PAT) for authentication to the VSTS feed. In Team City we can authenticate the feed by putting any random username in and the PAT in the password. Via the VSTS REST API we can use Basic auth by base64 encoding a blank username with the PAT (eg base64 ":mypat"). I'm not sure if that's what Seq does but it doesn't allow for an empty username. Thanks Steve
Posted by Steve about a year ago
Hello, I would like not to use the NLog.config file, and instead i would like to config it in the code it self. My goal is to send logs to my local host in the Seq server. The configuration at the NLog.config file is: <?xml version="1.0" encoding="utf-8" ?> <nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.nlog-project.org/schemas/NLog.xsd NLog.xsd" autoReload="true" throwExceptions="false" internalLogLevel="Off" internalLogFile="c:\temp\nlog-internal.log"> <targets> <target name="seq" xsi:type="BufferingWrapper" bufferSize="1000" flushTimeout="2000"> <target xsi:type="Seq" serverUrl="http://localhost:5341" apiKey="" /> </target> </targets> <rules> <logger name="*" minlevel="Info" writeTo="seq" /> </rules> </nlog> Thanks and have a good day.
Posted by Alon Hertzog about a year ago
Hi We are testing SEQ and really like i so far. I have one small problem. We have a few services that are configured to import data at certain times. I would like to be alerted if this process hasn't been started for some reasons. In this case I am not looking for an error, but looking for the absence of a certain event. So I would like to be notified if the event with type ImportingDataSucceeded hasn't been received by SEQ between 1:59 am and 2:01 am each day. Any idea how can achieve this? Thanks in advance Regards Kenneth
Posted by Kenneth about a year ago
If i use Microsoft.Extensions.Logging.ILogger.BeginScope to wrap a series of messages, how can i in seq search for messages inside the scope? For example, seq shows the following property value: Scope ["Processing transfer: 1810121716551221"] I tried several filters to try to search out all messages with the transfer order number but couldn't get any luck. Wondering if this is a supported scenario?
Posted by Nico about a year ago
Recently, we've noticed that our installation of Seq can consume large amounts of RAM. We ran across [this](https://docs.getseq.net/v3/discuss/56b536232d7fc00d0037f494) article. Before we went through the steps outlined in the link above (uninstall, install with ram argument, etc...) I wanted to confirm with you: Does log event data in seq persist during/after an uninstall? i.e. if we uninstall/install to set the RAM limit, will that remove any of the data previously logged to Seq? Thanks
Posted by Aaron Schnarr about a year ago