---
title: "Simple Example | Speedscale Docs"
description: "Configure filters in Speedscale to exclude monitoring calls from AWS ELB and Prometheus for effective traffic replay and API testing."
canonical: "https://docs.speedscale.com/reference/filters/simple-example/"
---

[Documentation index](https://docs.speedscale.com/reference/llms.txt) | [Markdown](https://docs.speedscale.com/reference/filters/simple-example/index.md) | [Canonical page](https://docs.speedscale.com/reference/filters/simple-example/)

# Simple Example

To filter out monitoring calls from AWS ELB and Prometheus requires configuring a filter to exclude any traffic with a `User-Agent` of `ELB-HealthChecker/` or `Prometheus`. As a formula it would look like this:

```text
allow = ["User-Agent" ~= "ELB-HealthChecker/" || "User-Agent" ~= "Prometheus/"]
```

The resulting filter expression would be:

```text
{
    "conditions": [
        {
            "operator": "OR",
            "filters": [
                {
                    "include": true,
                    "operator": "CONTAINS",
                    "header": {
                        "key": "User-Agent",
                        "value": "ELB-HealthChecker/"
                    }
                },
                {
                    "include": true,
                    "operator": "CONTAINS",
                    "header": {
                        "key": "User-Agent",
                        "value": "Prometheus/"
                    }
                },
            ]
        },
    ],
    "operator": "OR",
    "id":"simple-filter"
}
```
