Filtering in grafana dashboard based on test URL


I am doing different API tests and would like to apply filter on grafana bashboard based on API URL.

My API tests URLs would be as follows.


And I have created two dashboards for the above mentioned API tests metrics, like ABC and DEF. Now, I want to apply filter for these two dashboards metrics.

I am looking for your support to achieve this, as I’m newbie to influx+grafana.