integration-docs
Loading

Modsecurity Integration

Stack 9.0.0 Serverless Observability Serverless Security

Version 1.21.1 (View all)
Subscription level
What's this?
Basic
Level of support
What's this?
Community

This integration periodically fetches audit logs from Modsecurity servers. It can parse audit logs created by the HTTP server.

The logs were tested with ModSecurity v3 with nginx connector and ModSecurity v3 with Apache Connector. Change the default ModSecurity logging format to json as per configuration.

SecAuditLogParts ABDEFHIJZ
SecAuditLogType Serial
SecAuditLog /var/log/modsec_audit.json
SecAuditLogFormat JSON
		

Be careful to drop the list of all rules that matched for the transaction (K) in SecAuditLogParts. That part can make raw logs too long to parse.

The Audit Log dataset collects Modsecurity Audit logs.