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 2 years 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 2 years 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 2 years 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 2 years ago
As part of a security auditing we are in need of enforcing TLS 1.2 to avoid vulnerability exploits from previous versions. Is there any way to configure this kind of enforcement in SEQ? Reference: https://blog.pcisecuritystandards.org/are-you-ready-for-30-june-2018-sayin-goodbye-to-ssl-early-tls
Posted by Pablo Biasotti 2 years ago
Hi, Would it be possible to add the functionality to allow more than one provisioning rule for more than one AD group. I.E User AD group has one set of permissions, and Admin AD group provisions something else. All access is managed via AD in order for it to be properly audited, currently we have to manually add privileges. I know you can change the new user default permissions but that shifts the problem, rather than solving it. Thanks
Posted by Chriss Barnard 2 years ago
Hi, I get an eventlog message stating Seq could not do or took a long time to process maintenance. Our logging store isn't even 20% of what we need to in the end, so if it is already a concern, how can we speed things up? The machine should be fast enough (storage runs about 150MB/sec) I feel something else is up... Can you give us a bit more insights on the message? The message is: seq (2228) Seq-856c47b15a8144b3b9a791066b1a3b79: Database Maintenance has completed a full pass on database 'C:\ProgramData\Seq\Extents\2018-04-04_2018-04-11\extent.seq'. This pass started on 9/10/2018 and ran for a total of 1461671 seconds (16 days). This database maintenance task exceeded the 7 day maintenance completion threshold. One or more of the following actions should be taken: increase the IO performance/throughput of the volume hosting the database, reduce the database size, and/or reduce non-database maintenance IO. 1280 pages seen
Posted by Danny Pijl 2 years ago
Hi guys, we are loving Seq so far! We have some critical business applications running as Windows services and scheduled tasks which log to Seq. One use case is we would like to create downtime alerts if these systems ever fail to start when they're supposed to. e.g. one service typically runs once per week between 10am and 11am on Wednesday. So we need to be notified if the service does not log anything during this window. We are able to filter by time of day using TimeOfDay easily enough... e.g. Application = 'MyApplication' and TimeOfDay(@Timestamp, 10) >= TimeSpan('10:00') and TimeOfDay(@Timestamp, 10) <= TimeSpan('11:00') ... but we're struggling to also filter by specific day of the week. Any tips would be greatly appreciated! Thanks, Andy
Posted by Andy 2 years ago
I'm trying to get the latest value of my backup log entry. Following this guide: https://blog.getseq.net/latest-value-charts/ I'm getting this error on the dashboard widget: > The query could not be executed. > The `for window()` directive cannot be applied to this query because of embedded temporal clauses. The SQL is: select Last(S3Key) as Last from stream where @EventType = 0xECB23E88 limit 1 This works just fine from the Events page, just not in a Dashboard.
Posted by Andrew Davey 2 years ago
We have installed Seq log on Azure VM and inbound rules on Network settings for that VM is configured to accept the requests URI: https:/domain:5341" We were trying to log the errors on to the server (Azure VM) from On-prem server, initially it was not reachable with 401 and then we configured inbound rules on that VM to open the port 5431 and then we ran to 403 issue. We have set the Source Port ranges to *, still nothing works. Can you please help us on this issue, and any workaround / setting on Azure portal to fix 403
Posted by Sairam B 2 years ago
Hello, does Seq support a UDP interface for accepting log events? Our use case is that we want to send logging data to Seq, but if Seq is down we don't want our production systems to be affected -- we'd rather lose log events in this case. Our specific case would be using the NLog adapter, but I'd also be interested in more general information. I couldn't find anything about it in the documentation, except for a very brief mention on https://blog.getseq.net/serilog-tutorial/. Thanks! Will
Posted by Will 2 years ago
Hi, our employees are interested to use your software to quickly identify and diagnose problems in complex applications and microservices. In order to do so I have to receive an official quote and raise a PO on our system, however in order to do so I need to set you up on our system as a new vendor. Please contact me on my email so I can send you a form for completion. Kind regards Agnieszka
Posted by Agnieszka Kusmirek 2 years ago
We are no longer receiving logs on SEQ since last Friday morning. Two changes occurred at that time.... TLS 1.0 was disabled on all servers. ….. (it is now re-enabled on the SEQ server only) Windows updates were run on all servers. …..(all have been removed on the SEQ server only) Full error: App host failed unexpectedly System.IO.FileLoadException: Could not load file or assembly 'Serilog.Sinks.File, Version=188.8.131.52, Culture=neutral, PublicKeyToken=24c2f752a8e58a10' or one of its dependencies. The media is write protected. (Exception from HRESULT: 0x80070013) File name: 'Serilog.Sinks.File, Version=184.108.40.206, Culture=neutral, PublicKeyToken=24c2f752a8e58a10' at Serilog.Sinks.RollingFile.RollingFileSink.Dispose() at Serilog.LoggerConfiguration.<CreateLogger>b__28_0() at Seq.App.FileArchive.ArchiveWriterReactor.Dispose() at Seq.Apps.GenericHost.Program.<Main>d__0.MoveNext() WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. Do we need TLS 1.0 turned back on for each server from which we are gathering logs? Is there a technical guide to securing the service protocols? Many thanks...we are done.
Posted by Andrea Stub 2 years ago