Visualization of parts of URL

How to reopen the closed issue Visualization of parts of URL ?

@jughosta I just saw the reply. How to use the proposed solution to filter parts of the URL and show it in my pie chart? Thanks.

Did you manage to get the script to work for you in a runtime field?

I am noob on this. Please provide more details how to accomplish this. Thanks.

Take a look at Runtime fields | Elasticsearch Guide [8.7] | Elastic and the pages underneath it. You will need to add the field to the index and that'll then show in Kibana.