# Are route filters applied as AND or OR?

**URL:** <https://discuss.blues.com/t/are-route-filters-applied-as-and-or-or/2513>\
**Category:** Notehub.io\
**Created:** [December 18, 2024, 10:15am UTC](https://discuss.blues.com/t/are-route-filters-applied-as-and-or-or/2513 "2024-12-18T10:15:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CedricReber](https://avatars.discourse-cdn.com/v4/letter/c/9d8465/32.png) [@CedricReber](https://discuss.blues.com/u/CedricReber)\
**Post date:** [December 18, 2024, 10:15am UTC](https://discuss.blues.com/t/are-route-filters-applied-as-and-or-or/2513/1 "2024-12-18T10:15:02Z")

</div>

When defining a filter for a specific route, do the Selected fleet and Selected notefile filters work as an AND or an OR ?

Imagine I have 2 fleets, **test** and **dev** and a **telemetry.qos** notefile in both.

If I set up a route and filter for the **test** fleet and the **telemetry.qos** notefile, would a telemetry event generated from a device in the dev fleet also trigger the route ?

If so, how would I configure a route to filter on a specific notefile from all device in a specific fleet ?

---

<div class="post-metadata">

**Author:** ![RobLauer](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.blues.com/roblauer/32/1567_2.png) [@RobLauer](https://discuss.blues.com/u/RobLauer)\
**Post date:** [December 18, 2024, 3:14pm UTC](https://discuss.blues.com/t/are-route-filters-applied-as-and-or-or/2513/2 "2024-12-18T15:14:40Z")

</div>

Hi @CedricReber and welcome to the Blues community!

The route filters are `OR` within “Fleets” and within “Notefiles”…and `AND` between the two groups. This probably illustrates it better:

 ![Screenshot 2024-12-18 at 9.11.04 AM](https://us1.discourse-cdn.com/flex020/uploads/blues/original/2X/6/6164813ce6aa6f336376199c358af10f43b85584.png)

> If I set up a route and filter for the **test** fleet and the **telemetry.qos** notefile, would a telemetry event generated from a device in the dev fleet also trigger the route ?

No

Hope that answers your questions but feel free to reply if not!

Rob
