I am trying to parse the following web server log into certain fields
/BluePortServlets/LoadService/servicepath/test1/test2/test3?serviceId=4403&categoryId=1&t=0.13146932582447225
My pattern is the following
/%{WORD:PATH}/%{WORD:PATH}/%{WORD:PATH} .....
My problem is that since the size and the levels of the path are not fixed i want to have something like a Kleene Star format on top of the pattern. But somehow the Grok Debugger doesn't compile it. Like this i will be able to parse paths with unknown size.
Something like this
[%{WORD:PATH}/]*
The desired result would be
BluePortServlets
LoadService
servicepath
test1
..
testN
Thank you in advance