Ask a Question
Back to All

Interactively building queries... and more.

Interactively building queries Hi... I am just starting to look at Serilog and SEQ. I really like what I see but have only been at it for a few days. I have some basic questions: 1. I see if if I click on the green checkmark next to a property for an event I expanded, the filter is set to that property / data. Say the resulting set of events is still large and I want to filter it down more by selecting some other property and selecting the green tick? Is there a way to "AND" this new filter rather than resetting the filter? I could make a signal but that's a few extra steps for a signal I will likely not use again. 2. I saw in on of the discussion topics mention of using CSS in the Setting > themes (now Settings > Instance > Style Overrides). Do you have documentation on this? I would love to learn more... leading to the next question. 3. This is a stretch question but it can't hurt to ask: Is there any way to highlight an event with color (text or background or dot of whatever) based on a regular expression search of the message or some property? Thanks again for a great looking tool. One last suggestion... since I'm a single user using the free license..maybe a PayPal donation button :) -Ed

Show events when double click aggregated tabular rows

Hi, Would it be possible to double-click on a tabular row to show the events for that row based on its Group column values, the Where section of the query and the date range if applicable? Nick

Reading SEQ Logs from S3 bucket instead of machine (micro-service)

Is it possible to write to an s3 bucket for long term storage and read from that s3 bucket instead of having the data on a machine? I think this would be a great scaleable solution if possible. I love your product but it is really lacking when it comes to long term storage solutions. Any recommendations?

Changing SEQ service to run under domain account - Access Denied

Hello - our SEQ instance runs in Domain A, but authenticates users via LDAP via Domain B Domain Controllers. When trying to change the SEQ service to use a Domain B service account, which will allow the LDAP authentication to occur, we get an "Access Denied" error. Thinking that SEQ is preventing the changing of this. Is there a different way we should be changing the SEQ service logon account?

long term storage

Hello, I'm trying out the trial version of Seq, and liking what I'm seeing so far. But I have a concern regarding long-term storage of log data. My concern is that, for now at least, management has decided not to purge logs for our mobile app. To this point log volume has not been astronomical, (10M in 2.5 years) but I expect the logging to become more verbose as I'm working on improving logging. I expect we'll tune the logging retention policy, but would still expect a large amount of events to be retained forever. I would expect this to look more like 250K events per day by the time I'm done. How does Seq handle long term storage. I know from the performance documentation page that the cache is kept in RAM and then moved to disk. If we have 250GB of data spanning 5 years, will Seq still allow us to effectively query that data? An example would be searching for a value stored as a property of the object. Thanks

Is Windows Server Core supported?

Hello, I wanted to know, if Windows Server [2016, 2019] [Standard, Datacenter] Core Editions are supported for installing seq server. Thank you for your help. Sebastian

Search for events with custom key "Message" and null value

I needed to delete events from our SEQ server in which the value of some key is null. When SEQ creates the message string for such an event, it display the null value as the string "null". However, if I search for that string, SEQ doesn't return such events as hits. To make this even more difficult, the custom name for the key is "Message". I will change this in our application, but I still need to delete all these events that used this as the key. What query can I use to find these events?

Error deleting a user

Hi. I'm having trouble deleting a user from Seq. The log says: { "@t": "2019-02-21T09:47:25.0568213Z", "@mt": "HTTP {RequestMethod} {RequestPath} responded {StatusCode} in {Elapsed:0.0000} ms", "@r": [ "68.2994" ], "@l": "Error", "@x": "System.NullReferenceException: Object reference not set to an instance of an object.\r\n at Seq.Server.Data.Users.Deletions.OwnedItemDeletedPolicy`1.<>c__DisplayClass5_0.<CanDelete>b__1()\r\n at Seq.Server.Web.EntityResourceController`2.RemoveEntity(String id)\r\n at lambda_method(Closure , Object , Object[] )\r\n at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\r\n at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync()\r\n at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync()\r\n at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)\r\n at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync()\r\n at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter()\r\n at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context)\r\n at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync()\r\n at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync()\r\n at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)\r\n at Seq.Server.Web.Middleware.WebSocketAcceptMiddleware.Invoke(HttpContext context)\r\n at Seq.Server.Web.Middleware.RequestAuthenticationMiddleware.Invoke(HttpContext httpContext)\r\n at Seq.Server.Web.Middleware.BrowserSecurityOptionsMiddleware.Invoke(HttpContext context)\r\n at Seq.Server.Web.Middleware.RequestCompletionMiddleware.Invoke(HttpContext httpContext)", "RequestMethod": "DELETE", "RequestPath": "/api/users/user-202", "StatusCode": 500, "Elapsed": 68.2993927999229, "ErrorToken": "0830f7b0b3e14f588ae70565a8157d91", "RequestProtocol": "HTTP/1.1", "RequestHost": "XXXXXXXXXXXXXXXXXXXXXXX", "RequestHeaders": { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36" }, "SourceContext": "Seq.Server.Web.Middleware.RequestCompletionMiddleware", "RequestId": "80000c0f-0000-0700-b63f-84710c7967bb", "CorrelationId": null } The error message on the settings page: Could not save user An unhandeled error occurred while serving the request

