Closed jingzhao-self closed 1 year ago
Hello @jingzhao-self ,
WIth ModSecurity v3, there are a few options, one of the simplest is using the DURATION variable. Outputting that value at selected points in your rule set can help narrow down where your most substantial performance issues are.
Another tool (besides the one already mentioned above) that you could consider experimenting with is referenced here: https://github.com/SpiderLabs/ModSecurity/issues/1011#issuecomment-337212177
Hi team, Right now I have some performance issues after modsecurity is on, and don't know how to get process time of modsecurity rules on each http request, is there a way to show it? I have checked $request_time in nginx log but it seems not include modsecurity process time. Thanks