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.
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.
I have given example for one scenairo, but we have multiple api's and last section of URIPATH is different in length.
Please guide me how to trim URIPATH from end upto '/'