Hi All,
I am new to logstash, I am working on creating visualization of top API based on AWS ELB logs, and i am stucked at this point where i need to trim URIPath.
example request: https://www.google.com/test/v1/api/006b2511-b009-11e8-b30f-0165a332b61d
Actual URIPATH: "/test/v1/api/006b2511-b009-11e8-b30f-0165a332b61d"
I am looking for parsing logic so that after parsing URI path should come like this.
URIPATH: "/test/v1/api"
I have given example for one scenairo, but we have multiple api's and last section of URIPATH is different in length.
For example:
Please guide me how to trim URIPATH from end upto '/'
Regards,
Satish