Skip to main content

Creating Traffic Filters

Filters can be saved from the traffic viewer and then used to prevent traffic from ever reaching Speedscale. Most users will create filters using this UI. Filter rules are stored in Speedscale cloud and applied by the Speedscale Forwarder. Once a filter is applied to the forwarder, no traffic will leave your network that is prohibited by the filter.

Here's how you apply them:

  1. Open the Traffic Viewer and select your service
  2. Apply filters to narrow down the traffic to only the request/response pairs that you want to allow.

Filters

  1. Click the Create Filter button in the top right of the filter section:

Create Filter

  1. Give the filter a unique ID (no spaces) - make sure to remember it.

Filter Name

  1. Change the filterRule configured in your values.yaml file of the operator helm chart to the filter rule name you entered in step 4. After updating or overriding the value, then run the helm upgrade command for the changes to take effect. You should see SPEEDSCALE_FILTER_RULE is now properly set on the speedscale-forwarder config map in your cluster.

Remember, if you get stuck you can get help quickly on the Speedscale slack