Ask a Question
Back to All

Licensing question

Hi, is the license limited in any way to named instances? In other words: Can I install multiple named instances with one license? Do I need an additional license for my staging environment? Thank you Thomas

Reserved word in group by

I have a property named Order on a log. The Order contains several values. I want to group by one of them For example: select count(*) as count from stream where @Properties.Order is not null group by @Properties.Order.Service, time(5m) limit 10000 The query could not be executed. Syntax error (line 5, column 20): unexpected keyword `Order`, expected identifier. I can understand if the query becomes unparsable because of the 'Order' part but how do I escape it? For example: select count(*) as count from stream where @Properties.[Order] is not null group by @Properties.[Order].Service, time(5m) limit 10000 /Peter

Having an issue restoring seq from backup in a Linux container for version 5.1.3118

{"@t":"2020-06-03T03:22:42.7390563Z","@mt":"Storage subsystem available"} {"@t":"2020-06-03T03:22:42.7501890Z","@mt":"Uncaught exception from worker {WorkDescription} ({WorkId})","@l":"Error","@x":"Quince.NotFoundException: A document with id `configuration-current` was not found.\n at Quince.DocumentSession.Load[TDocument](String id)\n at Seq.Server.Features.Settings.SystemSettings.Load()\n at Seq.Server.Features.Settings.SystemSettings.get_ConfigurationDocument()\n at Seq.Server.Features.Settings.SystemSettings.ConsistentRead()\n at Seq.Server.Features.Telemetry.TelemetryController.Start()\n at Seq.Server.ServiceProcess.ServerService.<Start>b__13_0(CancellationToken cancel)\n at Flare.Workers.WorkerPool.<>c__DisplayClass4_0.<Run>g__DoWork|0()","WorkDescription":"Start background processes","WorkId":"8291a162-ef3b-4995-a2e1-7c37cc9fa546","SourceContext":"Flare.Workers.WorkerPool"}

No access to this Seq instance has been granted

I get this when trying to authenticate against Azure AD. Only the one account I setup as admin works, all other AD accounts give this error: "No access to this Seq instance has been granted."

Updating Seq

Good day! Would like to ask what will happen when we install a new Seq build will it delete all the configuration and settings of the currently installed Seq? Since I want to install the 5.1.3364 installer while we previously use 5.1.3118 without impacting our existing configuration.

User types

The documentation says that there are two levels of users, and that any user can save signals and queries. In fact, new users created automatically on sign-in are created as 'read-only' users, and the single user account form shows 3 types of non-administrator user. It took me long to understand that I have to modify the existing users' settings to 'read-write' in order to let them save their signals. This is the first issue I found in this magnificent product and its documetation.

Issues with setting up webhooks, e.g microsoft Teams and email

Please i am currently having issued the apps i installed on SEQ, both email and Teams. i have sent emails with my diagnostic reports to the support team , but no response. Hope to hear from you soon. Regards.

Enable secure flag for cookie name "Seq-Session"

Do we have a command to Enable secure flag for cookie name "Seq-Session", is there a work around on this?

SEQ IIS Manager

Can SEQ be managed in IIS Manager? We have installed Seq in are Windows Server 2012 but it seems every configuration that I do in the server it doesn't take effect, only the seq configuration command line takes effect Sadly the command line does not suffice.

Alert Configuration

i configured in below way SqlQuery : (Last 365 days by week ) select count(*) as count from stream where Contains(@Message,'11007') and Contains(@Message,'Error at Lexis Nexis') and @Level='Error' and @Timestamp >= Datetime('2020-05-27 10:51:36.287') group by time(7d) limit 10000 Note : select GETUTCDATE() - 2020-05-27 10:51:36.287 ( current UTC Date Time) Two Alerts:​ ​ Alert for Error at LexisNexis if Count=3​ - 1 minute (Measurement window) Alert for Error at LexisNexis if Count=20​ - 1 minute (Measurement window) but only one alert is working why ? My requirement is simple error count=3 or count=20 in both the scenarios two alert need to triggered.

Custom Alerts

Good morning. Does Seq have options to customize email alerts?

Professional license + named instances

