Verified Commit 7cb839a4 authored by tr's avatar tr
Browse files

Switch to json log format

parent f2dff061
Pipeline #6297 passed with stages
in 19 minutes and 23 seconds
...@@ -231,6 +231,10 @@ SecAuditLogParts ABIJDEFHZ ...@@ -231,6 +231,10 @@ SecAuditLogParts ABIJDEFHZ
SecAuditLogType Serial SecAuditLogType Serial
SecAuditLog /var/log/modsecurity/modsec_audit.log SecAuditLog /var/log/modsecurity/modsec_audit.log
# Select the output format of the AuditLogs.
# The format can be either the native AuditLogs format or JSON.
SecAuditLogFormat JSON
# Specify the path for concurrent audit logging. # Specify the path for concurrent audit logging.
SecAuditLogStorageDir /var/log/modsecurity/ SecAuditLogStorageDir /var/log/modsecurity/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment