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!
First off, Seq is really awesome! I have been able to accomplish a lot very intuitively and without much hassle at all. The one issue I am running up against is being able to count columns or expressions in an aggregate manner. So count(*) works like a champ. But I am wanting to do count(Yield > 0) or count(Successful) in conjunction with the total count. Even better would be to do a division between these two to see the success rate is in a percentage. I've looked around and the best I can do is a count with a single column, but since they are all non-null (number), I get the same result as a count(*). I'm now wondering if there is some magic that I may be overlooking. :) Thanks in advance for any assistance you can provide.
Posted by Michael DeMond 3 years ago
I have a column that is named "Time", but whenever I try to use it in aggregate query, it seems that Seq thinks I am referencing the built-in method. To start with, when I use it in a query, the field is colored differently than from another field name that is within the stream. For example, using "Value" from the stream is colored black, whereas "Time" is colored as the same color as when I group by "Time(1h)". Additionally, the value returned is always null. Is there a consideration here with using Time as a field name, and/or using TimeSpans as the value type? I am basically running the following query: Select mean(Time) From stream group by time(1d) Thank you in advance for any assistance!
Posted by Michael DeMond 3 years ago
It'd be cool to have desktop notifications (via web workers) when you get an event matching a signal. Then you could sit back with Seq in a tab, and click to jump straight to it when an event you were interested in showed up. It would be most useful in development, for example, use an Exceptions signal, and simulate debugging all your locally running servers at once with stack traces and context.
Posted by Cormac Relf 3 years ago
Hello, I am evaluating Seq in our ASP.NET Core project. I used configuration which you present on your website.Everything works when request started. I would like to log information about errors when application is in startup mode. For example: public void Configure( IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory, IAntiforgery antiforgery) { // nlog config loggerFactory.AddConsole(LogLevel.Warning); loggerFactory.AddDebug(); loggerFactory.AddSeq(Configuration.GetSection("Seq")); //... } Let's say that after adding Seq some exception occur then I would like to have that information in seq logs. Right now it doesn't work. Kind Regards
Posted by Marek Bigaj 3 years ago
Hi, Could you describe us a difference of benefits between: 1. compact: true Seq 3.3 accepts Serilog's more efficient compact JSON format. To use this, configure the sink with compact: true: .WriteTo.Seq("http://localhost:5341", compact: true) https://github.com/serilog/serilog-sinks-seq 2. seq.exe compact https://docs.getseq.net/docs/the-seqexe-command-line Thanks for any suggestions!
Posted by Igor 3 years ago
Usually the way I use logs is I search for an event, then I want to determine what happened immediately before that even to lead up to it. Maybe I'm missing something obvious, but is there a way to jump to a particular point in time directly from a log event? If I search for an event I'm interested in I don't see any way to look at the events right before and after that event except manually putting the start and end time into the date/time boxes and then deleting the search criteria. I would imagine this would be a pretty common use case, so is there a shortcut for this that I have just missed?
Posted by TK 3 years ago
I am trying to filter Devices from something like this: MethodExecutionArgs [{ MethodName: "GetService", Paramters: [{ Name: "TestOne", Devices: [{ DeviceID:"122-45665", DeviceName: "Test Devices", DeviceType: "Test" }] }] }] I can use MethodExecutionArgs.Parameters[?].Name like 'TestOne' to find this record, but when i tried to use MethodExecutionArgs.Parameters[?].Devices[?].DeviceID like '122-45665' I cannot find anything. Is this the correct expression to filter sub collections? Thanks
Posted by Jay Z 3 years ago
The slack notifier works well, but if it is configured to be used on the dashboard alerts, it throws an error. I posted details also on github: https://github.com/bytenik/Seq.App.Slack/issues/14 I hope you someone can help.
Posted by Damiaan 3 years ago
Dear all, We are creating a brand new product based on microservices architecture, and one of the components we are investigating is about how to centralize logs coming from our services (a set of independent DotNet core web api). We land on serilog, really powerful library, but we don't want waste our time on developing also an WEB UI to read log as also to care about on retention policy. What we are looking for is a product like your Seq (or like Splunk, etc.) but one of the business requirements is to be deployable on Docker Container (in real on Swarm as a service). I noticed that your amazing app need .Net Framework and it is not ready to work with .Net Core. So our question is: Are you planning a porting on DotNet Core? In case when you suppose to release?
Posted by Michael Sogos 3 years ago
Hi, I have a property that is a dictionary, like this: dbdata: {INTEGRATIONID: "2453466", INTEGRATIONSTATUSTYPEID: "161001", OMSORDERID: "", STARTEDON: "26.4.2017 13:59:49", COMPLETEDON: "26.4.2017 13:59:49", SERVICENAME: "OrderService", SERVICEMETHODNAME: "getOrders", REQUESTACTION: "", RESPONSEACTION: "", ERRORMSG: "", LOGAPIID: "2453465", SENDTOCDRLOGGER: "26.4.2017 13:59:49"} How can I query for a specific value? dbdata['LOGAPIID'] = "2453465" doesn't seem to work, nor any other permutations that I tried, except dbdata[?]= "2453465"
Posted by Robert 3 years ago
I want to write loglevel into Seq and use config: <target name="seq" xsi:type="Seq" serverUrl="http://11.18.0.11:5241" > <property name="Laeavel" layout="${level}"/> </target> but its dont work. If I write: <target name="seq" xsi:type="Seq" serverUrl="http://11.18.0.11:5241" > </target> Its work. And work this: <target name="seq" xsi:type="Seq" serverUrl="http://10.8.0.1:5341" > <property name="SourceContext" value="${logger}" /> </target> but first case dont work. Why Seq-NLog cant use layout "level"?
Posted by Ivan 3 years ago
I have a job which is run on a schedule several times a day. Most times there is no work for it to do, but it still writes log entries as it runs. All these log entries for a run are tied together with a correlation id. I'm only really interested in these log entries if the job found some work to do *or* an error happened. Is there a way to automatically delete all entries for a given correlation id either based on the fact a "no work found" entry was logged?
Posted by Jim 3 years ago