# Hiding Traffic from Specific Hosts

In some occasions, you would like to temporary hide traffic from specific hosts. With Fiddler Everywhere, you can easily create rules that limit the captured traffic so that you can see and concentrate only on the sessions that matter.

## Creating a "Hide Traffic From Specific Hosts" Rule

This example shows how to create a rule named "Hide Traffic From Specific Hosts" that hides all captured traffic except for traffic generated from the specified host.

Create a "Hide Traffic From Specific Hosts" rule that sets the following matching conditions and actions through the [Rules Builder](https://www.telerik.com/fiddler/fiddler-everywhere/documentation/modify-and-filter-traffic/modify-traffic-with-rules).

1. Create a matching condition that uses the "When **all these conditions** are met **any number of times**" pattern.
2. For the matching condition, match by a **URL** that uses a regular expression for addresses that contain `google.com` and `example.com`.
   ```regex
   google\.com|example\.com
   ```
3. Create a **Do Not Show** action.
   > important The **Do Not Show** action is final. No other action or active rule placed lower in the Rules list will be executed.

This sample Fiddler rule hides all sessions containing `google.com` and `example.com` in their URLs.

![Creating "Hide Traffic From Specific Hosts" rule](https://www.telerik.com/fiddler/fiddler-everywhere/documentation/assets/eff525af48d16f874c3cc065ccf64cec/adv-hide-specific-hosts.png)

Once the rule is created, enable the **Rules** tab, toggle the rule switch, and start capturing traffic.

![Activating the "Hide Traffic From Specific Hosts" rule](https://www.telerik.com/fiddler/fiddler-everywhere/documentation/assets/05623d7b04a4321b4c1ff318eb9c3636/adv-hide-specific-hosts-active.png)

Download a ready-to-use <a href="https://github.com/telerik/fiddler-everywhere/tree/master/rules/hide-specific-hosts" target="_blank">"Hide Traffic From Specific Hosts"</a> rule as a FARX file, which you can import through the **Rules** toolbar.

## See Also

* [Learn more about the Rules functionality in Fiddler Everywhere here...](https://www.telerik.com/fiddler/fiddler-everywhere/documentation/modify-and-filter-traffic/modify-traffic-with-rules)
* [Learn more about all rules presets in Fiddler Everywhere here...](https://www.telerik.com/fiddler/fiddler-everywhere/documentation/rules-presets)
* [Learn more on how to organize your rules here...](https://www.telerik.com/fiddler/fiddler-everywhere/documentation/modify-and-filter-traffic/organizing-rules)
* [Learn more about the matching conditions here...](https://www.telerik.com/fiddler/fiddler-everywhere/documentation/modify-and-filter-traffic/conditions-and-actions#conditions)
* [Learn more about the supported actions here...](https://www.telerik.com/fiddler/fiddler-everywhere/documentation/modify-and-filter-traffic/conditions-and-actions#actions)
* [Learn more about final and non-final rules here...](https://www.telerik.com/fiddler/fiddler-everywhere/documentation/modify-and-filter-traffic/conditions-and-actions#final-and-non-final-actions)
* [Learn more about using breakpoints here...](https://www.telerik.com/fiddler/fiddler-everywhere/documentation/modify-and-filter-traffic/breakpoints)
