YetAnotherGerrit / zammad-macros

Zammad production.log-parser and script generator
GNU Affero General Public License v3.0
1 stars 0 forks source link

Also parse for API-calls without parameter #8

Closed YetAnotherGerrit closed 3 months ago

YetAnotherGerrit commented 3 months ago

When an endpoint is called without a parameter, the REGEX currently does not fetch it.

It should work with something like that: (#\d+-\d+)\] INFO -- : Started (PUT|POST|DELETE|PATCH) "(.*?)".*?(?:\1\] INFO -- : Parameters: ({.*?})$)?.*?\1\] INFO -- : Completed (\d+)

But it doesn't. Further bug fixing needed.