Map serivce url to service/operation

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?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.