# Notification is associated with stream not with condition

**URL:** <https://community.graylog.org/t/notification-is-associated-with-stream-not-with-condition/335>\
**Category:** Graylog Central (peer support)\
**Created:** [March 4, 2017, 1:11am UTC](https://community.graylog.org/t/notification-is-associated-with-stream-not-with-condition/335 "2017-03-04T01:11:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryz.namathp](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/ryz.namathp/32/94_2.png) [@ryz.namathp](https://community.graylog.org/u/ryz.namathp)\
**Post date:** [March 4, 2017, 1:11am UTC](https://community.graylog.org/t/notification-is-associated-with-stream-not-with-condition/335/1 "2017-03-04T01:11:20Z")

</div>

Here is my use case

Create one stream with 3 rules, I want to create multiple condition with this stream eg : one with

1st one with “Time Range = 60” and second one is “Time Range = 600” and third one is “Time Range = 3600”,

Also I want to generate e mail with all these 3 condition with different values like send list is diffrent also want to make some changes in URL

As per the current implementation is its not possible since email notification is associated with stream not with condition , only the work around is create mutiple stream and create different condition and diffrent notification, but this is expensive instead of one stream end up creating multiple streams.

Any suggestion and thoughts ?

---

<div class="post-metadata">

**Author:** ![derPhlipsi](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/derphlipsi/32/38_2.png) [@derPhlipsi](https://community.graylog.org/u/derPhlipsi)\
**Post date:** [March 4, 2017, 9:51am UTC](https://community.graylog.org/t/notification-is-associated-with-stream-not-with-condition/335/2 "2017-03-04T09:51:16Z")

</div>

Hey @ryz.namathp,

your question was already asked in

> [@Alert notifications should be bound to alert conditions instead of streams](https://community.graylog.org/t/alert-notifications-should-be-bound-to-alert-conditions-instead-of-streams/101):
>
> Hello, First of all, this new forum looks great! Good job! I have long waited to see the renewed Alerts system in Graylog 2.2.0. I have done an upgrade to my test environment and I have been playing with the new alerts. So my concern is that alert notifications still seem to be bound to streams? I wish they would be bound to alert conditions, so that would allow custom and specific email messages based on the alert condition. For example (not a real-life scenario): There is a stream called S…

So, this will be the answer to your question:

> [@Alert notifications should be bound to alert conditions instead of streams](https://community.graylog.org/t/alert-notifications-should-be-bound-to-alert-conditions-instead-of-streams/101/2):
>
> Hej @hezor you are right, currently your given scenario is not possible. But we already have some feature issues on github that address this: [https://github.com/Graylog2/graylog2-server/issues/3475](https://github.com/Graylog2/graylog2-server/issues/3475) Additional the feature to be able to search on multiple streams with some virtual or meta stream would solve your issue [https://github.com/Graylog2/graylog2-server/issues/3473](https://github.com/Graylog2/graylog2-server/issues/3473) or at least give you an option how to solve this. Please feel free to add your use case to the issues to give them more …

The problem you are displaying is already known and triaged (as seen in the GitHub issue), it will probably be addressed sometime in the future (it is not assigned to a milestone yet).

Greetings - Phil

---

<div class="post-metadata">

**Author:** ![guido](https://avatars.discourse-cdn.com/v4/letter/g/b77776/32.png) [@guido](https://community.graylog.org/u/guido)\
**Post date:** [June 6, 2018, 1:37pm UTC](https://community.graylog.org/t/notification-is-associated-with-stream-not-with-condition/335/3 "2018-06-06T13:37:27Z")

</div>

Hi,  
As you can see alerts notifications are yet associated to Streams. As a workaround I’ve used aggregator plugin that permit to select specific notification defined for a stream. But you must use an old version \< 2.1 because from 2.1 they have integrated the alert notification with native graylog one and so you’ve lost the most interesting option to select specific notification.

cheers