How to write a dashboard chart query that filters based on message of an exception

Is it possible to create a chart in a dashboard that has a filters based on the text in the message of an exception? Sometimes my application throws an exception that is caught by some top-level try/catch that creates a log event and includes the exception. If I added the exception's message to the log message, then it would be easy to filter in a chart based on that text. In the "where" text box of the chart, I could put (for example) "@Message = '%null%'" to search for exceptions with a message that said that something was null. However, I would prefer to keep the message of the log as is an access the exceptions message though the exception. Is it possible to do this?

Integrated Windows Authentication link on logon page missing in v5

Hi, We have just updated from v4.1 to v5.0, a heavily used link is now missing on the logon page for Integrated Windows Authentication. Are we missing a configuration setting to enable this or has this been removed? The actual page still exists and allows for integrated authentication. https://hostname/integrated Cheers Dave

Seq Apps can you set minimum sink log level

Hi, Creating an internal Seq App and inside the reactor i can easily call this.Log.Information("blah") to post message back thats viewable in Seq when the app is processing. My question is there a way to configure the minimum log level, so I can have Debug level messages in the Application that will not be sent in normal operation. Cheers Dave

How do I plot boolean values on Dashboard?

Hi, I want to track a few signals on the dashboard. I did a sql query: select @Timestamp, ConnectionWanted from stream where ConnectionWanted and SourceContext = 'Dongle:Port' The result is just a table with two columns; timestamp and a boolean value. I want to plot this on the dashboard but how do I convert a bool to an integer? Best would be for the plot to support boolean (True, False). Regards, Sebastian

Set Caching Headers on Seq UI

Hi Thanks again for a great product. Would it be possible to set caching response headers on the files downloaded from Seq Web UI? For example, the vendor bundle, which is 1MB is downloaded over and over each time you load the app on a new instance of your browser which is slowing down the experience for our remote users. Since the JS files look like they have unique file names for each version. Something like this should do: ``` Cache-Control: public,max-age=31536000 ```


How can I download my receipt for SEQ license? Thank you.

Lost company license

Hi, For some reason our seq server has been restarted and the license is not there anymore. I am not sure where to find the license anymore. Is there an account I can use to get the license again?

Broken Links to Seq Forwarder

On this page [1], both occurrences of the text "Seq Forwarder" include the same link, but this link returns 404. [1]

Indexing on custom dimenstions

Hello! We have pretty large data volume (32mln events a day) and experience problems with searching as far as it takes almost forever even if we try to find smth in a 2-3 hours interval. All events have specific custom fields which are required to be searched by. Is there an option to have indices on custom fields for faster search?

Seq.Api v5.0.0 Default connection.Signals.ListAsync throws exception

I recently upgraded my references to Seq.Api to the latest v5.0.0 build. I found that the following code threw an exception after the upgrade: var signal = connection.Signals.ListAsync().Result.FirstOrDefault(s => s.Title == "UnitTest"); if (signal == null) return; var result = connection.Events.DeleteInSignalAsync( signal ).ConfigureAwait(false).GetAwaiter().GetResult(); The exception said "400 - Only shared or personal signals can be requested." After digging into the git repo for a bit, I saw that an optional shared parameter had been added to ListAsync (defaults to false). When I changed this value to "shared: true" in the call site, the exception went away. I looked at my Seq installation, and it lists the Signal in question as Shared, with no way to enable/disable that. Is there a reason that shared is defaulted to false, if such a value will prevent it from working with normal signals that are added via the WebApi? Please let me know if you need anymore information. Thanks! Aaron

Any plans to add auditing of admin activity and more granular permissions?

We're happy enterprise users of Seq (great tool), but recently have had a few issues where API keys and shared filters have been deleted by admin users between different teams. Currently, there is no audit log available to ascertain who has deleted the entries (accidentally I'm sure), which would at least help us educate users to be more careful. Better still would be adding some fine-grained authorisation mechanism, so that users can be linked to groups, and admin permissions on API keys and shared filters can be set at group level to better protect these resources.

Seq on AKS with AAD

Hi all, I'm trying to setup an Azure Kubernetes deplyoment with a SEQ service, using yaml config file, for example: [...] spec: containers: - name: seq image: datalust/seq:latest ports: - containerPort: 80 env: - name: ACCEPT_EULA value: "Y" It works with no issue, but SEQ is running with basic configuration, especially authentication. What I'm struggling with now, is how to configure SEQ container instance, in the config file, in order to setup AAD authentication. I could create a custom docker file in a private registry, based on datalust/seq and change the way the service is executed there, but I would like to keep it simple if possible. Anyway, even if I would do that, I don't know how to setup AAD using seq.exe command line as it seems it is only configurable once you have your instance up and running, which is in contrast with what I want to do: a complete automated deployment. Would you please advise? Cheers, Claudio