seq-input-healthcheck icon indicating copy to clipboard operation
seq-input-healthcheck copied to clipboard

Complex property values from data extraction expressions

Open vlm--- opened this issue 6 years ago • 1 comments

Almost every entry in our Seq server has direct or applied properties like Application, Environment, etc. to allow easy filtering. I think it would be a very nice feature to allow users to set applied properties for app instance (exactly like for API keys). It could be even more powerful when values for these properties could be defined as expression and extracted from every endpoint response.

vlm--- avatar Apr 10 '19 11:04 vlm---

Thanks for the suggestion! This is also being discussed in: https://github.com/datalust/seq-tickets/issues/832 - we're keen to make this kind of thing available to all inputs, so we'll probably aim to do this on the Seq side, rather than directly, here.

Regarding expression-based extraction, though - yes, this would be awesome. Currently, array-literal syntax should support Data values like [DB.status, API.status], but object-literal syntax, if we could add it to the Seq/Serilog.Filters.Expressions languages, would make this much nicer (e.g. {DB: DB.status, API: API.status})....

I'll leave this ticket open to track the expression possibility; the attached properties case is almost orthogonal to it. Thanks!

nblumhardt avatar Apr 10 '19 23:04 nblumhardt

This now works :+1:

nblumhardt avatar Aug 07 '24 04:08 nblumhardt