datalust / seq-tickets

Issues, design discussions and feature roadmap for the Seq log server
https://datalust.co/seq
96 stars 5 forks source link

A way to link log data to an external system #2146

Open xt0rted opened 5 months ago

xt0rted commented 5 months ago

We log a lot of Ids without friendly names either because we don't have the name at the time of logging, like at the start of an http request where we only have the route parameter, or because we just don't want to fill Seq with extra data that isn't useful most of the time.

GitHub has the ability to provide an Id format and will then auto link^1 any occurrence of those anywhere they render markdown. This is great when you're using an external ticketing system for example since you only have to put the Id in your comment to get the same auto link behavior issues & PRs have.

It'd be really helpful if we could do something similar with our log data in Seq. I'm envisioning this where you specify a property name such as BusinessId and a url template it should be added to, then an external link icon would shown next to it.

seq mock

This would be incredibly useful for linking to user/business profiles, orders, etc. without the need to copy the Id from the logs and then go search for it elsewhere. Being able to show multiple external links would be even better so we could point to multiple sources for some things.

nblumhardt commented 5 months ago

Nice idea, thanks @xt0rted