Closed JonnyBooker closed 1 year ago
Hi @JonnyBooker,
The \r
escape sequence isn't supported in Seq's query language strings; I think the best you can do for your filter is to use a regex with the \s
whitespace matcher:
@Message <> /\s/
(Filters use the Seq names for properties like @Message
, rather than the shorthand @m
.)
Let me know if this helps! Nick
@nblumhardt - That makes sense now, thank you for the clarity. I've added the Filter as you've written above and that works great, immediately no more blank logs coming through, much cleaner log history.
Thanks for the help and quick response.
I am currently using Gelf to forward logs from a Gitlab instance I am running under docker. I am running this under Seq itself as a NuGet package with the following settings:
The logs are being received just fine and the docker logging driver looks to be configured correctly, however I am getting some logs where there is no information in them:
Which looks like this when I export as JSON for a "empty" row with a
\r
value in it:I was hoping I could potentially leverage the "filter" field however applying this filter seems to stop logs coming through at all, which I have tried using
<>
and!=
and just=
just in case to try all options:And if I enable diagnostics, I can see the messages still coming in but they don't show in the UI:
Was wondering if could advise on how to filter out these empty logs at all?