Use of Modsec variable in apache access log
homesh joshi <[email protected]> Wed, 23 Mar 2022 23:12:58 +0530
| Newsgroups | gmane.comp.apache.mod-security.user |
|---|---|
| Message-ID | <CAAjxK7t_hz6Lp5oQFV_ao=smufy7FmMnypT49rXUTwsSQ89uhw@mail.gmail.com> |
Hi All,
Hope you all are well.
I want to add the modsecurity variable e.g "rule.id"in the apache access
log via the extended format.
I set the following line in /etc/apache2/apache.conf
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"
%{ms}T %p %{Host}i %{UNIQUE_ID}e %{rule.id}e" extended
However I am not getting the rule.id value in the access log line.
Kindly suggest.
Thanks,
Homesh
_______________________________________________
mod-security-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mod-security-users
Commercial ModSecurity Rules and Support from Trustwave's SpiderLabs:
http://www.modsecurity.org/projects/commercial/rules/
http://www.modsecurity.org/projects/commercial/support/