I have a number of services across servers, each service serves urls like
- /service1/operation1
- /service1/operation2?data
- /service2/path/operation3/data1
- /service2/path/operation3/data2
I need to measure metrics for given service operations, in examples it are: - /service1/operation1
- /service1/operation2
- /service2/path/operation3
So, somehow I need to discard trailing characters. Should I do it with logstash (and how, given the list is intended to change), or in ElasticSearch?