[mod-security-users] Use of Modsec variable in apache access log
Brought to you by:
victorhora,
zimmerletw
|
From: homesh j. <ho...@gm...> - 2022-03-23 17:43:17
|
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
|