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:
- Open the Traffic Viewer and select your service
- Apply filters to narrow down the traffic to only the request/response pairs that you want to allow.
- Click the Create Filter button in the top right of the filter section:
- Give the filter a unique ID (no spaces) - make sure to remember it.
- Change the
filterRuleconfigured in your
values.yamlfile 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 upgradecommand for the changes to take effect. You should see
SPEEDSCALE_FILTER_RULEis now properly set on the
speedscale-forwarderconfig map in your cluster.
Remember, if you get stuck you can get help quickly on the Speedscale slack