Elasticsearch pipeline doesn't Catch paths

i'm trying to catch the paths that contains a specified path like path/to/my/url/VARIABLEPART, in the pipeline condition i put ctx.url.path == 'path/to/my/url/*' but unfortunately it takes only the logs that have path/to/my/url/ without considering the other ones with a variable part, there is a wildcard that can help me to catch every path that start with 'path/to/my/url/'?? I have already tried to do ctx.url.path == 'path/to/my/url/*' but without effect. thanks for the help!