AntoineGa / Seq.App.Teams

Seq application for Microsoft Teams
MIT License
13 stars 10 forks source link

[RFC] Filter by application #3

Closed ionutvasiliu closed 5 years ago

ionutvasiliu commented 6 years ago

Is there a way that we can send to Teams only the logs of a certain Application?

Let's say we have 2 apps which are writing to the same seq instance: A and B. I would like to configure 2 channels in Teams (channel-A and channel-B) so that all logs from application A are sent to channel-A and all logs from application B are sent to channel-B.

Thanks.

AntoineGa commented 6 years ago

Hi,

If you can have 2 filters, one for each Application logs, i think, that can you can send those logs to 2 differents channels.

AntoineGa commented 6 years ago

Ok, you need to specify only 2 channels or would you rather specify a mapping for an unlimited number of filter / channel ?

ionutvasiliu commented 6 years ago

First of all for the feedback.

Second, to answer you question, ideally I would like to specify in my Teams Seq instance a filter so that only those messages will be sent to my Teams channel. From UI perspective I assume that most probably this can be added here image

AntoineGa commented 6 years ago

I don't get it.

You have 1 Seq instance, and want to map 1 filter to 1 Teams channel twice, am i right ?

How will you specify the mapping between Seq Filter and Teams Channel in the UI ?

ionutvasiliu commented 6 years ago

I have 3 applications A, B and C. All 3 of them are writing logs to one instance of Seq (let's call it S).

I want to get in Teams all logs from A. How do I have to configure you application to achieve this? Thanks.

nblumhardt commented 6 years ago

@ionutvasiliu in Seq, if you create a signal to identify events from A, then you can send only this signal to the app.