Hi, We have 1 pro license and 3 seq installations (integration, staging, production). We use these seq installations for multiple applications. We would like to split up seq per application. Can you install multiple named instances (f.e. 5) on 1 server with 1 pro license?

Alert Conditions and Running Sum

We're trying to modify the Email+ alert template to contain a breakdown of errors by type. The query for alert is of the type "select count(*) as count from stream where @Level='Error' group by time(5M)". The alert adds "having count > 500" to this query and triggers email when total errors > 500 in 5 minutes. In the email, if we want to see counts grouped by Exception.Message, it is not possible to do so. We wanted to write a SQL query that has 3 columns - Exception.Message, GroupCount, and TotalCount where GroupCount is count of that particular Exception.Message and TotalCount is the overall count of all errors. This way the trigger can fire on TotalCount but we can still loop through groups and display per group count in the email. Please suggest.

Can I set apikey, user and password inside dockerfile or docker-compose file?

Is it possible to set all this data inside docker-compose file, or create my own dockerfile with enabled basic authentication, defined apikey, user and password? I found this link but solution dosen't work.

Seq on host, application from docker

I am experimenting with docker. What I would like to achieve is to have my local seq used by the application that has been containerised. How should I approach this? When running my sample WebAPI (dotnet core 3.1) on IIS, the logs are sent without any problem. I have my configuration in appSettings.json and load them in Program.cs (seq is at http://localhost:53411). I can see all the events registered. However if I try to run it in docker, I get exception: Exception while emitting periodic batch from Serilog.Sinks.Seq.SeqSink: System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.IO.IOException: The response ended prematurely. My dockerfile: FROM AS base WORKDIR /app EXPOSE 80 EXPOSE 443 EXPOSE 53411 FROM AS build WORKDIR /src COPY ["WebAppDockerLnx.csproj", ""] RUN dotnet restore "./WebAppDockerLnx.csproj" COPY . . WORKDIR "/src/." RUN dotnet build "WebAppDockerLnx.csproj" -c Release -o /app/build FROM build AS publish RUN dotnet publish "WebAppDockerLnx.csproj" -c Release -o /app/publish FROM base AS final WORKDIR /app COPY --from=publish /app/publish . ENTRYPOINT ["dotnet", "WebAppDockerLnx.dll"] The container runs with -P option to publish all exposed ports. I tried explicitly publishing by using -p 53411:53411 but docker was complaining that the port is being used. I also tried running container with --net=host but that did not help either (same exception). I am running a free single developer version.

Getting error in Email Plus

I given below information in email plus version 2.0.92 json : { "From": "[email protected]", "To": "[email protected]", "SubjectTemplate": "Errors at Multifactor Verification Process", "Host": "", "Port": 587, "EnableSsl": "True", "BodyTemplate": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"\">\n<html xmlns=\"\">\n<head>\n <title>{{$Message}} (via Seq)</title>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n</head>\n<body>\n<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" style=\"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:16px;line-height:20px;color:#333;background-color:#fff;\" >\n <tr>\n {{#if_eq $Level \"Fatal\"}}\n <td style=\"text-align:left;color:#fff;padding-top:20px;padding-bottom:20px;padding-right:40px;padding-left:40px;margin:0;background-color:#e03836;\" >\n {{/if_eq}}\n {{#if_eq $Level \"Error\"}}\n <td style=\"text-align:left;color:#fff;padding-top:20px;padding-bottom:20px;padding-right:40px;padding-left:40px;margin:0;background-color:#e03836;\" >\n {{/if_eq}}\n {{#if_eq $Level \"Warning\"}}\n <td style=\"text-align:left;color:#fff;padding-top:20px;padding-bottom:20px;padding-right:40px;padding-left:40px; background-color:#f9c019;\" >\n {{/if_eq}}\n {{#if_eq $Level \"Information\"}}\n <td style=\"text-align:left;color:#fff;padding-top:20px;padding-bottom:20px;padding-right:40px;padding-left:40px;background-color:#0098ff;\" >\n {{/if_eq}}\n {{#if_eq $Level \"Debug\"}}\n <td style=\"text-align:left;color:#fff;padding-top:20px;padding-bottom:20px;padding-right:40px;padding-left:40px;background-color:#aaa;\" >\n {{/if_eq}}\n {{#if_eq $Level \"Verbose\"}}\n <td style=\"text-align:left;color:#fff;padding-top:20px;padding-bottom:20px;padding-right:40px;padding-left:40px;background-color:#aaa;\" >\n {{/if_eq}}\n <div style=\"font-size:32px;line-height:40px;font-weight:bold;\" >{{$Level}}</div>\n <div title=\"{{$UtcTimestamp}}\">{{$LocalTimestamp}}</div>\n </td>\n </tr>\n <tr>\n {{#if_eq $EventType \"$A1E77000\"}}\n <td style=\"text-align:left;padding-top:30px;padding-bottom:40px;padding-right:40px;padding-left:40px;border-left-width:1px;border-left-style:solid;border-left-color:#eee;border-right-width:1px;border-right-style:solid;border-right-color:#eee;\" >\n <div style=\"font-weight:bold;\" >Alert condition <span class=\"seq-condition\" style=\"font-family:monospace;background-color:#fffbdd;\" >{{Condition}}</span> detected on\n <a href=\"{{{DashboardUrl}}}\" style=\"color:#007acc;text-decoration:none;\" >{{DashboardTitle}}/{{ChartTitle}}</a></div>\n <div style=\"font-size:12px;margin-top:20px;\" >\n <a href=\"{{{ResultsUrl}}}\" style=\"color:#007acc;text-decoration:none;\" >Explore detected results in Seq</a> \n </div>\n <div style=\"margin-top:20px;\" >\n <div style=\"margin-top:10px;\" >\n <div style=\"font-family:monospace;font-weight:bold;\" >Query</div>\n <div style=\"font-family:monospace;word-wrap:break-word;white-space:pre;white-space:pre-wrap;\" >{{Query}}</div>\n </div>\n <div style=\"margin-top:10px;\">\n <div style=\"font-family:monospace;font-weight:bold;\">Measurement window</div>\n <div style=\"font-family:monospace;word-wrap:break-word;white-space:pre;white-space:pre-wrap;\">{{MeasurementWindow}}</div>\n </div>\n <div style=\"margin-top:10px;\">\n <div style=\"font-family:monospace;font-weight:bold;\">Suppression time</div>\n <div style=\"font-family:monospace;word-wrap:break-word;white-space:pre;white-space:pre-wrap;\">{{SuppressionTime}}</div>\n </div>\n <div style=\"margin-top:10px;\">\n <div style=\"font-family:monospace;font-weight:bold;\">Detected range start</div>\n <div style=\"font-family:monospace;word-wrap:break-word;white-space:pre;white-space:pre-wrap;\">{{AlertRangeStart}}</div>\n </div>\n <div style=\"margin-top:10px;\" >\n <div style=\"font-family:monospace;font-weight:bold;\" >Detected range end</div>\n <div style=\"font-family:monospace;word-wrap:break-word;white-space:pre;white-space:pre-wrap;\" >{{AlertRangeEnd}}</div>\n </div>\n <div style=\"margin-top:10px;\">\n <div style=\"font-family:monospace;font-weight:bold;\">Signal</div>\n {{#if SignalTitles}} <!-- 4.0 and 4.1 -->\n <div style=\"font-family:monospace;word-wrap:break-word;white-space:pre;white-space:pre-wrap;\">{{pretty SignalTitles}}</div>\n {{else}} <!-- 4.2+ -->\n <div style=\"font-family:monospace;word-wrap:break-word;white-space:pre;white-space:pre-wrap;\">{{pretty SignalExpression}}</div>\n {{/if}}\n </div>\n {{#if OwnerUsername}}\n <div style=\"margin-top:10px;\" >\n <div style=\"font-family:monospace;font-weight:bold;\" >Owner</div>\n <div style=\"font-family:monospace;word-wrap:break-word;white-space:pre;white-space:pre-wrap;\" >{{OwnerUsername}}</div>\n </div>\n {{/if}}\n {{#if Errors}}\n <div style=\"margin-top:10px;\" >\n <div style=\"font-family:monospace;font-weight:bold;\" >Error</div>\n {{#each Errors}}\n <div style=\"overflow:hidden;font-family:monospace;white-space:pre;white-space:pre-wrap;\" >{{this}}</div>\n {{/each}}\n </div>\n {{/if}}\n </div>\n {{#if Results}}\n <div style=\"margin-top:20px;\" > \n <div style=\"font-weight:bold;\" >Results</div>\n {{#each Results}}\n <div style=\"margin-top:10px;\" >\n <div style=\"font-family:monospace;font-weight:bold;\" >{{pretty this.Key}}</div>\n {{#each Slices}}\n <div style=\"font-family:monospace;word-wrap:break-word;white-space:pre;white-space:pre-wrap;\" ><span class=\"seq-slice-start\" style=\"font-weight:bold;\" >{{SliceStart}}</span> {{pretty Rowset}}</div>\n {{/each}}\n </div>\n {{/each}}\n </div>\n {{/if}}\n </td>\n {{else}}\n <td style=\"text-align:left;padding-top:30px;padding-bottom:40px;padding-right:40px;padding-left:40px;border-left-width:1px;border-left-style:solid;border-left-color:#eee;border-right-width:1px;border-right-style:solid;border-right-color:#eee;\" >\n <div style=\"font-weight:bold;\" >{{$Message}}</div>\n <div style=\"font-size:12px;margin-top:20px;\" >\n <a href=\"{{{$ServerUri}}}#/[email protected]%20%3D%20'{{$Id}}'&amp;show=expanded\" style=\"color:#007acc;text-decoration:none;\" >Open this event in Seq</a> \n </div>\n <div style=\"margin-top:20px;\" >\n {{#each $Properties}}\n <div style=\"margin-top:10px;\" >\n <div title=\"{{@key}}\" style=\"font-family:monospace;font-weight:bold;\" >{{@key}}</div>\n <div style=\"font-family:monospace;word-wrap:break-word;white-space:pre;white-space:pre-wrap;\" >{{pretty this}}</div>\n </div>\n {{/each}}\n {{#if $Exception}}\n <div style=\"margin-top:10px;\" >\n <div style=\"font-family:monospace;font-weight:bold;\" >Exception</div>\n <div style=\"overflow:hidden;font-family:monospace;white-space:pre;white-space:pre-wrap;\" >{{$Exception}}</div>\n </div>\n {{/if}}\n </div>\n </td>\n {{/if_eq}}\n </tr>\n <tr>\n <td style=\"text-align:left;padding-top:20px;padding-bottom:20px;padding-right:40px;padding-left:40px;font-size:12px;background-color:#eee;\">\n Sent by Seq installed at <a href='{{{$ServerUri}}}' style=\"color:#007acc;text-decoration:none;\" >{{$ServerUri}}</a>.\n </td>\n </tr>\n</table>\n</body>\n</html>", "SuppressionMinutes": null, "Username": "[email protected]", "Password": "[seq-preserve]" } facing below error Posted by lakshmana about 12 hours ago failure sending mail. ---> unable to connect to the remote server ---> a connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond Thanks Lakshmana

Gwtting error in Email Plus failure sending mail. ---> unable to connect to the remote server ---> a connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

SEQ HSTS question

for Seq Server Configuration is it possible to set the following for the HTTP header response: 1. Modify/Add Content-Security-Policy value 2. Set Cache-Control to "no-store" I have set the correct values in IIS Manager but it doesn't take effect the HTTP Header response

when i want to send the errors to mail through Email+ getting below error

Handlebars.HandlebarsRuntimeException: Template references a helper that is not registered. Could not find helper '#if_eq' at Handlebars.Compiler.HelperFunctionBinder.LateBindHelperExpression(BindingContext context, String helperName, IEnumerable`1 arguments) at lambda_method(Closure , TextWriter , Object ) at Handlebars.Handlebars.HandlebarsEnvironment.<Compile>c__AnonStorey0.<>m__0(Object context) at Seq.App.EmailPlus.EmailReactor.FormatTemplate(Func`2 template, Event`1 evt, Host host) at Seq.App.EmailPlus.EmailReactor.On(Event`1 evt) at Seq.Apps.GenericHost.AppHost.<SendTypedEventAsync>d__17.MoveNext()

Public API for "search"

Hi There, Is there any public API provided by SEQ for "search" functionality. If yes, please do share me the reference link for the same? Thanks Naveen