Documentation
DocumentationDiscussions
Documentation
These docs are for v2. Click to read the latest docs for v2024.3.

Signals

Easily save and apply complex filters.

Structured logs are designed for easy filtering and correlation. If you monitor apps in multiple environments for example, you'll pretty quickly turn to structured properties like Environment as a way to distinguish between logs from different locations:

Log.Logger = new LoggerConfiguration()
  .Enrich.WithProperty("Environment", "Production")
  // Other configuration, then...
  .CreateLogger();

When you collect and view these logs with Seq, you might end up writing the filter Environment == "Production" a lot.

1916

Instead of typing this a hundred and twenty times a day, Seq 2 lets you save your filter as a signal. Press the "move to signal" (») button in the filter bar, and one will be created for you:

1916

It's easy to build up more complex filters by adding them to the signal with ».

The various "exclude" options on event properties and types makes it quick to eliminate noise:

1916

Once you've given the signal a name, saved, and closed it, you'll see it in the signal list ready to activate at the click of a mouse:

1916

(Here's where Signals in Seq 2 start to shine - to apply multiple signals like "Production" and "Errors", just click to apply each one, and only events matching all of the applied signals will be displayed.)

Signals are really fundamental to Seq, so busy teams quickly create a lot. To see the list of signals everyone has created, and add them to your own view, use the Create or add signal... link to search the list:

1916