Skip to content

Regex rule problem using "start with" #488

Description

@MarcoAzk

Hello everyone
Now i have a rule like this:
{
"Endpoint": "get:/api/v1/rc/*",
"Period": "1m",
"Limit": 10
},
The calls can be something like /api/v1/rc/work_1, /api/v1/rc/work_2, ... /api/v1/rc/work_n and so on.
In this way any request is counted as unique, I need to limit all requests that starts with "work_", somewhat like:
{
"Endpoint": "get:/api/v1/rc/^work_*",
"Period": "1m",
"Limit": 10
},
But this is not working to me.
Is possible? Any suggestion please?

Marco

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions