Skip to content

Don't AuditLog Json format logging to one file in libmodsecurity? #1493

Closed
@truman-test

Description

@truman-test

To save the json format log in libmodsecurity, i know need to set it as follows: SecAuditLogType Parallel
( Parallel configuration is probably the same as setting up Concurrent. )
( https://github.com/SpiderLabs/ModSecurity/wiki/Reference-Manual#secauditlogtype )

However, when I set it to SecAuditLogType: Parallel, SecAuditLogStorageDir setting should be set, so can not logging to one file.

So, I set it to SecAuditLogType: Serial to logging in one file.
Serial can not be saved in Json format. Do you plan to support it?

Source Code: https://github.com/SpiderLabs/ModSecurity/blob/v3/master/src/audit_log/writer/serial.cc

====

owasp-modsecurity/ModSecurity-nginx#47 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions